Hypotenuse Calculator Formula
The hypotenuse of a right triangle is the square root of the sum of the two legs squared. With legs of 3 and 4, that is the square root of 9 + 16 = 25, so the hypotenuse is 5.
Here a and b are the two legs that meet at the 90° corner and c is the hypotenuse, the side across from it. All three must be in the same unit before squaring, so convert feet and inches to one unit first.
Pythagorean Triples With Whole-Number Answers
Some leg pairs give a whole-number hypotenuse. These triples are handy for checking work and for laying out right angles on site.
| Leg a | Leg b | Hypotenuse c | Smaller Angle |
|---|---|---|---|
| 3 | 4 | 5 | 36.87° |
| 5 | 12 | 13 | 22.62° |
| 6 | 8 | 10 | 36.87° |
| 7 | 24 | 25 | 16.26° |
| 8 | 15 | 17 | 28.07° |
| 9 | 40 | 41 | 12.68° |
| 12 | 16 | 20 | 36.87° |
| 20 | 21 | 29 | 43.60° |
Any multiple of a triple also works. The 3-4-5 triangle scaled by 2, 3 or 4 gives 6-8-10, 9-12-15 and 12-16-20, which is why builders square a corner by measuring 6 ft and 8 ft and checking for a 10 ft diagonal.
Finding a Missing Leg
To find a leg, subtract the square of the known leg from the square of the hypotenuse, then take the root. With a hypotenuse of 10 and one leg of 6, the other leg is the square root of 100 - 36 = 64, or 8.
The hypotenuse is always the longest side. If the number entered as the hypotenuse is not longer than the known leg, no right triangle exists with those sides.
Isosceles Right Triangle Shortcut
When both legs are equal, the hypotenuse is a leg times the square root of 2, about 1.4142. Legs of 12 in give a hypotenuse of 16.97 in, and the two acute angles are both 45°.
Angles From the Two Legs
The angle opposite leg a is the arctangent of a divided by b, and the other acute angle is 90° minus that. For legs of 3 and 4, atan(3 ÷ 4) = 36.87°, so the other angle is 53.13°.