What is the Pythagorean theorem?
The Pythagorean theorem says that in a right triangle, a2 + b2 = c2. The legs are a and b, the two sides that form the right angle. The hypotenuse, c, is the longest side across from the right angle. Legs of 3 and 4 give 9 + 16 = 25, so the hypotenuse is 5.
Pythagorean Theorem in a picture
Formal definition and notation
In any right triangle with legs of lengths a and b and hypotenuse of length c, a2 + b2 = c2: the area of the square drawn on the hypotenuse equals the sum of the areas of the squares drawn on the legs. The converse is also true: if the side lengths of a triangle satisfy a2 + b2 = c2, the triangle has a right angle opposite the side c. Whole-number solutions, such as 3, 4, 5, are called Pythagorean triples.
| Symbol | Read it as | Meaning |
|---|---|---|
| a, b | a and b | the legs: the two sides that meet at the right angle |
| c | c | the hypotenuse, opposite the right angle |
| c = √a2 + b2 | c equals the square root of a squared plus b squared | the theorem solved for the hypotenuse |
Key facts
- The hypotenuse is always the longest side and always sits across from the right angle.
- Common Pythagorean triples: 3, 4, 5; 5, 12, 13; 8, 15, 17; 7, 24, 25. Multiples work too: 6, 8, 10 is 2 × (3, 4, 5).
- The converse tests for a right angle: 9, 40, 41 is a right triangle because 81 + 1600 = 1681 = 412.
- The distance between two points comes from the theorem: from (1, 2) to (4, 6) the legs are 3 and 4, so the distance is 5.
- For a triangle that is not right, a2 + b2 ≠ c2: with c the longest side, a2 + b2 > c2 means acute and a2 + b2 < c2 means obtuse.
Pythagorean theorem
- a, b
- the lengths of the legs
- c
- the length of the hypotenuse, the longest side
Hypotenuse missing: c = √a2 + b2. Leg missing: a = √c2 − b2. Square first, add or subtract, then take the square root last.
Try it: drag the legs
Drag the blue or orange point, or select one and use the arrow keys, to change the legs. The readout squares them, adds, and takes the square root. Look for whole-number triples like 5, 12, 13.
Pythagorean Theorem examples, step by step
Example 1: Find the hypotenuse
A right triangle has legs 5 and 12. How long is the hypotenuse?
- Square the legs: 52 = 25 and 122 = 144.
- Add: 25 + 144 = 169, so c2 = 169.
- Take the square root: c = √169 = 13.
Answer: The hypotenuse is 13 units long.
Example 2: Find a missing leg
A right triangle has a hypotenuse of 17 and one leg of 8. Find the other leg.
- The hypotenuse is c = 17, so 82 + b2 = 172.
- 64 + b2 = 289.
- Subtract: b2 = 289 − 64 = 225.
- b = √225 = 15. Check: 8, 15, 17 is a known triple.
Answer: The other leg is 15.
Example 3: A ladder against a wall
A 10-foot ladder leans against a wall. Its base is 4 feet from the wall. How high up the wall does the ladder reach, to the nearest tenth of a foot?
- The wall and the ground meet at a right angle. The ladder is the hypotenuse: c = 10.
- 42 + h2 = 102, so 16 + h2 = 100.
- h2 = 84, so h = √84 ≈ 9.17.
- Check: the height must be less than the ladder, 10 feet. It is.
Answer: The ladder reaches about 9.2 feet up the wall.
Common mistakes
The formula works for right triangles only.
The hypotenuse goes alone on one side of the equation. A leg can never be longer than the hypotenuse.
The theorem gives c2. Take the square root as the last step.
The squares of the sides add up, not the sides. The hypotenuse is always shorter than the two legs put together.
Not to be confused with
The hypotenuse is one side of a right triangle, c. The Pythagorean theorem is the equation that links it to the legs.
The distance formula, d = √(x2 − x1)2 + (y2 − y1)2, is the Pythagorean theorem used on a coordinate plane, with the legs as the horizontal and vertical changes.
A Pythagorean triple is a set of three whole numbers that fit the theorem, like 5, 12, 13. The theorem itself works for any right triangle, including sides like 1, 1 and √2.
Quick check: 3 questions
A right triangle has legs 9 and 12. How long is the hypotenuse?
Answer: B. 81 + 144 = 225 and √225 = 15. Choice A adds the legs, C forgets the square root, and D subtracts the squares as if 12 were the hypotenuse.Show answer and explanation
Which set of side lengths makes a right triangle?
Answer: D. 72 + 242 = 49 + 576 = 625 = 252. For the others, the squares of the two shorter sides do not add up to the square of the longest: 16 + 25 ≠ 36, 25 + 100 ≠ 144, 4 + 9 ≠ 16.Show answer and explanation
What is the distance between the points (1, 2) and (7, 10)?
Answer: A. The legs are 7 − 1 = 6 and 10 − 2 = 8, so the distance is √36 + 64 = 10. Choice B adds the legs, C forgets the square root, and D is only the vertical leg.Show answer and explanation
Pythagorean Theorem: frequently asked questions
Does the Pythagorean theorem work for all triangles?
No. It works only for right triangles, those with a 90° angle. For other triangles, a2 + b2 is bigger or smaller than c2. You can use that as a test: if the side lengths satisfy a2 + b2 = c2, the triangle must be a right triangle. That is the converse of the theorem.
How do I know which side is c?
c is the hypotenuse: the side across from the right angle, which is also the longest side. The two sides that touch the right-angle mark are the legs, a and b, and it does not matter which leg you call a. If a problem gives you three lengths, the largest one is c.
What is a Pythagorean triple?
A set of three whole numbers that fit a2 + b2 = c2, such as 3, 4, 5 or 5, 12, 13. Multiplying a triple by any whole number gives another one: 3, 4, 5 times 3 is 9, 12, 15. Recognizing triples saves time on tests, because you can skip the square root.
Practice and tools
Sources
- Common Core State Standards, Grade 8 Geometry (8.G.B.6, 8.G.B.7, 8.G.B.8)
- OpenStax, Prealgebra 2e, 9.3 Use Properties of Angles, Triangles, and the Pythagorean Theorem
Updated November 2026·Reviewed by the Effortless Math team·Standards: CCSS 8.G.B.6, CCSS 8.G.B.7, CCSS 8.G.B.8
Cite this entry
Effortless Math Team. “Pythagorean Theorem.” Effortless Math Dictionary. Updated November 2026. https://www.effortlessmath.com/math-dictionary/pythagorean-theorem/
Flashcard
Browse all terms in the Math Dictionary · More geometry terms · Random term



