Skip to content
The Calculatorz
Trigonometry

Trigonometry Calculator (sin, cos, tan)

Calculate sine, cosine, tangent, cosecant, secant and cotangent of an angle in degrees, radians or gradians, with exact values for special angles.

Angle

Angle

How to use this calculator

Enter an angle and choose its unit. The calculator gives all six trigonometric functions, the equivalent angle in the other units, the quadrant and the reference angle. For standard angles such as 30°, 45° and 60°, exact values such as √3/2 are shown as well as decimals.

Formula

On the unit circle, a point at angle θ is (cos θ, sin θ). tan θ = sin θ ÷ cos θ, csc θ = 1 ÷ sin θ, sec θ = 1 ÷ cos θ, cot θ = cos θ ÷ sin θ. Degrees to radians: θ × π ÷ 180.

Calculator credits

Calculator developmentJulia Edwards

Editorial supervision

Expert reviewIfrahMSc Mathematics

Published byThe Calculatorz

Last updated

Read how we research, test, review and correct our calculators in our editorial policy.

Frequently asked questions

Why is tan 90° undefined?

tan θ = sin θ ÷ cos θ, and cos 90° = 0, so the division is undefined. The calculator reports it as undefined rather than a huge number.

How do I convert degrees to radians?

Multiply by π/180. 180° = π radians, 90° = π/2 and 45° = π/4.

What is a reference angle?

The acute angle between the terminal side of the angle and the x-axis. Trig values of any angle equal those of its reference angle, with a sign set by the quadrant.

How do I remember which functions are positive?

'All Students Take Calculus': in quadrant I all are positive, in II sine, in III tangent and in IV cosine.

What are csc, sec and cot?

They are the reciprocals of sine, cosine and tangent: csc = 1/sin, sec = 1/cos and cot = 1/tan.

Why are calculator answers slightly off, like 1.2 × 10⁻¹⁶?

Computers store π approximately, so sin 180° comes out as a tiny number instead of 0. This calculator rounds such values to exactly 0.

References & methodology sources

These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.

  1. Abramson, J. (2021). Precalculus 2e. OpenStax. View source
  2. Abramson, J. (2021). College algebra 2e. OpenStax. View source
  3. Olver, F. W. J., Lozier, D. W., Boisvert, R. F., & Clark, C. W. (Eds.). (2024). NIST Digital Library of Mathematical Functions. National Institute of Standards and Technology. View source
  4. International Organization for Standardization. (2019). ISO 80000-2: Quantities and units—Part 2: Mathematics. View source