- Home
- Math
- Right Triangle Calculator
Right Triangle Calculator
Any two values solve a right triangle, as long as at least one is a side. Legs 5 and 12 give a hypotenuse of 13, angles of 22.62° and 67.38°, and an area of 30.
Know only a ramp’s length and its angle? Choose “Hypotenuse + angle” to get the rise and the run straight away.
I know both legs
I know one leg and the hypotenuse
I know one leg and one acute angle
I know the hypotenuse and one acute angle
Leg a is opposite α, leg b is next to it.
I know the area and one leg
How we got this
Compare options
Row 1 follows the calculator above. Edit any cell.Bulk mode
My saved calculations
Stored only in this browser. Nothing is sent to our servers.Country & format
Change the country edition from the menu at the top.Your next step
Your answer carries over, so you don’t have to type it again.
SOH CAH TOA
For an acute angle α in a right triangle:
| Ratio | Formula | Memory aid |
|---|---|---|
| Sine | sin α = opposite ÷ hypotenuse | SOH |
| Cosine | cos α = adjacent ÷ hypotenuse | CAH |
| Tangent | tan α = opposite ÷ adjacent | TOA |
The two acute angles always add up to 90°, and a² + b² = c².
Special right triangles
| Triangle | Side ratio | Example |
|---|---|---|
| 45°-45°-90° | 1 : 1 : √2 | Legs 1, hypotenuse 1.414 |
| 30°-60°-90° | 1 : √3 : 2 | Short leg 1, long leg 1.732, hypotenuse 2 |
In a 30-60-90 triangle the short leg (opposite 30°) is exactly half the hypotenuse.
Worked example: a wheelchair ramp
A ramp rises 0.5 m at an angle of 4.8°. Leg a = 0.5 opposite α = 4.8°. Hypotenuse c = 0.5 ÷ sin 4.8° ≈ 5.98 m of ramp; run b = 0.5 ÷ tan 4.8° ≈ 5.95 m.
Other properties
- Area = a × b ÷ 2.
- Height to the hypotenuse h = a × b ÷ c.
- Inradius r = (a + b − c) ÷ 2.
- Circumradius R = c ÷ 2: the hypotenuse is a diameter of the circumscribed circle.
Frequently asked questions
How do I solve a right triangle?
You need two values including at least one side. Use a² + b² = c² for sides and sine, cosine or tangent for angles.
How do I find an angle from two sides?
Use the inverse tangent: α = arctan(a ÷ b), where a is opposite α and b is next to it.
Can I solve a right triangle with just two angles?
No. Angles fix the shape but not the size. You need at least one side.
What is the height of a right triangle?
The legs are heights of each other. The height to the hypotenuse is a × b ÷ c.