Hypotenuse definition and formula
The hypotenuse is the side of a right triangle opposite the right angle, and it is always the longest side. Find it with c = the square root of (a squared + b squared) when you know both legs. When you know one leg and an acute angle, use sine or cosine instead.
For students and parents planning test prep or coursework: one hour with George Li, one to one by video, is $180, $200 or $160, by subject. You leave with a written plan within one working day.
Book your first session| What you know | Method | Worked case | Hypotenuse |
|---|---|---|---|
| Both legs | square root of (a squared + b squared) | 9 and 12 | 15 |
| Both legs, not a triple | same, then round | 6 and 7 | about 9.22 |
| The side opposite an angle | c = opposite / sin of the angle | opposite 7, angle 35 degrees | about 12.2 |
| The side next to an angle | c = adjacent / cos of the angle | adjacent 10, angle 40 degrees | about 13.05 |
| A 45, 45, 90 triangle | leg times the square root of 2 | leg 9 | about 12.73 |
| A 30, 60, 90 triangle | twice the short leg | short leg 7.5 | 15 |
Each triple in the last rows satisfies a squared plus b squared equals c squared exactly.
Our own worked cases; trigonometric values are rounded
What is a hypotenuse?
A right triangle has one right angle, and the hypotenuse lies across from it. The other two sides are the legs. Since it is the longest side, a hypotenuse shorter than a leg signals an arithmetic mistake. No other kind of triangle has a hypotenuse.
What is the hypotenuse formula?
It is the Pythagorean theorem solved for c: a squared plus b squared equals c squared, so c equals the root of that sum. For legs of 9 and 12 the sum is 81 + 144, which is 225, and the root is 15. For legs of 6 and 7 the sum is 85, which is not a perfect square, so the hypotenuse is about 9.22.
The same idea gives distance on a grid. From (1, 2) to (7, 10) the legs are 6 and 8, so the distance is the hypotenuse, which is 10.
Which triples save time?
Whole-number sets that satisfy the theorem come up often: 3, 4, 5; 5, 12, 13; 8, 15, 17; 7, 24, 25; and 20, 21, 29. Any multiple of a triple is another triple, so 6, 8, 10 and 9, 12, 15 also work. If two sides match a triple, you can skip the squaring.
The converse also holds. If a squared plus b squared equals c squared for the three sides, the triangle has a right angle opposite c.
How do you find the hypotenuse from an angle?
Use the sides' names relative to the angle. Sine is opposite over hypotenuse and cosine is adjacent over hypotenuse, so c equals the opposite side over the sine, or the adjacent side over the cosine. With an opposite side of 7 and an angle of 35 degrees, c is 7 over 0.5736, about 12.2. With an adjacent side of 10 and an angle of 40 degrees, c is 10 over 0.7660, about 13.05. The memory phrase SOH CAH TOA covers sine, cosine and tangent.
What about the special right triangles?
A 45, 45, 90 triangle has legs in the ratio 1, 1, and a hypotenuse of the square root of 2 times a leg. A leg of 9 gives about 12.73. A 30, 60, 90 triangle has sides in the ratio 1, the square root of 3, 2, so the hypotenuse is twice the short leg. A short leg of 7.5 gives 15.
Original problems
- Legs of 20 and 21. Find the hypotenuse. Answer: 400 + 441 is 841, and the root is 29.
- A 45, 45, 90 triangle has legs of 9. Find the hypotenuse. Answer: 9 times the square root of 2, about 12.73.
- A 30, 60, 90 triangle has a short leg of 7.5. Find the hypotenuse. Answer: 15.
- The side opposite a 25 degree angle is 12. Find the hypotenuse. Answer: 12 over 0.4226, about 28.4.
If you are working toward a timed test, the math tutoring page describes SAT® and ACT® exam prep sessions. For angle-based problems, continue with right triangle trigonometry and the unit circle.
Common questions
Which side is the hypotenuse?
The side across from the right angle. It is the longest side of the triangle.
Can a triangle have two hypotenuses?
No. A triangle has at most one right angle, so only one side qualifies.
Does the Pythagorean theorem work for any triangle?
It applies to right triangles only. For other triangles you need the law of cosines.
How do I know which leg is opposite or adjacent?
It depends on the angle you are using. The side across from that angle is opposite, and the side touching it, other than the hypotenuse, is adjacent.