Pythagorean theorem calculator
Solve a² + b² = c² in either direction. Find the hypotenuse from the two legs, or find a missing leg from the hypotenuse and the other leg. The formula used is shown alongside each result so you can follow the working.
When solving for a leg, the calculator checks that the hypotenuse is the longest side, since no real right triangle exists otherwise. Everything runs in your browser — nothing is uploaded.