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 θ:
| Function | Definition | Reciprocal of |
|---|---|---|
| sin θ | opposite ÷ hypotenuse | csc θ |
| cos θ | adjacent ÷ hypotenuse | sec θ |
| tan θ | opposite ÷ adjacent | cot θ |
| csc θ | hypotenuse ÷ opposite | sin θ |
| sec θ | hypotenuse ÷ adjacent | cos θ |
| cot θ | adjacent ÷ opposite | tan θ |
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° | 0 | 1 | 0 |
| 15° | (√6 − √2)/4 | (√6 + √2)/4 | 2 − √3 |
| 30° (π/6) | 1/2 | √3/2 | √3/3 |
| 45° (π/4) | √2/2 | √2/2 | 1 |
| 60° (π/3) | √3/2 | 1/2 | √3 |
| 75° | (√6 + √2)/4 | (√6 − √2)/4 | 2 + √3 |
| 90° (π/2) | 1 | 0 | undefined |
Angles in other quadrants
- Find the reference angle, the acute angle between the terminal side and the x-axis.
- Take the trig value of the reference angle.
- Apply the sign for the quadrant.
| Quadrant | Angles | Positive functions |
|---|---|---|
| I | 0° to 90° | all |
| II | 90° to 180° | sin, csc |
| III | 180° to 270° | tan, cot |
| IV | 270° 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.