Geometry · Right Triangles

How to Use the Pythagorean Theorem

Finding missing sides of right triangles, step by step. Covers finding the hypotenuse, finding a leg, Pythagorean triples, and real-world word problems.

The Formula

In any right triangle, the relationship between the three sides is:

The Pythagorean Theorem
\[a^2 + b^2 = c^2\]
where \(a\) and \(b\) are the two legs · \(c\) is always the hypotenuse

The hypotenuse is the side directly across from the right angle — it's always the longest side. The other two sides are called legs. The theorem only works on right triangles.

Finding the Hypotenuse

Use this when you know both legs and need to find the hypotenuse \(c\).

Process

Square both legs, add them together, then take the square root: \(c = \sqrt{a^2 + b^2}\)

Example 1 — Find the Hypotenuse

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

Plug into the formula.
\(a^2 + b^2 = c^2\)
\(5^2 + 12^2 = c^2\)
\(25 + 144 = c^2\)
\(169 = c^2\)
\(c = \sqrt{169} = 13\)
The hypotenuse is 13. This is the 5-12-13 Pythagorean triple — memorizing it saves you calculation time on tests.

Finding a Missing Leg

Use this when you know the hypotenuse and one leg and need to find the other leg.

Process

Rearrange the formula to isolate the missing leg: \(a = \sqrt{c^2 - b^2}\). Subtract the known leg squared from the hypotenuse squared, then take the square root.

Example 2 — Find a Missing Leg

A right triangle has a hypotenuse of 17 and one leg of 8. Find the other leg.

Plug in what you know.
\(8^2 + b^2 = 17^2\)
\(64 + b^2 = 289\)
\(b^2 = 225\)
\(b = \sqrt{225} = 15\)
The missing leg is 15. This is the 8-15-17 Pythagorean triple.
Example 3 — Non-Perfect-Square Answer

Legs of 4 and 6. Find the hypotenuse.

\(4^2 + 6^2 = c^2\)
\(16 + 36 = 52\)
\(c = \sqrt{52} = 2\sqrt{13} \approx 7.21\)

Leave the answer as \(2\sqrt{13}\) in exact form, or round to the decimal places your teacher specifies. Not every answer is a whole number — that's fine.

Pythagorean Triples Worth Memorizing

These are sets of whole numbers that satisfy \(a^2 + b^2 = c^2\). Recognizing them on sight saves significant time on tests.

3 · 4 · 5

The classic. All multiples work too: 6-8-10, 9-12-15

5 · 12 · 13

Common on SAT and ACT

8 · 15 · 17

Shows up in geometry courses regularly

Word Problem Example

Example 4 — Real World

A ladder 10 feet long leans against a wall. The base is 6 feet from the wall. How high does the ladder reach?

Draw and label it. The ladder is the hypotenuse (\(c = 10\)), the base is one leg (\(a = 6\)), and the height on the wall is the missing leg (\(b\)).
Solve.
\(6^2 + b^2 = 10^2\)
\(36 + b^2 = 100\)
\(b^2 = 64\)
\(b = 8\) feet
The ladder reaches 8 feet up the wall. And 6-8-10 is just a 3-4-5 triple scaled by 2 — which you'd spot immediately if you have the triples memorized.
Common Mistakes to Avoid

Using the formula on a non-right triangle. The Pythagorean theorem only works when there's a right angle (90°). If you don't have a right triangle, you need the Law of Cosines instead.

Mixing up which side is \(c\). The hypotenuse is always \(c\) — the side opposite the right angle, always the longest. If you plug a leg in as \(c\), you'll get a wrong answer even if your algebra is perfect.

Adding instead of subtracting when finding a leg. To find a missing leg, rearrange to \(b^2 = c^2 - a^2\). Students sometimes write \(c^2 + a^2\) out of habit. You're subtracting, not adding.

Forgetting to take the square root at the end. \(c^2 = 169\) means \(c = 13\), not 169. The square root is the last step — don't leave it as \(c^2\).

Need Help with Geometry?

Right triangles, area, volume, proofs — book a free consultation and we'll work through exactly what your class is covering right now.

Book Free Consultation Try Practice Problems