Worked examples
Grade 9: opposite 3, adjacent 4
hypotenuse 5, sin θ = 3/5, cos θ = 4/5, tan θ = 3/4
Grade 9: angle 30°
sin = 1/2, cos = √3/2, tan = √3/3
Grade 9: angle 45°
sin = √2/2, cos = √2/2, tan = 1
How to use it
- For "The two legs" enter the opposite and adjacent lengths. For "The angle" enter the angle in degrees.
- The opposite side is across from angle θ; the adjacent side lies between θ and the right angle.
- Read sin, cos, tan and, for two legs, the hypotenuse and the angle θ.
What this calculates
A trigonometric ratio compares two sides of a right triangle for an acute angle θ: sin θ = opposite ÷ hypotenuse, cos θ = adjacent ÷ hypotenuse and tan θ = opposite ÷ adjacent. Similar right triangles have the same ratios for the same angle, so the angle alone fixes each value. The angles 30°, 45° and 60° have exact values with radicals and appear often in exams. It is taught in the trigonometric ratios unit of Grade 9.
The formulas
- The three ratios sin θ = opposite ÷ hypotenuse, cos θ = adjacent ÷ hypotenuse, tan θ = opposite ÷ adjacent
- Hypotenuse hypotenuse² = opposite² + adjacent² (Pythagorean theorem)
- Relations sin²θ + cos²θ = 1, tan θ = sin θ ÷ cos θ
- Special angles 30°: 1/2, √3/2, √3/3 · 45°: √2/2, √2/2, 1 · 60°: √3/2, 1/2, √3
Reference table
| Input | Ratios | ||
|---|---|---|---|
| 30° | 1/2 | √3/2 | √3/3 |
| 45° | √2/2 | √2/2 | 1 |
| 60° | √3/2 | 1/2 | √3 |
Good to know
- For all three sides and two angles, use the Right Triangle Calculator.
- For angles above 90°, use the Trigonometric Function Calculator.
Sources
Frequently asked questions
How do I tell the opposite from the adjacent side?
The side across from the reference angle θ is the opposite; the side between θ and the right angle is the adjacent. Changing the reference angle swaps their roles.
Can tan be larger than 1?
sin and cos are below 1 because the hypotenuse is longest, but tan is opposite ÷ adjacent and can exceed 1.
Why do 30°, 45° and 60° have exact values?
Half an equilateral triangle (30° and 60°) and an isosceles right triangle (45°) have side ratios that are exact radicals.
Can I enter the angle in radians?
This calculator takes degrees only. For radians use the Trigonometric Function Calculator.
Why are 0° and 90° not allowed?
The acute angles of a right triangle are above 0° and below 90°, so other values give an error message.
Are my numbers stored?
No. Everything is calculated in your browser and nothing is sent to a server or saved.
Last updated 2026-12-02 · For reference only; not investment, tax or legal advice.