RIGHT-TRIANGLE GEOMETRY
Pythagorean Theorem Calculator
Find a missing side of a right triangle using a² + b² = c². Choose the side to solve for, enter the other two lengths, and follow the steps.
YOUR ANSWER
Right-triangle side lengths
Step-by-step solution
- For a right triangle, a² + b² = c², where c is the hypotenuse opposite the right angle.
- Substitute the known legs: c = √(3² + 4²).
- Evaluate the squares and add: c = √(9 + 16) = √25.
- Take the positive square root because a side length is positive: c ≈ 5.
- Check: a² + b² = 9 + 16 ≈ 25, and c² = 25.
What is the Pythagorean theorem?
The Pythagorean theorem describes the relationship between the three side lengths of a right triangle. If a and b are the legs that form the right angle, and c is the hypotenuse opposite it, then a² + b² = c². This calculator rearranges the relationship to solve for whichever one side you do not know.
Legs: a, b · Hypotenuse: c · Right angle: 90°
How to use the Pythagorean theorem calculator
- Choose whether the missing side is leg a, leg b, or hypotenuse c.
- Enter the other two positive side lengths in the same unit.
- Calculate to see the missing length, labeled triangle diagram, and substituted steps.
Worked example: find a hypotenuse
For legs of 3 and 4 units, substitute into the theorem: c² = 3² + 4² = 9 + 16 = 25. Take the positive square root, so c = √25 = 5 units.
When does the theorem apply?
Use it only when the triangle has a right angle. The hypotenuse is the side opposite that angle and must be longer than either leg. If a leg is unknown, its squared length is the hypotenuse squared minus the other leg squared; a negative result means the entered hypotenuse is too short.
Frequently asked questions
Which side is the hypotenuse?
It is the side opposite the 90° angle. It is also the longest side of a right triangle.
Can the calculator find either leg?
Yes. Choose leg a or b as the unknown. The calculator subtracts the known leg’s square from the hypotenuse’s square, then takes the positive square root.
Can I enter different units?
Convert all lengths to the same unit before using the theorem. The calculation preserves that common unit.
Does the theorem work for every triangle?
No. The equation a² + b² = c² applies only to right triangles. Other triangles need a different relationship, such as the law of cosines.