Skip to main content

Grades 10-12Free, no account needed

Unit-circle trigonometry calculator

Evaluate sine, cosine and tangent in degrees or radians with exact special-angle expressions and a live unit circle.

All calculators

Try your problem

Sine, cosine or tangent.
Numeric value in the selected unit; no pi expressions.
360 degrees = 2 pi radians.

Your calculations stay in this browser. No input history is saved.

Supported inputs and limits

Signed angles up to 36000 degrees or 600 radians. Numeric radians only, not pi expressions. Exact special values are recognized for rational degree angles whose reduced angle is a multiple of 30 or 45; other values retain exact trigonometric expressions with approximate decimals (10 significant digits). Tangent is not evaluated when |cos| <=1e-12; a numerical guard does not prove exact undefinedness. Exact rational input up to 40 characters, nine finite decimal places and reduced denominator <=1000000000. Paste trig(sin,30,degrees), trig(cos,1,radians) or trig(tan,90,degrees), at most 200 characters.

Understand the method

A radius at 30 degrees meets the unit circle at (square root of 3 over 2, one half); dashed projections show cosine and sine.

On a unit circle, a counterclockwise angle theta reaches the point (cos(theta), sin(theta)). Cosine is the horizontal coordinate and sine is the vertical coordinate. The radius is 1, so the coordinates satisfy cos(theta)^2 + sin(theta)^2 = 1. A full turn is 360 degrees or 2 pi radians.

To convert degrees to radians, multiply by pi/180. Adding or subtracting a full turn does not change the point. Tangent is sin(theta)/cos(theta), so it is undefined when cosine is exactly zero. Near those angles, tiny changes can produce huge tangent changes; this tool refuses to divide when the computed cosine magnitude is at most 1e-12.

Worked examples

Read the reasoning, or load an example into the calculator.

A first-quadrant projection

At 30 degrees the unit-circle height is 1/2, so sine is exactly 1/2. Cosine is sqrt(3)/2 and the radius check gives 1.

A negative rotation

A -135 degree rotation lands at the same point as 225 degrees. Cosine is -sqrt(2)/2 because the point lies left of the vertical axis.

An undefined ratio

At 90 degrees sine is 1 and cosine is exactly 0. Tangent would divide 1 by 0, so it is undefined, not infinity.

Try it without the calculator

Three questions for practice, not a graded school assessment. Your answers stay on this page and are not saved.

1. What is sin(30 degrees)?
2. Why is tan(90 degrees) undefined?
3. How many radians make a half turn?

Original Testinar learning content. This local preview is awaiting final review before publication.

Page UP