Mathematics calculator

Cotangent Calculator

Calculate the reciprocal of tangent for an angle entered in degrees.

Calculator inputs

Enter your values

Reciprocal trigonometry

Cotangent is undefined at every multiple of 180°. Reduce large rotations before calculation: the current numerical zero check can miss exact singularities at large angles.

°
Calculated output

Result summary

Your result will appear here

Complete the required fields and select the calculate button.

What Is Cotangent?

The cotangent calculator finds cot(θ) for an angle entered in degrees. Cotangent compares the adjacent side with the opposite side in a right triangle. More generally, it is cosine divided by sine, so it can also describe negative angles and angles beyond a complete turn.

Enter a numeric angle to see the cotangent, its normalized degree angle and its radian equivalent. The answer is a ratio with no unit. This tool evaluates a known angle; it does not find an angle from a cotangent value or solve a triangle from side lengths.

How to Calculate Cotangent in Degrees

  1. Enter your angle in Angle in degrees. For a radian angle, convert it to degrees first; π/6 radians means 30 degrees.
  2. Select Calculate. The accepted input range is −1,000,000,000 through 1,000,000,000 degrees. Do not type a degree symbol or an expression such as π/6 into the numeric field.
  3. Read the featured cotangent value, rounded to six decimal places. Review the normalized angle and radians to confirm the intended turn.
  4. Check undefined angles before using the result. Cotangent has no value at any integer multiple of 180 degrees.

The implementation converts the original degree input to radians, evaluates tangent and takes its reciprocal. It rejects a tangent magnitude below 10⁻¹². This numerical test is not a perfect mathematical domain check: it may reject a valid angle extremely close to a singularity, and large rotations can produce a misleading finite answer at an exact singularity. Reduce large angles first and check multiples of 180 degrees yourself.

Cotangent Formula and Undefined Angles

Radians r = θ × π ÷ 180

cot(θ) = cos(θ) ÷ sin(θ), with sin(θ) ≠ 0

cot(θ) = 1 ÷ tan(θ), wherever tan(θ) is defined and nonzero

cot(θ + 180°) = cot(θ)

At 90 degrees, sine equals 1 and cosine equals 0, so cotangent equals 0. The reciprocal-of-tangent expression alone does not apply there because tangent is undefined. The calculator returns the correct rounded cotangent zero, but its tangent reference card can contain a very large finite number from numerical approximation. Do not treat that number as the mathematical value of tan(90°).

For an acute angle in a right triangle, cotangent equals adjacent side ÷ opposite side. Both sides must use the same unit. The general sine/cosine definition explains why the ratio can be negative outside that triangle setting.

Reference: OpenStax: Other Trigonometric Functions. Definitions and domains of tangent and cotangent, reference angles and reciprocal relationships. Input limits, rounding rules and interface behavior described here come from this calculator’s implementation.

Angle Input and Cotangent Results

Angle in degrees θ
Signed numeric angle. Negative angles turn clockwise in the usual coordinate convention.
Cotangent value
Featured ratio rounded to six decimals. It is undefined when sine is zero.
Normalized angle
Equivalent angle in one 0° to less than 360° rotation, rounded to ten decimals. Cotangent itself repeats every 180°.
Angle in radians r
Original degree input multiplied by π/180, rounded to ten decimals. It may include several full turns.
Tangent reference
Numerical tangent of the original angle, rounded to ten decimals. At odd multiples of 90° the mathematical tangent is undefined even if this card shows a large number.
Identity
Reciprocal relation used by the implementation, subject to the mathematical domain restrictions above.

Cotangent Worked Example

Illustrative example. Evaluate cot(150°). The reference angle is 30°, and 150° lies in quadrant II, where sine is positive and cosine is negative.

Use sin(150°) = 1/2 and cos(150°) = −√3/2. Divide to obtain cot(150°) = −√3 ≈ −1.732051.

As an independent reciprocal check, tan(150°) = −1/√3, so its reciprocal is −√3. The radian input is 5π/6 ≈ 2.617993878. The normalized degree angle remains 150°.

Calculation check. These illustrative values were checked independently against the formula and calculator response. Retain unrounded intermediate values when checking approximations.

Cotangent Worked Example
QuantityValue
Angle150°
Radians5π/6 ≈ 2.617993878
Sine; cosine1/2; −√3/2
Exact cotangent−√3
Displayed cotangent−1.732051

Cotangent Values and Quadrant Signs

The table separates exact values from numerical approximations. Cotangent repeats after 180°, so 30° and 210° have the same value even though their sine and cosine signs differ.

At multiples of 180° the denominator sine is zero. At odd multiples of 90°, cotangent is zero while tangent is undefined. These two cases are easy to confuse when using a reciprocal shortcut.

Cotangent Values and Quadrant Signs
AngleExact cotangentRounded value or domain
0°UndefinedNo finite value
30°√31.732051
45°11
90°00; tangent undefined
150°−√3−1.732051
180°UndefinedNo finite value
210°√31.732051

How to Read a Cotangent Value

A positive cotangent means sine and cosine have the same sign. A negative cotangent means their signs differ. For an acute triangle angle, a value greater than 1 means the adjacent side is longer than the opposite side; a value below 1 means it is shorter.

A zero result needs context. Cotangent is exactly zero at 90° plus an integer multiple of 180°. A very small nonzero result may also round to zero at six decimals. A large magnitude usually means the angle lies close to a multiple of 180°, where a small angle change can cause a large ratio change.

If the form reports an error after a successful calculation, older result cards may remain visible. Those cards belong to the last successful input. Resolve the error or reset the form before treating them as the current answer.

Common Cotangent Mistakes

  • Entering radians as if they were degrees.
  • Confusing cotangent with inverse tangent: 1/tan(θ) and arctan(θ) are different operations.
  • Assigning a finite value to cot(0°), cot(180°) or another multiple of 180°.
  • Assuming the tangent reference at 90° is a defined finite value.
  • Using a huge rotation without checking its reduced angle and mathematical domain.
  • Treating a rounded decimal as an exact fraction or radical.

Frequently Asked Questions

How do I calculate cotangent without a cot button?

For an angle where tangent exists and is nonzero, divide 1 by tan(θ). More generally, divide cos(θ) by sin(θ). Set a separate calculator to degrees when checking an angle from this form.

When is cotangent undefined?

Cotangent is undefined at θ = 180° × m for any integer m, including 0°, 180° and −180°. At these angles sine is zero, so the cosine-to-sine ratio has a zero denominator.

What is cotangent of 90 degrees?

cot(90°) = 0 because cos(90°) = 0 and sin(90°) = 1. Tangent at 90° is undefined; the reciprocal-of-tangent shortcut cannot be evaluated there as ordinary finite arithmetic.

Is cotangent the same as inverse tangent?

No. Cotangent is a trigonometric ratio. Inverse tangent, usually written arctan, finds an angle from a tangent value. The notation tan⁻¹ usually means the inverse function, not the reciprocal.

Can I enter radians in this calculator?

No. The numeric field expects degrees. Multiply a radian angle by 180/π before entering it. For example, π/4 radians becomes 45 degrees and has cotangent 1.

Can cotangent be negative?

Yes. Cotangent is negative when sine and cosine have opposite signs, in quadrants II and IV. For example, cot(150°) = −√3.

Why can cotangent become very large?

Near a multiple of 180°, sine is very small while cosine is near 1 or −1. Their ratio can have a large magnitude. Exactly at the multiple, the result is undefined rather than a finite large value.

Why should I reduce a large angle first?

The implementation evaluates tangent using the original large radian value. Numerical error can let an exact singular angle pass its zero check. Reduce modulo 180° and reject multiples of 180° before trusting the displayed result.

Sources and References