Math

Trigonometry calculator: sin, cos, tan and more

Trigonometric functions relate an angle to ratios of sides in a right triangle and to coordinates on the unit circle. With this trigonometry calculator, enter an angle in degrees, radians or multiples of π to get all six trig functions, with exact values for special angles such as 30°, 45° and 60°, plus the reference angle, quadrant and radian measure.

Runs in your browser. Nothing you type is sent to us.

sin θ

0.5

cos θ = 0.8660254038 · tan θ = 0.5773502692

Angle
θ = 30° = 0.523599 rad
Reference angle
30°
Quadrant
I
Coterminal angle (0° to 360°)
30°
In radians
π/6 ≈ 0.523599 rad

All six trig functions

FunctionExact valueDecimal
sin θ1/20.5
cos θ√3/20.8660254038
tan θ√3/30.5773502692
csc θ22
sec θ2√3/31.1547005384
cot θ√31.7320508076

Key facts

  • On the unit circle, cos θ is the x-coordinate and sin θ is the y-coordinate of the point at angle θ, and tan θ = sin θ ÷ cos θ.
  • sin 30° = 1/2, cos 30° = √3/2 and tan 30° = √3/3.
  • The reciprocal functions are csc θ = 1 ÷ sin θ, sec θ = 1 ÷ cos θ and cot θ = 1 ÷ tan θ.
  • To convert, radians = degrees × π ÷ 180: 30° = π/6 ≈ 0.5236 rad.
  • The signs follow “All Students Take Calculus”: all positive in quadrant I, sine in II, tangent in III, cosine in IV.

The six trig functions

In a right triangle with an acute angle θ:

FunctionDefinitionReciprocal of
sin θopposite ÷ hypotenusecsc θ
cos θadjacent ÷ hypotenusesec θ
tan θopposite ÷ adjacentcot θ
csc θhypotenuse ÷ oppositesin θ
sec θhypotenuse ÷ adjacentcos θ
cot θadjacent ÷ oppositetan θ

For angles beyond 90°, the unit circle definition takes over: the point at angle θ on a circle of radius 1 is (cos θ, sin θ).

How to use the trigonometry calculator

Enter an angle and choose degrees, radians or multiples of π (enter 1/6 as 0.1666… or use degrees for exact special angles). The result shows sin, cos and tan, a table of all six functions with exact forms where they exist, the reference angle, the quadrant, the coterminal angle between 0° and 360°, and the angle in radians.

Exact values for special angles

θsin θcos θtan θ
0°010
15°(√6 − √2)/4(√6 + √2)/42 − √3
30° (π/6)1/2√3/2√3/3
45° (π/4)√2/2√2/21
60° (π/3)√3/21/2√3
75°(√6 + √2)/4(√6 − √2)/42 + √3
90° (π/2)10undefined

Angles in other quadrants

  1. Find the reference angle, the acute angle between the terminal side and the x-axis.
  2. Take the trig value of the reference angle.
  3. Apply the sign for the quadrant.
QuadrantAnglesPositive functions
I0° to 90°all
II90° to 180°sin, csc
III180° to 270°tan, cot
IV270° to 360°cos, sec

Examples: sin 150° = sin 30° = 1/2 (quadrant II, sine positive). cos 225° = −cos 45° = −√2/2 (quadrant III, cosine negative). tan 135° = −tan 45° = −1.

Key identities

sin²θ + cos²θ = 1tan θ = sin θ ÷ cos θ1 + tan²θ = sec²θ 1 + cot²θ = csc²θsin(90° − θ) = cos θ sin(−θ) = −sin θ cos(−θ) = cos θsin 2θ = 2 sin θ cos θ cos 2θ = cos²θ − sin²θ

Degrees and radians

A full turn is 360° or 2π radians, so 1 rad ≈ 57.2958° and 1° ≈ 0.017453 rad. Calculus and most programming languages use radians: Math.sin(30) in JavaScript or Python computes the sine of 30 radians, not 30 degrees.

Where trigonometry is used

Surveying and navigation (heights and distances from angles), physics (waves, oscillations, forces on slopes), engineering (AC circuits, structures), computer graphics (rotations), astronomy and music (sound waves).

Pitfalls with trigonometry

  • Using radian mode for degree angles, or the other way round.
  • Forgetting that tan and sec are undefined at 90° and 270°, and cot and csc at 0° and 180°.
  • Writing sin⁻¹ x for csc x: sin⁻¹ means the inverse function arcsin, while csc x = 1 ÷ sin x.
  • Dropping the sign when an angle is outside the first quadrant.

How trigonometry was born in astronomy

Trigonometry began as a tool for astronomers. Hipparchus of Nicaea, around 140 BCE, built the first known table of chords, and Ptolemy’s *Almagest* (about 150 CE) extended it. Indian astronomers switched from chords to half-chords, the sine, which Aryabhata called *jya*; Arabic scholars wrote it as *jiba*, which was later misread as *jaib* ("fold" or "pocket"), and when Gerard of Cremona and others translated it into Latin in the 12th century they used *sinus*, giving us "sine". Regiomontanus wrote *De triangulis omnimodis* in 1464, the first European book treating trigonometry as a subject of its own.

The radian, which measures angles by arc length, was used by Roger Cotes in 1714, and the name was coined by James Thomson in 1873. Today trigonometry underpins GPS, sound and image compression, structural engineering, robotics and computer graphics. In US high schools, Common Core standards F-TF.A.1 to A.4 introduce radian measure and the unit circle, and G-SRT.C.6 to C.8 define the ratios in right triangles. For one function at a time, use the sine calculator, the cosine calculator or the tangent calculator; to go from a ratio back to an angle, the inverse trig calculator.

How this calculator works

  • Works in degrees or radians (including multiples of π); special angles such as 30°, 45° and 60° are given exactly, for example sin 60° = √3/2.
  • Shows all six functions (sin, cos, tan, csc, sec, cot), the quadrant, the reference angle and a coterminal angle.
  • Undefined values (such as tan 90°) are reported rather than shown as huge numbers.
  • Decimal results are given to high precision.

Frequently asked questions

What is sin 30°?

Exactly 1/2, or 0.5.

What is cos 45°?

√2/2, about 0.7071. Sin 45° has the same value.

What is tan 90°?

Undefined, because cos 90° = 0 and tan θ = sin θ ÷ cos θ.

How do you convert degrees to radians?

Multiply by π and divide by 180. 60° × π ÷ 180 = π/3 ≈ 1.0472 rad.

What does SOH CAH TOA stand for?

Sine = Opposite/Hypotenuse, Cosine = Adjacent/Hypotenuse, Tangent = Opposite/Adjacent.

What is a reference angle?

The acute angle between the terminal side of an angle and the x-axis. The reference angle of 150° is 30°, and of 300° is 60°.

What are csc, sec and cot?

The reciprocals of sin, cos and tan: csc θ = 1/sin θ, sec θ = 1/cos θ, cot θ = 1/tan θ.

Why does my calculator give a strange answer for sin 30?

It is probably in radian mode, where sin 30 means the sine of 30 radians (about −0.988). Switch to degree mode, or choose degrees here.

Sources

  1. Wolfram MathWorld, trigonometric functions
  2. Wolfram MathWorld, trigonometry angles
  3. Math is Fun, unit circle

Updated November 25, 2026. Formulas checked against published sources and worked examples.

Cite this page: CalcRoster. "Trigonometry calculator: sin, cos, tan and more." calcroster.com/trigonometry-calculator/. Updated November 25, 2026.

Results are estimates for general information. They are not financial, medical or legal advice. Check important decisions with a qualified professional.