Cotangent (cot) Calculator

Calculate cot(θ) = cos(θ)/sin(θ) and all related trigonometric functions with step-by-step solutions.

Enter Angle

Result

cot(θ)
--
cotangent
cot(θ) --
tan(θ) --
sin(θ) --
cos(θ) --
sec(θ) --
csc(θ) --
θ in radians --
θ in degrees --

Step-by-Step Solution

cot(θ) = cos(θ) / sin(θ) = 1 / tan(θ)

Understanding the Cotangent Function

The cotangent function, written as cot(θ), is one of the six fundamental trigonometric functions. It is defined as the ratio of the cosine to the sine of an angle, or equivalently, as the reciprocal of the tangent function. In a right triangle, the cotangent of an angle is the ratio of the adjacent side to the opposite side.

The cotangent function is periodic with a period of 180° (π radians), meaning cot(θ + 180°) = cot(θ). Unlike sine and cosine, cotangent has vertical asymptotes where sin(θ) = 0, which occurs at 0°, 180°, 360°, etc.

Cotangent Formulas

Ratio Definition

Cotangent as the ratio of cosine to sine.

cot(θ) = cos(θ) / sin(θ)

Reciprocal Definition

Cotangent as the reciprocal of tangent.

cot(θ) = 1 / tan(θ)

Right Triangle

In a right triangle with angle θ.

cot(θ) = adjacent / opposite

Pythagorean Identity

Relates cotangent and cosecant.

1 + cot²(θ) = csc²(θ)

Cofunction Identity

Cotangent relates to tangent of the complement.

cot(θ) = tan(90° - θ)

Double Angle

Cotangent of double an angle.

cot(2θ) = (cot²θ - 1) / (2 cot θ)

Special Angle Values for Cotangent

cot(30°) = √3

cot(30°) = cos(30°)/sin(30°) = (√3/2)/(1/2) = √3

cot(30°) ≈ 1.7321

cot(45°) = 1

cot(45°) = cos(45°)/sin(45°) = 1. The only angle where cot equals 1.

cot(45°) = 1

cot(60°) = 1/√3

cot(60°) = cos(60°)/sin(60°) = (1/2)/(√3/2) = 1/√3

cot(60°) ≈ 0.5774

cot(90°) = 0

cot(90°) = cos(90°)/sin(90°) = 0/1 = 0

cot(90°) = 0

Properties of the Cotangent Function

  • Domain: All real numbers except multiples of 180° (π), where sin = 0
  • Range: All real numbers (-∞, +∞)
  • Period: 180° (π radians)
  • Odd function: cot(-θ) = -cot(θ)
  • Vertical asymptotes: At θ = nπ (0°, 180°, 360°, ...)
  • Zeros: At θ = π/2 + nπ (90°, 270°, ...)
  • Derivative: d/dθ cot(θ) = -csc²(θ)
  • Integral: ∫ cot(θ) dθ = ln|sin(θ)| + C

Applications of Cotangent

  • Surveying: Calculating horizontal distances from angle of elevation measurements.
  • Physics: The cotangent appears in optics (Brewster's angle), quantum mechanics, and electromagnetic theory.
  • Engineering: Used in structural analysis, particularly in calculating slopes and inclines.
  • Complex analysis: The cotangent function has important properties related to poles and residues.
  • Number theory: The Dedekind sum uses the cotangent function and connects geometry to number theory.

Tips for Working with Cotangent

  • cot(θ) is undefined when sin(θ) = 0 (at 0°, 180°, 360°, etc.).
  • Many calculators do not have a dedicated cot button. Use cot(θ) = 1/tan(θ) or cos(θ)/sin(θ).
  • The sign of cotangent follows the same pattern as tangent: positive in quadrants I and III, negative in quadrants II and IV.
  • To find the arccotangent, use arctan(1/x) with appropriate quadrant adjustment.