Pythagoras' theorem is a rule for right-angled triangles — triangles with a perfect 90° corner. It links the three sides so tightly that if you know any two, you can always find the third. Builders use it to check a corner is square; it is one of the oldest and most useful results in maths.
where c is the hypotenuse — the longest side, always opposite the right angle.
The two shorter sides (a and b) are the "legs" meeting at the right angle; c faces away from it. Because c is longest, its square (c²) is bigger than either of the others — a handy sense-check on every answer.
Finding the hypotenuse (the long side)
Square the two shorter sides, add them together, then square-root:
Finding a shorter side
Rearrange: square both known sides, subtract the smaller square from the larger (the hypotenuse's), then square-root:
| You want | Operation | Then |
|---|---|---|
| Hypotenuse (long side) | a² + b² (ADD) | square-root |
| A shorter side (leg) | c² − known² (SUBTRACT) | square-root |
A few "Pythagorean triples" — whole-number sets that fit exactly — are worth memorising, as they crop up constantly: 3, 4, 5 · 5, 12, 13 · 8, 15, 17 · 7, 24, 25. Any multiple works too, so 6, 8, 10 is just 3, 4, 5 doubled.
Memory hook: a² + b² = c², with c the longest side opposite the right angle. Add to find the hypotenuse, subtract to find a leg, then square-root either way.