Pythagorean Theorem Calculator
Find the missing side of a right triangle with a² + b² = c², plus its angles, area and perimeter.
Fill in any two sides and leave the third empty.
Steps
How to use the Pythagorean Theorem Calculator
- Enter two sidesType the lengths of any two sides and leave the third box empty. a and b are the legs; c is the hypotenuse, the longest side opposite the right angle.
- Get the missing sideThe third side is worked out with a² + b² = c², shown exactly (like 5√2) when it is not a whole number.
- See the restThe two acute angles, area, perimeter and height are shown with the steps. Fill in all three sides to check if a triangle is right-angled.
Example
With legs a = 6 and b = 8: c² = 36 + 64 = 100, so c = 10. The angles are 36.87° and 53.13°, the area is 24 and the perimeter is 24.
With a = 5 and hypotenuse c = 13: b² = 169 − 25 = 144, so b = 12. For legs 1 and 1, c = √2 ≈ 1.4142.
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 only works for triangles with a 90° angle.
How do I find a leg instead of the hypotenuse?
Rearrange the formula: a = √(c² − b²). Enter the hypotenuse and the known leg, and leave the other leg empty.
What are Pythagorean triples?
Whole-number sides that fit the theorem, such as 3-4-5, 5-12-13, 8-15-17 and 7-24-25. Any multiple also works, like 6-8-10.