Hypotenuse calculator
Enter the two legs of a right triangle, or one leg and the hypotenuse, and this tool finds the missing side.
Results
Enter your values to see the result.
About this tool
It also shows both acute angles, the area and the perimeter. It is useful for roof pitches, ramps, ladders and checking that a corner is square.
- How it is calculated
- hypotenuse c = √(a² + b²); other leg b = √(c² − a²); angle A = atan(a ÷ b)
- Worked example
- With Find the: hypotenuse (I know both legs); Leg a: 3; Leg b: 4, the result is: Hypotenuse c: 5; Leg a: 3; Leg b: 4; Angle A (opposite a): 36.87 °; Angle B (opposite b): 53.13 °; Area: 6; Perimeter: 12.
- Good to know
- It uses the Pythagorean theorem, in which the square of the hypotenuse equals the sum of the squares of the two legs. The hypotenuse is always the longest side and lies opposite the right angle. When you enter the hypotenuse, it must be longer than the leg.
Frequently asked questions
What is the hypotenuse?
It is the longest side of a right triangle, the one opposite the right angle.
How do I check that a corner is square?
Measure 3 units along one side and 4 along the other. If the distance between those points is exactly 5, the corner is a right angle.
Why does the tool reject my numbers?
When you know a leg and the hypotenuse, the hypotenuse has to be the longer one. Otherwise no right triangle has those sides.