How to calculate sine, cosine and tangent
Enter an angle in degrees or radians — the calculator gives all six trigonometric functions. In a right triangle, sine is the opposite side over the hypotenuse, cosine the adjacent side over the hypotenuse, and tangent = sine ÷ cosine.
| Angle | sin | cos | tan |
|---|---|---|---|
| 0° | 0 | 1 | 0 |
| 30° | 1/2 = 0.5 | √3/2 ≈ 0.866 | √3/3 ≈ 0.577 |
| 45° | √2/2 ≈ 0.707 | √2/2 ≈ 0.707 | 1 |
| 60° | √3/2 ≈ 0.866 | 1/2 = 0.5 | √3 ≈ 1.732 |
| 90° | 1 | 0 | undefined |
Inverse functions — angle from a value
In “Angle from a value” mode you enter a function’s value and get the angle: arcsin 0.5 = 30°, arctan 1 = 45°. Inverse functions return the principal angle (arcsin: −90° to 90°, arccos: 0° to 180°), and arcsin and arccos only exist for values from −1 to 1.
Where it’s useful
- Roof or ramp angles: tangent = rise ÷ run. A 1:12 slope is arctan(1/12) ≈ 4.76°.
- Height of a tree or building from a distance and an angle: h = distance × tan(angle).
- Physics and engineering — resolving forces, oscillations, waves.
Frequently asked questions
Why is tan 90° undefined?
Because cos 90° = 0, and tangent is sine divided by cosine — you can’t divide by zero.
How do I convert degrees to radians?
Multiply by π and divide by 180: 30° = π/6 ≈ 0.5236 rad. The calculator shows it below the results.