All guides

How to Find the Hypotenuse

First, Find the Right Angle

The hypotenuse is the longest side of a right-angled triangle, and it always sits opposite the right angle. Before you calculate anything, find the right angle in the diagram: it is the corner marked with a small square, or the corner where the two shorter sides meet at 90 degrees. The side across from that corner is the hypotenuse, and the other two sides are the legs. A common mistake is to pick the longest looking side in a badly drawn diagram, so trust the right angle, not the picture. Once you have named the hypotenuse, label the two legs a and b and the hypotenuse c, so the formula a squared plus b squared equals c squared is ready to use. A careful label at the start saves time later, because the formula only works when the hypotenuse is squared on its own side of the equals sign.

A Worked Example With 5 and 12

Suppose the two legs are 5 units and 12 units long. Square each leg: 5 squared is 25 and 12 squared is 144. Add the squares: 25 plus 144 equals 169. The square of the hypotenuse is 169, so take the square root: the square root of 169 is 13, so the hypotenuse is 13 units. This 5-12-13 triangle is another classic triple, like 3-4-5, and it is worth remembering. Check that the answer is longer than either leg, because the hypotenuse must be the longest side. If your square root came out shorter than a leg, you have mixed up the sides or made an arithmetic slip, so go back and check each square before you trust the answer.

When the Answer Is Not a Whole Number

Not every hypotenuse is a whole number, and that is perfectly normal. Take legs of 2 units and 3 units. Their squares are 4 and 9, which add to 13, so the hypotenuse is the square root of 13, which is about 3.61 units. A calculator gives the square root quickly, but you can estimate it first: the square root of 13 sits between 3 and 4, closer to 4, because 13 is closer to 16 than to 9. Round the final answer to match the question, usually to two decimal places, and keep the units. The same method works for real jobs, such as finding the length of a diagonal brace across a rectangular frame: measure the two sides, square them, add, and take the square root.

Try it on your own numbers

The free calculator that goes with this guide:

Try the triangle calculator