iTutorzz
Back to Blog
Learning Tips Aug 17, 2026 8 min read

The Pythagorean Theorem Explained (With Examples)

By Maya Ellis · Mathematics Specialist

The Pythagorean theorem says a² + b² = c² for any right triangle. Here's how to use it to find a missing side, test for right angles, and measure distance.

The Pythagorean theorem says that in any right triangle, a² + b² = c²: the square of the hypotenuse (c, the side opposite the right angle) equals the sum of the squares of the two shorter sides. That one relationship lets you find any missing side of a right triangle, test whether an angle is a right angle, and even measure distance on a grid.

This guide shows how to use it to find the hypotenuse, find a missing leg, test for a right angle with the converse, and calculate distance - each with a worked example - plus the triples worth memorizing.

The formula: a² + b² = c²

In a right triangle, the two sides that form the right angle are the legs (a and b), and the longest side, opposite the right angle, is the hypotenuse (c). The theorem ties them together:

a2 + b2
=c2
c is always the hypotenuse - the side across from the 90° angle.

Finding the hypotenuse

When you know both legs, square them, add, and take the square root. For legs of 3 and 4:

c2
=32 + 42
=9 + 16 = 25
c
=√25 = 5
The hypotenuse is 5 - the classic 3-4-5 right triangle.

Finding a missing leg

If you know the hypotenuse and one leg, subtract instead of add. Say the hypotenuse is 13 and one leg is 5:

a2
=c2 − b2
=132 − 52 = 169 − 25 = 144
a
=√144 = 12
Solving for a leg, you subtract; solving for the hypotenuse, you add. That's the step students most often flip.

The converse: testing for a right angle

The theorem works in reverse too. If the three sides satisfy a² + b² = c², the triangle must have a right angle opposite the longest side. Check the sides 6, 8, and 10:

62 + 82
=36 + 64 = 100
102
=100
Both sides equal 100, so 6-8-10 is a right triangle. This converse is how you prove an angle is exactly 90°.

Pythagorean triples worth memorizing

A few whole-number right triangles come up again and again. Recognizing them lets you skip the arithmetic:

Triple (a, b, c)Why it works
3, 4, 59 + 16 = 25
5, 12, 1325 + 144 = 169
8, 15, 1764 + 225 = 289
7, 24, 2549 + 576 = 625
Any multiple of a triple works too - 6-8-10 and 9-12-15 are both just the 3-4-5 triangle scaled up.

Using it to measure distance

The distance formula on a coordinate grid is just the Pythagorean theorem in disguise: the horizontal and vertical gaps between two points are the legs, and the straight-line distance is the hypotenuse.

d
=√((x2 − x1)2 + (y2 − y1)2)
The change in x and the change in y are the two legs of a right triangle.

For the points (1, 2) and (4, 6), the horizontal gap is 3 and the vertical gap is 4:

d
=√((4 − 1)2 + (6 − 2)2)
=√(9 + 16) = √25 = 5
The two points are exactly 5 units apart - the 3-4-5 triangle again.

Common mistakes (and how to avoid them)

  • Using the theorem on a triangle that isn't right-angled - it only works when there's a 90° angle.
  • Mislabeling the hypotenuse - it's always the longest side, opposite the right angle.
  • Adding when you should subtract - add to find the hypotenuse, subtract to find a leg.
  • Forgetting the final square root and leaving your answer as c² instead of c.
  • Dropping units - if the sides are in centimetres, the missing side is in centimetres too.

How a tutor makes geometry click

Right-triangle problems get easy once you can see which side is the hypotenuse and whether to add or subtract. A tutor working live on a shared whiteboard draws the figure, labels the sides, and coaches that decision until it's automatic - then connects it to area, trigonometry, and coordinate geometry. Our online geometry tutoring pairs you with a specialist who makes the theorem a tool you reach for with confidence.

Because the Pythagorean theorem underpins trigonometry, the distance formula, and much of coordinate geometry, getting it solid now pays off across the whole subject. Your first trial lesson is free.

The bottom line

The Pythagorean theorem, a² + b² = c², solves any right triangle. Add the squared legs and take the root to find the hypotenuse; subtract to find a leg; use the converse (a² + b² = c²) to test for a right angle; and apply it as the distance formula on a grid. Identify the hypotenuse, choose add or subtract, and the missing side follows every time.

Frequently asked questions

What is the Pythagorean theorem?+

The Pythagorean theorem states that in a right triangle, the square of the hypotenuse (the side opposite the right angle) equals the sum of the squares of the other two sides: a² + b² = c². It lets you find any one side of a right triangle when you know the other two.

How do you find the hypotenuse using the Pythagorean theorem?+

Square the two shorter sides (the legs), add them, and take the square root: c = √(a² + b²). For example, with legs of 3 and 4, c = √(9 + 16) = √25 = 5. The hypotenuse is always the longest side and sits opposite the right angle.

How do you find a missing leg (not the hypotenuse)?+

Rearrange the formula to subtract instead of add: a² = c² − b², so a = √(c² − b²). For instance, if the hypotenuse is 13 and one leg is 5, the other leg is √(169 − 25) = √144 = 12. The key is that you subtract when solving for a leg and add when solving for the hypotenuse.

Does the Pythagorean theorem work for all triangles?+

No - it only works for right triangles (triangles with a 90° angle). For triangles without a right angle, you use the law of sines or the law of cosines instead. In fact, you can use the theorem's converse to test whether a triangle is right-angled: if a² + b² = c², the angle opposite c is exactly 90°.

What are Pythagorean triples?+

Pythagorean triples are sets of three whole numbers that satisfy a² + b² = c², such as 3-4-5, 5-12-13, 8-15-17, and 7-24-25. Recognizing them lets you solve many right-triangle problems instantly, and any multiple of a triple (like 6-8-10) works too.

Can a tutor help me with the Pythagorean theorem and geometry?+

Yes - a tutor working live on a shared whiteboard can draw the triangle, show exactly which side is the hypotenuse, and coach the difference between finding a leg and finding the hypotenuse until it's automatic. That guided practice is what turns the formula into a tool you can use with confidence.

Written byMaya EllisMathematics Specialist

Maya Ellis is a mathematics specialist at iTutorzz. She focuses on making algebra, geometry, trigonometry, calculus, and statistics genuinely click for students, and writes iTutorzz's step-by-step math guides and worked examples.

Ready to put this into practice?

Work 1-on-1 with a vetted iTutorzz tutor - your first trial lesson is free.

Turn insight into real progress

Put these ideas to work with a tutor who personalizes every lesson - your first trial lesson is free.