Pythagorean theorem calculator
Solve a² + b² = c² from lengths or squared lengths of two sides.
Get started
- Enter lengths or squares for two different sides.
Example
Input
a² = 7, c² = 32Expected result
b² = 32 − 7 = 25, so b = 5.Good to know
The calculation runs in your browser. Use consistent units in fields with no explicit unit.
Calculation method
For the hypotenuse, add the leg squares. For a leg, subtract the other leg’s square from the hypotenuse square. Lengths must be positive.