Triangle calculator

For a right-angled triangle, Pythagoras says the square of the hypotenuse equals the sum of the squares of the other two sides. Enter any two sides, leave the third blank, and the missing side appears.

Your triangle

The hypotenuse must be longer than either short side. If your numbers break that rule, check them: the longest side entered is treated as the hypotenuse.

The 3-4-5 check

The most famous right-angled triangle has sides 3, 4 and 5. Check it: 3 squared is 9, 4 squared is 16, and 9 plus 16 is 25, which is 5 squared. Any triangle with sides in the ratio 3 to 4 to 5 has a right angle, which is why builders still use a 3-4-5 rope to square a corner.