Pythagorean Theorem Calculator
The Pythagorean theorem says that in a right triangle, the square on the hypotenuse equals the sum of the squares on the other two sides: a² + b² = c². This calculator finds the hypotenuse from the two shorter sides, or a missing shorter side from the hypotenuse and the other side.
How to use the pythagorean theorem calculator
- Choose whether to find the hypotenuse or a shorter side.
- Enter the two sides you know.
- Press Calculate to see the missing side, exactly and as a decimal.
Formula
Worked example: a = 3, b = 4
- Find: Hypotenuse (c)
- Side a: 3
- Side b: 4
✓ Answer checked
Step-by-step working (3 steps)
Write the theorem Pythagorean theorem
In a right triangle, the square on the hypotenuse equals the sum of the squares on the other two sides.
Substitute
Put in the two known sides.
Take the square root
The result is a perfect square.
Formulas used
How this was checked
- ✓ 5² = 25.
- ✓ The three sides satisfy a² + b² = c².
Frequently asked questions
How do I find the hypotenuse?
Square the two shorter sides, add them, and take the square root. For sides 3 and 4: √(9 + 16) = √25 = 5.
How do I find a shorter side?
Square the hypotenuse, subtract the square of the known side, and take the square root. With c = 13 and a = 5: √(169 − 25) = 12.
Does it work for any triangle?
No, only right triangles, which have one 90° angle. The hypotenuse is the side opposite the right angle.
Related calculators
Distance Between Two Points Calculator
Find the distance between two points on a graph using the distance formula.
Square Root Calculator
Find the square root of any number, simplified exactly (like √50 = 5√2) with the decimal value.
Area Calculator
Find the area of a rectangle, square, triangle, circle, trapezoid or parallelogram.
