How it’s calculated
For an angle θ, place it on the unit circle (a circle of radius 1). The point where the angle's arm meets the circle is (cos θ, sin θ), and the other functions follow from those two numbers:
Where the denominator is zero the function is undefined: tan and sec at 90° and 270°, and csc and cot at 0° and 180° (and every full turn from those). The calculator says “not defined” rather than showing a huge number.
For multiples of 30° and 45° the values have exact forms, shown beside the decimal:
| Angle | sin | cos | tan |
|---|---|---|---|
| 0° | 0 | 1 | 0 |
| 30° | 1/2 | √3/2 | √3/3 |
| 45° | √2/2 | √2/2 | 1 |
| 60° | √3/2 | 1/2 | √3 |
| 90° | 1 | 0 | undefined |
Other quadrants use the same numbers with signs from the unit circle (all positive in quadrant I, only sin in II, only tan in III, only cos in IV).
Inverse functions go the other way: given a ratio, sin⁻¹, cos⁻¹ and tan⁻¹ return the principal value (sin⁻¹ and tan⁻¹ between −90° and 90°, cos⁻¹ between 0° and 180°). Because trig functions repeat, the calculator also lists every angle between 0° and 360° with that ratio.
Example: for 150° the reference angle is 180° − 150° = 30° in quadrant II, so sin 150° = 1/2 = 0.5, cos 150° = −√3/2 ≈ −0.866025 and tan 150° = −√3/3 ≈ −0.57735. Check: cos⁻¹(−0.866025) = 150°.
Frequently asked questions
How do I convert between degrees and radians?
Multiply degrees by π/180 to get radians, or radians by 180/π to get degrees. Choose the unit next to the angle and the calculator does it for you; 180° = π rad ≈ 3.14159 rad.
Why does tan(90°) say undefined?
tan θ = sin θ ÷ cos θ and cos 90° = 0, so the division has no answer. The graph of tan has a vertical asymptote there.
Why does sin⁻¹ give only one answer?
The inverse function returns the principal value so it is a single number. Because sine repeats every 360° (and sin θ = sin(180° − θ)), there are other angles with the same ratio; the calculator lists those in one turn.
What is a gradian?
A gradian (gon) is 1/400 of a full turn, so a right angle is 100 gradians and 360° = 400 gradians.
Embed this calculator
Add this free calculator to your own website. Copy the code below into your page’s HTML:
Need this calculator branded, changed or built around your own prices?See custom business solutions →
Sources
- Algebra and Trigonometry 2e, §7.2 Right Triangle Trigonometry — OpenStax
- Algebra and Trigonometry 2e, §7.3 Unit Circle (exact values, reference angles) — OpenStax
- Algebra and Trigonometry 2e, §7.4 The Other Trigonometric Functions — OpenStax
- Algebra and Trigonometry 2e, §8.3 Inverse Trigonometric Functions — OpenStax
Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.
Added · Last updated · How we check our calculators
Spotted a mistake or missing option? Report a problem· Suggest a calculator