Advertisement

Cotangent calculator

Evaluate cotangent from an angle or recover an angle from its value. Compare its standard values, zeros and asymptotes with tangent.

Calculator

Cotangent of θ
1.7320508075688776
Angle θ (principal angle in value mode)
30
Period of the basic function
180
Range
All real numbers
Angle domain
θ ≠ kπ
Zeros (k is any integer)
θ = π/2 + kπ
Vertical asymptotes
θ = kπ
Standard cotangent values for graphing
Angle (degrees)Cotangent
0.00000000Undefined
30.000000001.73205081
45.000000001.00000000
60.000000000.57735027
90.000000000.00000000
120.00000000-0.57735027
135.00000000-1.00000000
150.00000000-1.73205081
180.00000000Undefined
210.000000001.73205081
225.000000001.00000000
240.000000000.57735027
270.00000000-0.00000000
300.00000000-0.57735027
315.00000000-1.00000000
330.00000000-1.73205081
360.00000000Undefined

Advertisement

How this calculator works

Cotangent divides the horizontal coordinate by the vertical coordinate. Its graph decreases between consecutive multiples of 180°, where sine is zero and vertical asymptotes occur. At 90° cosine is zero but sine is one, giving a valid zero. Using cos θ/sin θ directly handles this case better than trying to invert an undefined tangent. There is no finite amplitude. Ratio mode uses arccotangent on (0°, 180°), including obtuse results for negative inputs.

Formula

cot θ=cos θ/sin θ=adjacent/opposite; cot(θ+π)=cot θ; cot(-θ)=-cot θ. cot 90°=0 even though tan 90° is undefined.

Worked example

cot 45°=1 and cot 30°=√3. A cotangent of -1 corresponds to 135° under the chosen branch. At 90° cotangent is zero.

Advertisement

Frequently asked questions

Why is cot 90° defined?

Its denominator is sin 90°=1 and its numerator is cos 90°=0, so the quotient is zero.

Is cotangent always 1/tangent?

Where both expressions are defined, yes. The cosine-over-sine definition also defines cotangent at angles where tangent is undefined.

Which inverse convention is used?

Arccotangent returns an angle strictly between 0° and 180°. Some software uses another convention for negative inputs.

Sources

Advertisement