The Pythagorean theorem is a rule about triangles that have a square corner, called right triangles. If you build a square on each side, the two smaller squares together hold exactly as many tiles as the biggest square. In math language that is a2 + b2 = c2. For a triangle with sides 3, 4 and 5: 9 + 16 = 25.
First, what is a right triangle?
A right angle is a square corner, like the corner of a book, a door frame or a sheet of paper. It measures exactly 90 degrees (90°). A right triangle is a triangle with one of these square corners. In drawings, a tiny square in the corner tells you it is a right angle.
The sides of a right triangle have names:
- The two sides that make the square corner are the legs. We call them a and b.
- The side across from the square corner is the hypotenuse (say "hy-POT-en-yoos"). We call it c. It is always the longest side.
The rule only works for right triangles. If a triangle has no square corner, the rule doesn't apply.
What "squared" means
To square a number, multiply it by itself. We write a small 2 up high: 32 means 3 × 3 = 9. It is called "squared" because a square that is 3 tiles wide and 3 tiles tall has 9 tiles in it.
Be careful: squaring is not times 2. 32 is 9, not 6. Here are the first few squares:
| Number | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
| Squared | 1 | 4 | 9 | 16 | 25 | 36 | 49 | 64 | 81 | 100 |
The 3-4-5 tile-counting activity
You can see the rule for yourself with grid paper. You need grid paper, a pencil, colored pencils and scissors.
- Draw the triangle. Draw a line 3 squares tall going up, and a line 4 squares long going across from the bottom of it. Join their ends with a slanted line. That is a right triangle with legs 3 and 4.
- Build a square on each leg. On the 3 side, draw a 3 × 3 square and color it blue. On the 4 side, draw a 4 × 4 square and color it orange.
- Count the tiles. The blue square has 9 tiles and the orange square has 16. Together that is 25 tiles.
- Measure the slanted side. Use the edge of another sheet of grid paper as a ruler. The slanted side is exactly 5 squares long.
- Build the big square. A 5 × 5 square has 25 tiles. Cut out your 9 blue and 16 orange tiles. They fill the big square exactly, with none missing and none left over.
Here is the same idea drawn on the triangle itself. Each square sits on one side.
This works for every right triangle, not just this one. Mathematicians have proved it in hundreds of different ways. You can see some of them, with moving pictures, on the proofs page.
The shortcut across the park
Maya walks from home to school. The streets go around a rectangular park: 300 meters up one side, then 400 meters along the top. That's 700 meters in total.
One day she cuts straight across the park instead. How far is that? The two streets meet at a square corner, so her shortcut is the hypotenuse of a right triangle.
The shortcut is 500 meters, so Maya saves 200 meters. Going straight across is always shorter than going around the corner. That's true for every right triangle, and it's a good way to check your answers: the hypotenuse is longer than each leg but shorter than the two legs added together.
How to use the rule in three steps
When you know the two legs and want the hypotenuse, do this:
- Square each leg. For legs 6 and 8: 62 = 36 and 82 = 64.
- Add the squares. 36 + 64 = 100. That is how many tiles are in the big square.
- Find the square root. Ask: "Which number times itself makes 100?" The answer is 10, so the hypotenuse is 10. This step is called taking the square root, written √100 = 10. A calculator's √ button does it for you.
Not every answer is a whole number. A triangle with legs 1 and 1 has a hypotenuse of √2, which is about 1.41. That's fine; it is still a real length you can draw.
What if you know the hypotenuse and one leg? Then you subtract instead of adding. A 5-meter ladder leans on a wall with its foot 3 meters from the wall. The ladder is the hypotenuse, so the height is √52 − 32 = √25 − 9 = √16 = 4 meters. Older students can learn more on finding a missing side.
Real-life examples: screens and pizza boxes
How big is that screen?
TV, tablet and phone screens are measured from one corner to the opposite corner, along the diagonal. A tablet screen that is 8 inches wide and 6 inches tall has a diagonal of √64 + 36 = √100 = 10 inches, so it is called a 10-inch screen. Try the screen size calculator with your own TV.
Will the breadstick fit?
A square pizza box is 30 cm on each side. You have a breadstick that is 40 cm long. It won't fit along a side, because 40 is more than 30. But will it fit if you lay it from corner to corner?
The diagonal is about 42.4 cm, so the 40 cm breadstick fits, with a little room to spare.
Five easy practice questions
Try each one before you open the answer. Use a calculator for square roots if you like.
1. The squares on the two legs have 36 tiles and 64 tiles. How many tiles are in the square on the hypotenuse, and how long is the hypotenuse?
36 + 64 = 100 tiles. Since 10 × 10 = 100, the hypotenuse is 10 long.
2. A right triangle has legs 5 and 12. How long is the hypotenuse?
52 + 122 = 25 + 144 = 169, and 13 × 13 = 169, so the hypotenuse is 13.
3. A field is 60 m wide and 80 m long. How much shorter is it to walk diagonally across than to walk along two sides?
Diagonal: √602 + 802 = √3600 + 6400 = √10000 = 100 m. Along two sides: 60 + 80 = 140 m. The shortcut is 40 m shorter.
4. A tablet screen is 6 inches wide and 8 inches tall. What size screen is it?
62 + 82 = 36 + 64 = 100, and √100 = 10. It is a 10-inch screen. (Turning the screen sideways doesn't change the diagonal.)
5. Can a triangle with sides 4, 5 and 6 be a right triangle?
Test the two shorter sides against the longest: 42 + 52 = 16 + 25 = 41, but 62 = 36. They are not equal, so it is not a right triangle. Checking like this uses the converse of the theorem.
Want more? Try the printable worksheets or the quiz, and check answers with the Pythagorean theorem calculator.
Tips for parents and teachers
- Start with tiles, not the formula. Counting squares on grid paper, or laying out square crackers or sticky notes, makes a2 mean "a square of tiles" before it means anything else. Many children first mix up 32 with 3 × 2, and tiles fix that.
- Make a 3-4-5 corner. Mark a string at 12 equal spaces and tie it into a loop. Stretch it into a triangle with sides of 3, 4 and 5 spaces, and the corner between the 3 and the 4 is a right angle. Builders still use 3-4-5 measurements to check square corners. More hands-on ideas are on the classroom activities page.
- Measure real things. Measure the width and height of a TV, phone or picture frame, predict the diagonal, then check it with a tape measure. Small differences come from rounding and from the frame around the screen.
- Let them use a calculator for square roots. The big idea is "square, add, square root". Finding √169 by hand is a separate skill and can come later.
- Know where it fits. In the United States the theorem is part of the 8th-grade Common Core standards (see the 8th grade standards page), but younger children can enjoy the tile version as soon as they can multiply.
- Watch for two classic mix-ups: adding the sides instead of their squares (3 + 4 is not 5) and forgetting the square root at the end (25 is the tiles, 5 is the side).
For a slightly more grown-up explanation of the same ideas, read what is the Pythagorean theorem?
Frequently asked questions
Who discovered the Pythagorean theorem?
It is named after Pythagoras, a Greek thinker who lived about 2,500 years ago. But people knew the rule long before him: a Babylonian clay tablet called Plimpton 322, made more than 1,000 years before Pythagoras was born, lists numbers that fit it. It was also known in ancient India and China. Learn more about who Pythagoras was.
Does it work for every triangle?
No, only for right triangles, the ones with a square corner. For other triangles, the two small squares don't add up to the big one: they come out too big or too small.
What does a² + b² = c² mean in simple words?
Square the two short sides, add them up, and you get the square of the long side. a and b are the two legs, c is the hypotenuse, and the little 2 means "multiply the number by itself".
What grade do you learn the Pythagorean theorem?
In the United States most students learn it in 8th grade, at about age 13 or 14. Some meet the tile idea earlier, and it is used again in high school geometry, trigonometry and physics.
What is the Pythagorean theorem used for?
Builders use it to make square corners, map apps and video games use it to work out straight-line distances, and screen sizes are measured with it. You can explore more on the real-life uses page.
Keep exploring
- LearnWhat Is the Pythagorean Theorem?What the Pythagorean theorem is: a plain-English definition, the formal statement a² + b² = c², what it means with squares, and why it needs a right angle.
- TeachPythagorean Theorem ActivitiesTen hands-on Pythagorean theorem activities and project ideas, from a paper-puzzle proof and 12-knot rope to a treasure hunt, with materials, steps and prompts.
- PracticePythagorean Theorem WorksheetsFree Pythagorean theorem worksheets with answers: a printable worksheet generator plus ready-made sheets on the hypotenuse, missing sides and word problems.
- TriplesThe 3-4-5 TriangleThe 3-4-5 triangle explained: its angles (36.87° and 53.13°), area, perimeter and inradius, the 3-4-5 rule for square corners, multiples and history.
- CalculatorsPythagorean Theorem CalculatorFree Pythagorean theorem calculator. Enter any two sides of a right triangle to find the third, with step-by-step working, exact radical answers and a drawing.
- HistoryWho Was Pythagoras?Who was Pythagoras of Samos? What we really know about his life, his community at Croton, the music ratios, the ox legend, and whether he proved the theorem.