On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Geometry Fundamentals · Grade 6-8

Pythagorean Theorem

The Pythagorean theorem relates the side lengths of a right triangle: a2+b2=c2.

a2+b2=c2

Quick Answer

The Pythagorean theorem relates the side lengths of a right triangle: a2+b2=c2. Use it when a triangle has a right angle, you know two of its sides, and you need the third: the length of a ladder, the diagonal of a screen, a shortcut across a park. Here c is the hypotenuse, the longest side, across from the right angle. It also works backwards: if three lengths satisfy a2+b2=c2, the triangle has a right angle.

Why This Matters

It turns two easy measurements into a hard one. You can find the diagonal of a TV, the distance across a pond, or how high a ladder reaches without measuring the slanted length directly. Builders use the 3-4-5 rule to check square corners. Used on a triangle without a right angle, it gives a wrong length with no warning.

Intuitive Explanation

Draw a right triangle with legs 3 and 4 on grid paper and build a square on each side. The square on the 3 side holds 9 small squares and the square on the 4 side holds 16. The square on the slanted side, the hypotenuse, holds 25, exactly 9+16. That is the theorem in a picture: the two smaller squares together have the same area as the big one, so 32+42=52 and the hypotenuse is 5.

To use it, find the right angle first. The side across from it is c, the hypotenuse, and it is always the longest side. The two sides that form the right angle, the legs, are a and b, in either order. To find c, add the squares of the legs and take the square root. To find a leg, subtract: b2=c2−a2. Either way, finish with a square root, because the equation gives the area of a square, not its side.

The theorem belongs only to right triangles. A triangle with sides 4, 5 and 6 has 42+52=41 but 62=36, so it has no right angle and the equation is false for it. The mismatch even tells you the shape: when a2+b2 is bigger than c2, the largest angle is less than 90∘, and when it is smaller, the largest angle is more than 90∘.

Think of it like this. Imagine the squares on the sides of a right triangle as square trays of sand. Pour the sand from the two smaller trays into the biggest tray and it fills it exactly. If the corner is narrower than a right angle the big tray overflows, and if it is wider the sand falls short.

Core idea. The theorem connects the side lengths of right triangles only.


When to Use

Use the theorem when the problem has a right angle (a square corner, a wall meeting the ground, a trip north then east) and gives two sides of that triangle. Look for words like diagonal, ladder, straight-line distance or hypotenuse. To test whether a corner is square, check whether the three lengths satisfy the equation. If there is no right angle, use other triangle facts instead; on a coordinate grid, the Distance Formula packages the same idea.

Tip. Ask: Do I know which side is the hypotenuse?

How to Recognize It

Check for a right angle, and note which two sides of that right triangle you already know, before writing a2+b2=c2.

  1. Does the triangle have a right angle, marked by a small square or formed by a real square corner such as a wall meeting the floor?

    If yes, the theorem applies. If not, a2+b2=c2 is false: sides 3 and 4 meeting at 60∘ give a third side of about 3.6, not 5. That case needs trigonometry.

  2. Is the missing side the one across from the right angle?

    If yes, add the squares and take the square root: legs 5 and 12 give 169=13. If the missing side is a leg, subtract instead: hypotenuse 10 and leg 6 give 100−36=8.

  3. Are the two points given as coordinates on a grid?

    If yes, the legs are the horizontal and vertical gaps, and the distance formula does the same work in one line. From (1,2) to (4,6) the gaps are 3 and 4, so the distance is 5.

  4. Are you given three lengths and asked whether the corner is square?

    If yes, run the theorem backwards: 7, 24, 25 works, since 49+576=625. If you only need to know whether the lengths make any triangle at all, use the triangle inequality instead.

Pythagorean Theorem compared with Distance formula and Triangle inequality

The Pythagorean theorem, the distance formula and the triangle inequality all work with the side lengths of a triangle. Ask whether there is a right angle, whether the points sit on a coordinate grid, and whether you only need to know the triangle exists.

Pythagorean Theorem

Meaning
Use this when a right triangle has one missing side length or side lengths need to be checked for a right angle.
Key test
Do I know which side is the hypotenuse?
Formula
a2+b2=c2
Example
A right triangle has legs 6 and 8. Find the hypotenuse.

Distance formula

Meaning
Uses the theorem on coordinate differences.
Key test
Use when points are on a coordinate plane.
Formula
d=(x2−x1)2+(y2−y1)2
Example
Distance between points

Triangle inequality

Meaning
Checks whether sides can form any triangle.
Key test
Use before assuming a triangle exists.
Formula
a+b>c
Example
Can 2, 3, 10 form a triangle?

Formula & Notation

a2+b2=c2
In △ABC with ∠C=90°: ∣AB∣2=∣AC∣2+∣BC∣2, equivalently c2=a2+b2 where c=∣AB∣

How to read it: c is the hypotenuse, the side opposite the right angle.

Worked Examples

Example 1 — Find the hypotenuse

Easy

A right triangle has legs 6 and 8. Find the hypotenuse.
Show the steps and the answer
  1. Label the sides: the legs are a=6 and b=8, and the hypotenuse c is unknown.

    The two given sides form the right angle, so the missing side is the one across from it.

  2. Substitute and square each leg: 62+82=36+64=100, so c2=100.

    Square each leg before adding; (6+8)2=196 would be a different calculation.

  3. Take the square root: c=100=10.

    The equation gives the area of the square on the hypotenuse; the side is its square root.

  4. Check: 10 is longer than 6 and 8, and 6-8-10 is the 3-4-5 triangle doubled.

    The hypotenuse must be the longest side, and doubling every side of a right triangle keeps the right angle.

Answer: 10

Takeaway: For the hypotenuse, square the legs, add, and take the square root.

Example 2 — Not a right triangle

Standard

A triangle has sides 6, 8, and 12. Can you use the theorem to find a missing side?
Show the steps and the answer
  1. Notice that no side is missing: all three lengths are given.

    There is nothing to solve for, so the only useful question is whether the triangle is right.

  2. Test the longest side as the hypotenuse: 62+82=36+64=100, but 122=144.

    If the triangle had a right angle, the longest side would sit across from it and the two totals would match.

  3. Since 100≠144, the triangle has no right angle.

    The converse of the theorem says the equation holds only when the angle is exactly 90∘.

  4. Read the shape: 100<144, so the angle across from the 12 side is wider than 90∘.

    The longest side is too long for a right triangle, so the triangle is obtuse.

Answer: Not a right triangle

Takeaway: The theorem fits only right triangles. With three sides given, use it as a test: if a2+b2≠c2, there is no right angle.

Example 3 — Find the mistake: which side is the hypotenuse?

Application

A 13-foot ladder leans against a wall with its foot 5 feet from the wall. How high up the wall does it reach? Sam writes: "52+132=c2, so c=194≈13.9 feet." Find the mistake and correct it.
Show the steps and the answer
  1. Sense check: a 13-foot ladder cannot reach 13.9 feet up a wall.

    The height is a leg, and a leg is always shorter than the hypotenuse.

  2. Find the right angle: where the wall meets the ground. The side across from it is the ladder.

    So the 13-foot ladder is the hypotenuse c, not a leg; Sam put it in the wrong place.

  3. Set up correctly: 52+h2=132, so h2=169−25=144.

    When the hypotenuse is known, subtract the square of the known leg from its square.

  4. Take the square root: h=144=12. Check: 52+122=25+144=169=132.

    The equation balances, and 12 is shorter than 13, as a leg must be.

Answer: The ladder reaches 12 feet up the wall.

Takeaway: The hypotenuse sits across from the right angle; when it is the side you know, subtract to find a leg.

Where You'll See It

  • TV screen sizes

    A TV is sold by its diagonal. A screen 48 inches wide and 27 inches tall has diagonal 482+272=2304+729=3033≈55 inches, so it is sold as a 55-inch TV.

  • Checking a square corner

    Builders mark 3 feet along one wall and 4 feet along the other. If the two marks are exactly 5 feet apart, the corner is 90∘, because 32+42=52. For bigger rooms they use 6-8-10 or 9-12-15.

  • A shortcut across a park

    A rectangular park is 300 m by 400 m. Walking along two edges is 300+400=700 m, but the diagonal path is 3002+4002=250,000=500 m, which saves 200 m.

Watch a Problem Solved

Find the hypotenuse: legs 6 and 8

Watch the 6-8-10 right triangle solved — and learn to spot the 3-4-5 shortcut.

Read the transcript
  1. Here's a right triangle. Its two legs measure six and eight, and we want the hypotenuse — the long side across from the right angle.
  2. The Pythagorean theorem connects them: the square of one leg plus the square of the other leg equals the square of the hypotenuse.
  3. So we square each leg. Six squared, and eight squared.
  4. Six squared is thirty-six, eight squared is sixty-four, and together they make one hundred.
  5. Now take the square root of one hundred. The hypotenuse is ten.
  6. Here's the shortcut a strong solver spots: six, eight, ten is just three, four, five doubled. When you recognize a scaled Pythagorean triple, you can write the answer instantly, with no arithmetic.
  7. One trap to avoid: don't stop at c-squared equals one hundred and write c equals one hundred. The theorem gives you c-squared, so you still have to take the square root.
  8. And that's it. The hypotenuse is ten — a clean three, four, five triple in disguise. Spotting these by eye is a real competition skill.

Common Mistakes

  1. The slip: Using the theorem without a right angle

    Instead: confirm the triangle is right first.

  2. The slip: Putting a leg in the hypotenuse spot

    Instead: the hypotenuse is opposite the right angle and is longest.

  3. The slip: Forgetting to take the square root

    Instead: solving for a side length requires undoing the square.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. A right triangle has legs of 5 cm and 12 cm. Find the hypotenuse.

    Hint: Square both legs, add, then take the square root.

  2. A right triangle has a hypotenuse of 10 m and one leg of 6 m. Find the other leg.

    Hint: The hypotenuse squared is the biggest square; subtract to find a leg.

  3. A TV screen is 48 inches wide and 36 inches tall. How long is its diagonal?

    Hint: The diagonal splits the screen into two right triangles.

  4. Is a triangle with sides 7, 24 and 25 a right triangle?

    Hint: Check whether the two shorter sides squared add to the longest side squared.

  5. You have sticks of 4 cm, 5 cm and 10 cm and want to know if they can form any triangle at all. Pythagorean theorem or triangle inequality?

    Hint: Do you know there is a right angle?

  6. A student writes: "Hypotenuse 15, leg 9, so x2=152+92=306 and x≈17.5." Correct the mistake.

    Hint: Can a leg be longer than the hypotenuse?

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

What are Pythagorean triples?

They are whole-number sides that fit a2+b2=c2a^2+b^2=c^2 exactly, such as 3, 4, 5 and 5, 12, 13 and 8, 15, 17. Multiplying a triple by any whole number gives another: 6, 8, 10 and 30, 40, 50 also work. Test makers like them because the square root comes out whole, so if two sides are 9 and 12, try 15 and check: 81+144=225=15281+144=225=15^2.

Why do builders use a 3-4-5 measurement to check a corner?

Mark 3 m along one wall and 4 m along the other, both measured from the corner. If the straight gap between the two marks is exactly 5 m, the corner is a right angle, because 32+42=523^2+4^2=5^2. If the gap is longer than 5 m, the corner is wider than square; if shorter, it is narrower. Builders and gardeners do this with a tape measure, no protractor needed.

Does the theorem work in three dimensions?

Yes, if you use it twice. To find the long diagonal of a box 3 by 4 by 12, first find the diagonal of its floor: 32+42=5\sqrt{3^2+4^2}=5. That floor diagonal and the height of 12 form a new right triangle, so the long diagonal is 52+122=13\sqrt{5^2+12^2}=13. In one step: 32+42+122=169=13\sqrt{3^2+4^2+12^2}=\sqrt{169}=13.

Is the hypotenuse always the longest side?

Yes. The right angle is the biggest angle in a right triangle, since the other two share the remaining 90∘90^\circ, and the longest side always sits across from the biggest angle. The equation shows it too: c2c^2 equals a2a^2 plus something positive, so cc is longer than aa, and longer than bb by the same reasoning. If a leg comes out longer than the hypotenuse, you added where you should have subtracted.

Learning Path

Pythagorean Theorem

You are here

You need Triangles (to find the right angle and the longest side), Exponents (to square numbers) and Square Roots (to undo the square). The theorem adds a rule that links all three sides of a right triangle. Next, the Distance Formula applies it to points on a coordinate grid, and Trigonometric Functions handle right triangles where you know an angle and only one side.

See Also