Trigonometry calculator

MA-17Math

Calculate sine, cosine, tangent and cotangent of an angle, or the angle from a value — in degrees or radians.

What to calculate
Angle unit
cos
0.8660254038
tan
0.5773502692
cot
1.7320508076
sec
1.1547005384
csc
2
In radians
0.52359878 rad

Last updated: October 2026 · Report a calculation error

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.

Anglesincostan
0°010
30°1/2 = 0.5√3/2 ≈ 0.866√3/3 ≈ 0.577
45°√2/2 ≈ 0.707√2/2 ≈ 0.7071
60°√3/2 ≈ 0.8661/2 = 0.5√3 ≈ 1.732
90°10undefined

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.

See alsoWhole category

  1. MA-01Percentage calculatorFind X% of a number, what percent one number is of another and percentage change.
  2. MA-02Root and exponent calculatorCalculate the n-th root or any power of a number.
  3. MA-03Fraction calculatorAdd, subtract, multiply and divide fractions with automatic simplification.
  4. MA-04Number base converterConvert numbers between decimal, binary, octal and hexadecimal.