Solve a² + b² = c² either direction — find the hypotenuse from two legs, or a missing leg from the hypotenuse — with exact form, perimeter and area.
The theorem, both directions
In any right triangle the two legs and the hypotenuse obey a² + b² = c². This calculator solves it both ways: give two legs and it finds the hypotenuse; give a leg and the hypotenuse and it finds the missing leg — refusing, correctly, when the “hypotenuse” entered is not the longest side, because no right triangle can exist that way.
How to use it
- Choose what you’re solving for: the hypotenuse, or a missing leg.
- Enter the two known sides.
- Read the answer, its exact radical form, and the triangle’s perimeter and area.
The formula
A worked example
Legs of 3 and 4: c = √(9 + 16) = √25 = 5 — the most famous right triangle in mathematics, with perimeter 12 and area 6. Not every answer lands whole: legs of 1 and 1 give √2 ≈ 1.4142, and the calculator shows the exact √ form alongside the decimal so homework can quote whichever the question asks for.