Figuro.net
Blog

Pythagorean Theorem Calculator

Find the hypotenuse or a missing leg of a right triangle using a² + b² = c².

Enter values and press Calculate to see the result here.

The Pythagorean theorem

a² + b² = c²

Named after the ancient Greek mathematician Pythagoras, this theorem relates the three sides of any right triangle: the square of the hypotenuse (c, the side opposite the right angle) equals the sum of the squares of the other two sides (the legs, a and b).

Solving for the hypotenuse

c = √(a² + b²)

Given both legs, square each one, add them together, then take the square root.

Solving for a missing leg

a = √(c² − b²)

Given the hypotenuse and one leg, square both, subtract the leg's square from the hypotenuse's square, then take the square root.

Common Pythagorean triples

abc
345
51213
81517
72425
6810

Worked example

For legs a=6 and b=8: c = √(6² + 8²) = √(36+64) = √100 = 10.

Real-world uses of the Pythagorean theorem

Builders and carpenters use it to check that a corner is truly square, since a 3-4-5 triangle only closes correctly at a right angle. It's also how GPS and mapping software estimate straight-line ("as the crow flies") distance between two points, how TV and monitor sizes are measured diagonally, and how engineers calculate the shortest support brace across a rectangular frame.

Frequently asked questions

What is the Pythagorean theorem? For any right triangle, a² + b² = c², where c is the hypotenuse (the side opposite the 90° angle) and a, b are the two legs.

Does this theorem work for any triangle? No — it only applies to right triangles, meaning one angle must be exactly 90°. For other triangles, use the Law of Cosines instead.

Can I use this to check if a triangle is a right triangle? Yes — if a² + b² equals c² for the three side lengths (with c the longest side), the triangle is a right triangle.

What are common Pythagorean triples? Whole-number solutions like 3-4-5, 5-12-13, 8-15-17, and 7-24-25 — and any multiple of them, such as 6-8-10.

Who discovered the Pythagorean theorem? It's named for the Greek mathematician Pythagoras (c. 570–495 BCE), though evidence shows Babylonian and other mathematicians knew and used the relationship before him.

How is the Pythagorean theorem used in everyday life? Beyond geometry class, it shows up in construction (squaring corners), navigation and mapping (straight-line distance), screen sizing (diagonal measurements), and any situation where you know two perpendicular distances and need the direct distance between their endpoints.

← Browse all 62 calculators