Pythagorean Theorem Calculator
Solve the hypotenuse or a missing leg of a right triangle.
Applies to right-angled triangles only. The hypotenuse must be longer than either leg.
The most famous equation in geometry
For any right-angled triangle, the area of the square on the hypotenuse equals the combined area of the squares on the other two sides. In symbols, that is the relationship below.
a² + b² = c² ⟹ c = √(a² + b²)
Knowing any two sides gives the third. To find the hypotenuse, add the squares of the legs and take the root; to find a leg, subtract the known leg’s square from the hypotenuse’s and take the root.
With legs of 3 and 4, the hypotenuse is √(3² + 4²) = √25 = 5 — the classic 3-4-5 triangle. Its area is 6 and the acute angles are about 36.87° and 53.13°.
More useful than it looks
Beyond homework, the theorem squares up rooms and decking, finds diagonal screen sizes, sets out right angles on site, and underpins distance calculations in navigation and graphics. The humble 3-4-5 triangle is a builder’s best friend.
Handy to know
- Right angles only. The relationship fails for other triangles.
- Hypotenuse is longest. If your "leg" exceeds the hypotenuse, something is off.
- Triples speed checks. 3-4-5, 5-12-13 and 8-15-17 are worth memorising.