Mathematics & Logic · Geometry & space

The Pythagorean theorem

In a right triangle, the squares on the two short sides add up to the square on the long side. See why that's true, how builders use it, and how Babylon, India and China knew it before Pythagoras.

4 short lessons · about 17 minutes · 5 sources · updated November 2026

What you will learn

  • State what the theorem says about the squares on the sides of a right triangle
  • Explain how rearranging four copies of a triangle proves the theorem
  • Use the theorem to find a missing side of a right triangle
  • Explain why a triangle with sides 3, 4 and 5 always has a right angle

Lesson 1 of 4 · 4 min

Three squares and a proof you can see

Before you readSquares drawn on a right triangle's two shorter sides cover 9 and 16 tiles. How many tiles cover the square on the longest side?

Correct.Not quite. The answer is 25.

It's 25 tiles, exactly 9 plus 16. The lesson shows that this always happens in a right triangle, and why.

Draw a triangle with one square corner, like the corner of a sheet of paper. That's a right triangle, and the square corner is its right angle.

The side across from the right angle is always the longest. It's called the hypotenuse. The other two sides are the legs.

Now build a real square on each side, using that side as one edge. The theorem says the two squares on the legs cover the same area as the square on the hypotenuse.

With legs a and b and hypotenuse c, that's the line most people remember, a squared plus b squared equals c squared. Euclid wrote it around 300 BC in words about squares, not letters, which is closer to the picture.

Check yourselfIn a right triangle, which statement is the Pythagorean theorem?

Correct.Not quite. The answer is The legs' squares add up to the hypotenuse's square.

The theorem is about areas of squares, not lengths. Two legs laid end to end are always longer than the hypotenuse, and the halves rule only works when both legs are equal.

Why should the areas match? Take a big square frame with sides a plus b. Put four copies of the triangle inside it, one in each corner.

Arranged one way, the four triangles leave a tilted empty square in the middle. Its sides are hypotenuses, so its area is c squared.

Slide the same four triangles into pairs, each pair making a rectangle. Now the empty space is two separate squares, a squared and b squared.

Nothing was added or removed, because the frame and the triangles stayed the same. So the empty space didn't change, which means c squared equals a squared plus b squared.

Try to recallIn the rearrangement proof of the Pythagorean theorem, why must the one tilted square equal the two smaller squares?

Both arrangements put the same four triangles inside the same big square frame. So the uncovered area is the frame minus the triangles both times. One arrangement leaves c squared uncovered and the other leaves a squared plus b squared, so those must be equal.

In any right triangle, the squares on the two legs add up to the square on the hypotenuse. You can see why by fitting four copies of the triangle into one frame two different ways.

Lessons in this topic

  1. Three squares and a proof you can see

    Learn what the theorem says about the squares on a right triangle's sides, and follow a cut-and-rearrange proof that shows why it has to be true.

    Essentials · 4 min

  2. Finding a missing side, from ladders to screens

    Use the theorem to work out a length you can't easily measure, and see why a 3-4-5 triangle gives builders a perfect square corner.

    Essentials · 4 min

  3. Known for a thousand years before Pythagoras

    See the clay tablets that show Babylonian scribes using the rule around 1800 BC, and how Indian altar builders and Chinese astronomers wrote it down in their own ways.

    Deeper · 5 min

  4. The same rule measures distance everywhere

    See how the theorem gives straight-line distance on a map, inside a box and between data points with many measurements, and where it stops working.

    Deeper · 4 min

Three quick stories from this topic

A congressman's proof

A future US president published his own proof of the Pythagorean theorem in 1876

James Garfield, then a congressman from Ohio, printed it in the New-England Journal of Education, built on a trapezoid. He became president five years later.

One of hundreds

The theorem may have more proofs than any other. A 1940 book collected 370 of them.

Why so many

A right triangle can be cut and rearranged in many ways, and each arrangement that keeps the areas equal gives another proof.

A 3,800-year-old triangle table

A clay tablet from about 1800 BC records a right triangle with a side of 18,541

The tablet, Plimpton 322, has 15 rows, and row 4 fits a whole-number right triangle with sides 12,709, 13,500 and 18,541. Nobody finds numbers like that by luck, so its scribes likely had a method.

Older than Pythagoras

It was written near the city of Larsa, in what is now Iraq, more than a thousand years before Pythagoras was born.

Still a puzzle

Historians still argue over what the table was for. A popular view is that a teacher used it to set problems.

Why TVs are sold diagonally

Screens are sold by their diagonal because the first TV picture tubes were round

Early tubes were measured across the middle, and the habit stuck when screens became rectangles. So a 40-by-30-inch screen is sold as 50 inches, its hypotenuse.

A hypotenuse on the shelf

The width and height meet at a right angle, so the diagonal comes from the squares of both added together.

Bigger sounding numbers

The diagonal is always longer than either the width or the height, which is why the advertised number looks so large.

Sources

  • Scale, area and volume

    See why doubling a shape's size can mean four times the covering and eight times the filling, and why the answer changes when only one dimension grows.

    4 lessons · 16 min

  • Angles and triangles

    An angle measures turning, and a triangle is the one shape that can't be pushed out of shape. See why its angles always make a half turn, when two triangles match, and how that measured the Earth.

    4 lessons · 16 min

  • If-then statements and the mistake of reversing them

    Learn the one way an if-then statement can be false, why reversing it makes a different claim, and what you commit to when you deny one.

    4 lessons · 20 min

  • Fractions and decimals

    A fraction is a number, a division and a share all at once. See why adding needs a common denominator and multiplying doesn't, and why some fractions become decimals that never end.

    4 lessons · 16 min

  • Prime numbers

    Primes can't be split into smaller factors, and every whole number is built from them in exactly one way. See how to find them, why they never run out, and why online security relies on them.

    4 lessons · 16 min

  • What a database is

    See how tables, rows and keys organize records, how one SQL question pulls out an answer, why a spreadsheet stops being enough and when other kinds of database fit better.

    4 lessons · 16 min

All mathematics & logic topics · Take the quiz