Hypotenuse Calculator

Hypotenuse calculator for right triangles in inches, feet, yards, miles, cm or meters. Enter any two sides to get the third, plus the two acute angles, the area, and the perimeter.

Hypotenuse c = 5 in
Angles 36.87° and 53.13° beside the 90° corner. Area 6 in², perimeter 12 in.
Step-by-Step Math
  1. Formula: c = √(a² + b²)
  2. Square: 3² + 4² = 9 + 16 = 25
  3. Root: √25 = 5 in
  4. Angles: opposite a = atan(a ÷ b) = 36.87°, opposite b = 90° - 36.87° = 53.13°

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 aLeg bHypotenuse cSmaller Angle
34536.87°
5121322.62°
681036.87°
7242516.26°
8151728.07°
9404112.68°
12162036.87°
20212943.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°.