Cot Calculator - Cotangent of an Angle

Use this free cot calculator to evaluate cotangent for any angle in degrees or radians, with a 1/tan(theta) check and clear handling of undefined points.

Updated: June 16, 2026 • Free Tool

Cot Calculator

Enter the angle in the unit selected below. Cotangent is undefined at multiples of 180 degrees (pi radians).

Choose whether the angle above is in degrees or radians. The calculator converts to radians internally before evaluating tan and cot.

Results

Cot(theta)
0
Tan(theta) 0
1 / tan(theta) check 0
Angle in degrees 0°
Angle in radians 0rad
Quadrant on unit circle 0
Sign of cot 0

What Is a Cot Calculator?

A cot calculator is a trigonometry tool that returns the cotangent of any angle, defined as one divided by tangent. It reads your angle in degrees or radians, evaluates tan(theta) internally, and prints the reciprocal so you can read cot(theta) without manual division.

  • Solving right-triangle ratios: Use the adjacent / opposite side ratio to read a triangle from one side and its adjacent angle.
  • Checking reciprocal identities: Confirm that cot(theta) * tan(theta) = 1 while working through reciprocal-trig problems.
  • Graphing cot(theta): Sample cot across an interval to plot its strictly decreasing branches, which fall from positive infinity to negative infinity between each pair of vertical asymptotes at integer multiples of pi.
  • Working in calculus or physics: Simplify integrals like integral of cot(theta) d(theta) = ln|sin(theta)| + C and surface the asymptote behavior near multiples of pi.

Cotangent is one of three reciprocal trigonometric functions, alongside cosecant (1 over sine) and secant (1 over cosine). Each shares the asymptotes of the function it reciprocates, so cot diverges wherever tangent crosses zero.

In a right triangle, cot(theta) is the side ratio adjacent over opposite. The adjacent leg touches the angle, the opposite leg sits across from it, and the ratio can be any real number, including values between -1 and 1, which cosine and sine also cover.

Cot and csc are both reciprocal trigonometric functions, so the Csc Calculator runs the parallel computation for cosecant, using the same 1/sin(theta) identity to confirm the reciprocal.

How the Cot Calculator Works

The calculator converts your angle to radians, evaluates tan(theta), and returns cot(theta) as the reciprocal. A 1 / tan(theta) check runs on the same value so you can confirm the reciprocal at a glance.

cot(theta) = 1 / tan(theta) = cos(theta) / sin(theta)
  • theta: The angle you entered. The calculator accepts it in degrees or radians and converts to radians before evaluating tan().
  • tan(theta): Tangent of theta in radians. This is the denominator of cot, so it drives the asymptotes wherever tan(theta) crosses zero.
  • cot(theta): The reciprocal 1 / tan(theta). Equal to adjacent / opposite in a right triangle, and undefined wherever tan(theta) is zero.

Near a multiple of pi, tan(theta) shrinks toward zero and the reciprocal grows without bound. The calculator flags those angles as undefined instead of printing a near-infinite number, matching the convention used by Wolfram MathWorld for cotangent.

For any angle where tan(theta) is not zero, cot(theta) equals 1 / tan(theta), so the result should match a hand calculation to the input's precision.

Worked example: cot(45 degrees)

theta = 45 degrees (pi/4 radians)

tan(45 degrees) = 1, so cot(45 degrees) = 1 / 1 = 1

1

Cot(45 degrees) equals 1, matching the adjacent / opposite = 1 / 1 ratio in a 45-45-90 right triangle.

Worked example: cot(30 degrees)

theta = 30 degrees (pi/6 radians)

tan(30 degrees) = 1 / sqrt(3), so cot(30 degrees) = sqrt(3)

1.7320508

Cot(30 degrees) equals sqrt(3) because in a 30-60-90 right triangle, the opposite is one unit and the adjacent is sqrt(3), giving adjacent / opposite = sqrt(3).

According to Wikipedia: Trigonometric functions, cotangent is the reciprocal of the tangent function with the identity cot(x) = cos(x) / sin(x) and period pi radians.

For the third member of the reciprocal trig family, the Sec Calculator evaluates secant as 1/cos(theta) with the same asymptote-aware handling as the cot calculator at multiples of pi.

Key Concepts Explained

Four ideas are enough to read every result the tool gives you.

Reciprocal of tangent

Cot(theta) is defined as 1 / tan(theta), the multiplicative inverse of tangent, so cot(theta) * tan(theta) = 1 wherever both are defined.

Domain and asymptotes

Cot is undefined at integer multiples of pi (0, 180, 360 degrees). The graph has vertical asymptotes at those points and a strictly decreasing branch between every pair of asymptotes, falling from positive infinity on the left to negative infinity on the right.

Side ratio in a right triangle

In a right triangle, cot(theta) = adjacent / opposite. The adjacent leg touches the angle, the opposite leg sits across from it, and the ratio can be any real number.

Period pi (180 degrees)

Cotangent repeats every pi radians or 180 degrees, half the period of tangent. Cot(theta + 180 degrees) equals cot(theta) for any real angle.

Reciprocal functions turn small values into large ones. Near the asymptotes, tan(theta) is near zero, so 1 / tan(theta) blows up, and the calculator surfaces that as undefined.

Cot is odd: cot(-theta) = -cot(theta). That symmetry is why cot(135) and cot(-45) both equal -1: the angles are negatives within a single period.

According to Wikipedia: Cotangent, cotangent has vertical asymptotes at integer multiples of pi because tan(x) crosses zero at those points.

When the problem gives you a slope or an adjacent-over-opposite ratio and asks for the angle, the Arctan Calculator returns the principal angle that produced the tangent value.

How to Use This Cot Calculator

Enter the angle, pick the unit, and read cot, tangent, and the reciprocal check from the results panel.

  1. 1 Pick the unit: Choose degrees or radians. Most pre-calculus problems use degrees; calculus and physics problems usually use radians.
  2. 2 Enter the angle: Type the numeric angle. Use a positive or negative value depending on the quadrant the problem asks about.
  3. 3 Read cot(theta): The primary result equals 1 / tan(theta). The result shows 6 significant digits with automatic handling of large or small magnitudes.
  4. 4 Check the reciprocal: Confirm cot against the 1 / tan(theta) row. The two numbers should match within floating-point precision, catching input typos quickly.
  5. 5 Watch for undefined results: If the angle is a multiple of 180 degrees (or pi radians), the calculator shows an undefined message and explains that tan(theta) was zero.
  6. 6 Switch units if needed: Toggle the unit selector to convert the same angle between degrees and radians and confirm cot returns the same value.

Suppose you need cot(135 degrees) for an identity check. Pick degrees, enter 135, and read -1 from the primary result, since tan(135 degrees) = -1. The 1/tan(theta) check shows -1.000000 to confirm the reciprocal, and the degrees row reads 135.0000 to confirm the input.

For a single calculator that prints sine, cosine, and tangent at the same angle, the Sin Cosine Tangent Calculator covers the direct trig trio; the cot calculator then handles the reciprocal side.

Benefits of This Cot Calculator

These benefits hold whether you are in a classroom tab, a homework study session, or a quick check during code review.

  • Handles degrees and radians: Enter the angle in either unit and the calculator converts to radians internally, avoiding the most common off-by-factor mistakes in trig problems.
  • Built-in reciprocal check: The 1 / tan(theta) row reproduces the cot result from the same angle, self-validating every answer.
  • Asymptote awareness: Angles near multiples of pi are flagged as undefined instead of producing unstable near-infinite values, matching the convention math references use.
  • Reference value friendly: Common textbook angles like 30, 45, 60, and 135 degrees return clean results matching the standard 30-60-90 and 45-45-90 triangle ratios.
  • Compact peer navigation: Links to csc, sec, arctan, the angle converter, and the right triangle calculator keep reciprocal trig work in one place.

The biggest practical win is keeping the unit, the underlying tan, and the asymptote check side by side, so you can read cot(theta) without flipping between a trig table and a unit converter.

When the angle arrived in radians but the problem expects degrees, the Angle Converter reformats the angle without changing the cotangent value.

Factors That Affect Your Results

A handful of factors decide what the result can return. Knowing them up front prevents the most common mistakes.

Tangent at the input angle

Cot(theta) is exactly 1 / tan(theta), so the magnitude of cot is driven entirely by how small tangent is. As tan(theta) approaches zero, cot diverges toward plus or minus infinity.

Quadrant of the input angle

Tangent is positive in Quadrants I and III and negative in II and IV, and because cot(theta) = 1 / tan(theta) the reciprocal keeps the same sign: cot is positive in I and III, negative in II and IV. Entering 135 degrees gives the same cot as -45 degrees because cot(135) = -1 = cot(-45).

Unit of the input angle

Whether the angle is in degrees or radians changes the numeric value but not the cot result, as long as the calculator converts to radians first. Forgetting that step is the most common source of nonsense answers in trig homework.

Floating-point precision near asymptotes

Inputs from intermediate calculations, like 180.0000001 degrees, can have very small tan values. The calculator flags those as undefined rather than printing a near-infinite result that would mislead downstream work.

Period of cot

Cotangent repeats every 180 degrees (pi radians), half the period of tangent. Cot(theta + 180 degrees) equals cot(theta), and Cot(theta + 360 degrees) equals cot(theta) for the same reason.

  • The tool returns the principal real cotangent value. It does not evaluate cot for complex-valued angles, which is rarely what classroom or applied problems need.
  • Floating-point arithmetic means the 1 / tan(theta) check agrees with cot only to roughly 15 significant digits, so treat the check as a sanity check, not an equality test.

To find another angle with the same cot value, add 180 degrees * n for any integer n, since cot has period 180 degrees. Note that cot(theta + 90 degrees) equals -tan(theta) rather than cot(theta), so 90 degrees is not a cot period.

Reciprocal trig functions inherit their parent function's periodicity and asymptote pattern, so cot repeats every 180 degrees and diverges where tangent crosses zero.

According to Wolfram MathWorld: Cotangent, cot(x) is defined for all real x where sin(x) is nonzero and equals the reciprocal of tan(x).

In a right triangle, cot(theta) equals adjacent over opposite, so the Right Triangle Calculator lets you cross-check that ratio against the side lengths and other angles.

cot calculator input box for an angle in degrees or radians, showing cotangent value, tan check, and 1/tan check in the results panel
cot calculator input box for an angle in degrees or radians, showing cotangent value, tan check, and 1/tan check in the results panel

Frequently Asked Questions

Q: What is cot in trigonometry?

A: Cot is short for cotangent, the reciprocal of tangent defined as cot(theta) = 1 / tan(theta) = cos(theta) / sin(theta). The result is a real number for any real angle except integer multiples of pi, where tan(theta) crosses zero and the reciprocal would divide by zero.

Q: How do you calculate cot of an angle?

A: Compute tan of the angle in radians and take the reciprocal. For example, tan(45 degrees) = 1, so cot(45 degrees) = 1 / 1 = 1. The tool does this automatically for any angle in degrees or radians and prints a 1 / tan(theta) check row.

Q: When is cot undefined?

A: Cot is undefined whenever tan(theta) = 0, which happens at every multiple of 180 degrees (0, 180, 360 degrees, and so on). At those points the reciprocal would divide by zero, so the result is shown as undefined with a short reason.

Q: What is cot of 45 degrees?

A: Cot(45 degrees) is exactly 1. The underlying value is tan(45 degrees) = 1, so 1 / 1 = 1, which is also the adjacent-over-opposite ratio of a 45-45-90 right triangle because both legs are the same length.

Q: Is cot the same as 1 over tan?

A: Yes. Cot(theta) is defined as 1 / tan(theta) wherever tan(theta) is nonzero, so cot and 1 over tan give the same number. Arctan is a different function: it is the inverse of tan, not its reciprocal.

Q: How do I convert between degrees and radians for cot?

A: Multiply degrees by pi/180 to get radians, or multiply radians by 180/pi to get degrees. The unit conversion happens internally when you switch the unit selector, so the same angle gives the same cot value in either unit.