← All tools/Calculators/Geometry/Hypotenuse Calculator
Hypotenuse Calculator
Enter the two legs of a right-angled triangle, and see the hypotenuse instantly — the longest side, opposite the right angle.
Hypotenuse of the right-angled triangle
√(3² + 4²) = √25 = 5
How it works
c = √(a² + b²) a² + b² = c² where a and b are the two legs and c is the hypotenuse, the side opposite the right angle
Legs 3 and 4 give c = √(9 + 16) = √25 = 5. Another classic triple is 5 and 12: √(25 + 144) = √169 = 13.
Frequently asked questions
What is the hypotenuse?
The hypotenuse is the longest side of a right-angled triangle, opposite the 90° angle. It is always longer than either leg on its own.
Does the order of the legs matter?
No. The formula squares both legs and adds them, so swapping a and b gives the same hypotenuse. Legs 3 and 4 give the same answer as legs 4 and 3.
What are Pythagorean triples?
Triples are whole-number leg pairs with a whole-number hypotenuse, such as 3-4-5, 5-12-13 and 8-15-17. They are handy for checking the calculator: 5 and 12 must give 13.
Can I find a leg if I know the hypotenuse?
Yes, with the same theorem rearranged: a = √(c² − b²). If the hypotenuse is 5 and one leg is 3, the other leg is √(25 − 9) = √16 = 4.
Tell us what you think
Loving this tool, or stuck on something? Tell us — it takes a minute.
We’ll only use your name and email to reply if needed. The tool and page are filled in for you.