How to Find a Missing Leg of a Right Triangle (Step-by-Step)

To find a missing leg of a right triangle, subtract the square of the known leg from the square of the hypotenuse, then take the square root: a = √(c^2 – b^2). For a hypotenuse of 13 and a leg of 5, the missing leg is √(169 – 25) = √144 = 12. Five worked examples follow.

How Do You Find a Missing Leg?

Finding a leg is the mirror image of finding the hypotenuse, and the one difference is the operation in the middle: to find the hypotenuse you add the squares; to find a leg you subtract them. The theorem says a^2 + b^2 = c^2, so the hypotenuse squared is the total and the legs squared are the parts. If you know the total and one part, the other part is the total minus the part you know. That gives the two rearranged formulas: a = √(c^2 – b^2) and b = √(c^2 – a^2). The hypotenuse, c, is always the number you subtract from. Remember “hypotenuse squared minus leg squared” and you have the whole method.

Should You Add or Subtract? The Decision Table

The single most common error in this topic is adding when the question wants subtracting, so make the decision before you touch a calculator. Ask one question: is the hypotenuse one of the numbers I was given? If no, both given numbers are legs, and you add. If yes, you are finding a leg, and you subtract. Students who skip this step compute √(13^2 + 5^2) = √194 ≈ 13.93 for a leg of a triangle whose hypotenuse is only 13 — an answer longer than the hypotenuse itself, which is impossible. The full story of that mistake is in our guide to Pythagorean theorem mistakes to avoid.

What is missing?What do you know?OperationFormula
The hypotenuse (c)Both legsAdd the squaresc = √(a^2 + b^2)
A leg (a or b)Hypotenuse + one legSubtract the squaresa = √(c^2 – b^2)

How to Find a Missing Leg Step by Step

Here is the method in full, using the classic 5-12-13 triangle. The hypotenuse is 13 and one leg is 5. Find the other leg.

  1. Label the triangle. The side opposite the right angle is the hypotenuse, c = 13. The known leg is b = 5. The unknown leg is a.
  2. Write the rearranged formula: a = √(c^2 – b^2).
  3. Substitute the numbers: a = √(13^2 – 5^2).
  4. Square both numbers: 13^2 = 169 and 5^2 = 25.
  5. Subtract: 169 – 25 = 144.
  6. Take the square root: √144 = 12.
  7. Check by squaring back: 5^2 + 12^2 = 25 + 144 = 169 = 13^2. The check passes, so the missing leg is 12.

The final check is not optional. Squaring your answer and adding it to the known leg must reproduce the hypotenuse squared. If it does not, you added instead of subtracting, or you labelled the hypotenuse wrong — and the check catches it in seconds.

Worked Example 1: Hypotenuse 25, Leg 7 — the Missing Leg Is 24

This is the 7-24-25 triple, and it shows up in exams precisely because the numbers are large enough that guessing is useless. A right triangle has a hypotenuse of 25 and one leg of 7. Find the other leg.

  1. Label: c = 25, b = 7, and the unknown leg is a.
  2. Formula: a = √(c^2 – b^2) = √(25^2 – 7^2).
  3. Square: 25^2 = 625 and 7^2 = 49.
  4. Subtract: 625 – 49 = 576.
  5. Square root: √576 = 24.
  6. Check: 7^2 + 24^2 = 49 + 576 = 625 = 25^2. It matches.

The missing leg is 24. Notice the built-in sanity check: 24 is shorter than the hypotenuse 25, as every leg must be. If your answer for a leg ever comes out longer than the hypotenuse, you added instead of subtracting.

Worked Example 2: Hypotenuse 17, Leg 8 — the Missing Leg Is 15

A right triangle has a hypotenuse of 17 and one leg of 8. Find the other leg. This is the 8-15-17 triple, and the working is the same shape as before.

  1. Label: c = 17, b = 8, unknown leg a.
  2. Formula: a = √(17^2 – 8^2).
  3. Square: 17^2 = 289 and 8^2 = 64.
  4. Subtract: 289 – 64 = 225.
  5. Square root: √225 = 15.
  6. Check: 8^2 + 15^2 = 64 + 225 = 289 = 17^2. It matches.

The missing leg is 15. Memorise this triple alongside 5-12-13: if you see a hypotenuse of 17 and a leg of 8, the answer is 15 before you pick up a calculator. Our Pythagorean triples list has the full table of triples worth recognising on sight.

Worked Example 3: The Ladder Problem — How High Does a 10 ft Ladder Reach?

A 10 ft ladder leans against a wall with its foot 6 ft from the wall. How high does it reach? This is the most asked word problem in the topic — a missing-leg problem in disguise.

First, label the triangle. The ladder is the hypotenuse, because it is the longest side and sits opposite the right angle where the wall meets the ground: c = 10. The ground distance is one leg, b = 6, and the height is the missing leg, a.

  1. Formula: a = √(c^2 – b^2) = √(10^2 – 6^2).
  2. Square: 10^2 = 100 and 6^2 = 36.
  3. Subtract: 100 – 36 = 64.
  4. Square root: √64 = 8.
  5. Check: 6^2 + 8^2 = 36 + 64 = 100 = 10^2. It matches.

The ladder reaches 8 ft up the wall. This is the 6-8-10 triangle, the 3-4-5 triple doubled, and it is why the ladder problem is so popular: the answer is a clean whole number. The trap is doing it backwards — adding 10^2 + 6^2 = 136 and taking the square root to get about 11.66 ft, longer than the ladder itself. A longer ladder, 13 ft with its foot 5 ft out, reaches 12 ft, and both are worked in full in our Pythagorean theorem examples post.

Worked Example 4: When the Answer Is Not a Whole Number

Not every missing-leg problem lands on a neat triple, and you need to know what to do when it does not. A right triangle has a hypotenuse of 10 and one leg of 7. Find the other leg.

  1. Label: c = 10, b = 7, unknown leg a.
  2. Formula: a = √(10^2 – 7^2).
  3. Square: 10^2 = 100 and 7^2 = 49.
  4. Subtract: 100 – 49 = 51.
  5. Square root: √51 ≈ 7.14.
  6. Check: 7^2 + 7.14^2 = 49 + 50.98 = 99.98, which is 100 to rounding. It matches.

The missing leg is about 7.14. Two things matter here. First, keep the square root exact (√51) until the last step and round only at the end — rounding early and squaring back gives 50.98, not 51, and in a multi-step problem that drift grows. Second, the answer is still shorter than the hypotenuse 10, so the sanity check passes. Most real triangles are like this one: the triples are the friendly exceptions, and the method is the same either way.

How Do You Find a Missing Leg Without a Calculator?

You can, as long as the numbers form a Pythagorean triple, because then the square root is a whole number you can find by testing. For √(169 – 25) = √144, test 12: 12 × 12 = 144. For √(625 – 49) = √576, test 24: 24 × 24 = 576. The trick is recognising the triple: a hypotenuse of 13 and a leg of 5 means 5-12-13, so the answer is 12. Learn the five triples in our Pythagorean triples list and many exam questions answer themselves. If the numbers do not form a triple, you need a calculator for the square root — but the subtraction step is still by hand, and it is still where most of the marks are.

How to Check Your Answers With the Free Calcrio Pythagorean Theorem Calculator

Every number in this guide was verified with the free Pythagorean Theorem Calculator on Calcrio, and you can use it to check your homework. It has three modes: Find Hypotenuse (c = √(a^2 + b^2)), Find Leg a (a = √(c^2 – b^2)), and Find Leg b (b = √(c^2 – a^2)). For this post, use Find Leg a or Find Leg b: enter the hypotenuse and the known leg, and the calculator shows the subtraction and the square root step by step. It runs in your browser with no sign-up, and it is free. If you are finding the hypotenuse instead, our guide to how to find the hypotenuse covers the addition case, and what is the Pythagorean theorem explains what the formula means. For the distance between two points, see the Distance Calculator and our guide to the distance between two points. If your triangle is not right-angled, the Triangle Calculator covers the other cases. Browse the full collection in the math calculators hub.

Frequently Asked Questions

How do you find the missing side of a right triangle?
It depends which side is missing. Hypotenuse: add the squares and take the root, c = √(a^2 + b^2). Leg: subtract, a = √(c^2 – b^2).

How do you find a missing leg with the Pythagorean theorem?
Use a = √(c^2 – b^2), where c is the hypotenuse and b is the known leg. For 13 and 5: a = √(169 – 25) = √144 = 12.

Do you add or subtract to find a missing leg?
Subtract: the hypotenuse squared is the total, so the missing leg squared is the total minus the known leg squared. You only add when finding the hypotenuse itself.

What is the missing leg if the hypotenuse is 25 and one leg is 7?
The missing leg is 24. a = √(25^2 – 7^2) = √(625 – 49) = √576 = 24. Check: 7^2 + 24^2 = 49 + 576 = 625 = 25^2.

Can the missing leg be longer than the hypotenuse?
No, never — the hypotenuse is always the longest side. If your leg answer comes out longer than the hypotenuse, you added instead of subtracting.

What if the missing leg is not a whole number?
Then leave the answer as a square root (for example √51) or round it at the very end (about 7.14). Keep the exact value through every step and round only once, so rounding error does not grow.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top