Our free Pythagorean theorem calculator finds the missing side of a right triangle in seconds. Enter the two shorter sides, called the legs, and it works out the longest side, called the hypotenuse.
These figures are estimates only for educational purposes. No personal data is collected or saved.
How to use this Pythagorean theorem calculator
Enter the lengths of sides a and b, then click Calculate Hypotenuse. The calculator uses the formula a² + b² = c², so c = √(a² + b²). For example, with a = 3 and b = 4, c = √(9 + 16) = √25 = 5. Change either value to try a new calculation — nothing is saved or shared.
Frequently asked questions
What is the Pythagorean theorem?
In a right triangle, the square of the hypotenuse equals the sum of the squares of the other two sides: a² + b² = c². It is one of the most useful rules in geometry.
What is a hypotenuse?
The hypotenuse is the longest side of a right triangle, opposite the right angle. The other two sides are the legs, and they meet at the right angle.
What is a 3-4-5 triangle?
A 3-4-5 triangle has sides 3, 4, and 5. Because 3² + 4² = 9 + 16 = 25 = 5², it is a right triangle, and builders often use it to check square corners.
What other calculators can I use?
Try our square root calculator for roots, the exponent calculator for powers, or the quadratic formula calculator for equations. You can also View all calculators.