Trigonometry Calculator

  • Tested against OpenStax's examples and 1,600 values worked out to 60 digits in a separate Python program
  • Checked by Wayne Bickerton
  • Sources: OpenStax Precalculus 2e
  • Updated November 11, 2026

On a circle of radius 1, an angle reaches the point (cos θ, sin θ), and tan θ is sin θ ÷ cos θ. Pick a trigonometry function, choose degrees or radians, and type the angle. You get the sine, cosine or tangent (and the other three: cosecant, secant and cotangent), with exact values like √3/2 for angles such as 30°, 45° and 60°. To go the other way, from a ratio back to the angle, pick sin⁻¹, cos⁻¹ or tan⁻¹ and type the ratio. In radians you can type π, like π/6.

For sin⁻¹, cos⁻¹ and tan⁻¹, type the ratio (like 0.5); the answer is the angle.

Sine
0.5 Exact: 1/2

sin(30°) is 0.5, exactly 1/2.

cos(30°) 0.866
tan(30°) 0.5774
Angle in radians 0.5236

How to calculate sin, cos and tan

Put the angle on a circle of radius 1, starting from the right and turning counterclockwise. The point where it meets the circle is (cos θ, sin θ), and tan θ is sin θ ÷ cos θ. The other three are flips: csc is 1 ÷ sin, sec is 1 ÷ cos and cot is cos ÷ sin, so they have no value where sin or cos is 0. Here is your angle:

On the unit circle, an angle θ meets the circle at (cos θ, sin θ), and tan θ = sin θ ÷ cos θ

Here it is with your numbers:

  1. sin(30°) = 1/2
  2. 1/2 is 0.5 to 4 decimals.

It means the sine of 30° is 0.5 (rounded).

Source OpenStax Precalculus 2e · 5.3 The Other Trigonometric Functions: tan, sec, csc and cot on the unit circle ↗

Inverse trig functions: sin⁻¹, cos⁻¹ and tan⁻¹

The inverses go backwards, from a ratio to an angle. Many angles share the same sine, so each inverse gives one agreed answer: sin⁻¹ gives an angle from −90° to 90°, cos⁻¹ from 0° to 180°, and tan⁻¹ between −90° and 90°. sin⁻¹ and cos⁻¹ only take numbers from −1 to 1, because sine and cosine never go outside that range. sin⁻¹(0.97) is 75.93°, or 1.3252 in radians.

Source OpenStax Precalculus 2e · 6.3 Inverse Trigonometric Functions: domains and ranges, Examples 3 and 4 ↗

Trig values of special angles

Exact values for the angles you meet most. Tap an angle to see the steps.

Anglesincostan
0°010
30°1/2√3/2√3/3
45°√2/2√2/21
60°√3/21/2√3
90°10Not defined
120°√3/2−1/2−√3
135°√2/2−√2/2−1
150°1/2−√3/2−√3/3
180°0−10
270°−10Not defined
360°010

FAQs

What is the formula for sin, cos, tan?

In a right triangle, sin = opposite ÷ hypotenuse, cos = adjacent ÷ hypotenuse and tan = opposite ÷ adjacent (often remembered as SohCahToa). For any angle, picture it on a circle of radius 1: the point where it meets the circle is (cos θ, sin θ), and tan θ is sin θ ÷ cos θ.

Source OpenStax Precalculus 2e · 5.4 Right Triangle Trigonometry: sin, cos and tan as ratios of sides (SohCahToa) ↗

How to figure out if it’s sin, cos, or tan?

Look at which two sides of the right triangle you know or want, measured from the angle. Opposite and hypotenuse: sin. Adjacent and hypotenuse: cos. Opposite and adjacent: tan. To find an angle from two sides, use the inverse: sin⁻¹, cos⁻¹ or tan⁻¹ of the ratio (OpenStax solves cos θ = 9/12 this way and gets 41.4096°).

Source OpenStax Precalculus 2e · 6.3 Inverse Trigonometric Functions: domains and ranges, Examples 3 and 4 ↗

Is inverse sin just 1/sin?

No. sin⁻¹(x), also called arcsine, gives the angle whose sine is x: sin⁻¹(0.5) is 30°. 1 ÷ sin is a different function, the cosecant (csc): csc(30°) is 2. The −1 in sin⁻¹ means “inverse”, not “to the power −1”.

Sources

Related calculators