Practice free
Unit 5 · Geometry

Pythagorean theorem: find the missing leg length

Grade 8 · T. Pythagorean theorem · 28 practice questions

How this works

Square the hypotenuse and the known leg, subtract, then take the square root of the difference.

A right triangle has one leg of length 12 and a hypotenuse of length 20. Find the missing leg.

Square the hypotenuse
20 × 20 = 400
Square the known leg
12 × 12 = 144
Subtract — a leg is shorter
400 − 144 = 256
Square root: try 16
16 × 16 = 256

Answer: 16

Watch out: Adding the squares as for a hypotenuse: √(400 + 144) ≈ 23.3, longer than the hypotenuse. For a leg, subtract: √(400 − 144) = 16.

Try it

1. A right triangle has one leg of length 36 cm and a hypotenuse of length 45 cm. Find the missing leg.

2. The diagonal of a rectangular garden is 17 inches and one side is 8 inches. How long is the other side, in inches?

3. In a right triangle, the longest side is 39 units and one of the shorter sides is 15 units. What is the length of the remaining side, in units?

Answers are checked in the free account — with a hint before the answer, and the full solution after a miss.

How to help at home

The two legs and the hypotenuse of a right triangle follow the Pythagorean theorem: the legs squared add up to the hypotenuse squared. To find a leg, subtract: 2025 − 1296 = 729, and the number that squares to 729 is 27, so the missing leg is 27 cm.

More in T. Pythagorean theorem