Use the Pythagorean theorem

Grade 8 math · Geometry · 8.G.B.7

In a right triangle, the two shorter sides that make the right angle are the legs, and the longest side, across from the right angle, is the hypotenuse. The Pythagorean theorem says , where and are the legs and is the hypotenuse. Square the sides you know, add or subtract, then take the square root.

Tip. To find a leg, subtract: . Only add the squares when you are finding the hypotenuse.

Worked examples

Example 1

The legs of a right triangle are 16 in and 12 in. How long is the hypotenuse?

16 in?12 in
Show the answer and the steps

Answer: 20 in

  1. The hypotenuse is 20 in.

Example 2

A right triangle has a hypotenuse of 37 ft and one leg of 12 ft. How long is the other leg?

12 ft37 ft?
Show the answer and the steps

Answer: 35 ft

  1. The other leg is 35 ft.

Example 3

A triangle has sides of 42, 9 and 40 ft. Is it a right triangle?

  • Yes
  • No
Show the answer and the steps

Answer: No

  1. The longest side is 42.
  2. 9² + 40² = 81 + 1600 = 1681, and 42² = 1764.
  3. They are not equal, so no, it is not a right triangle.

Practice this skill

Answer a question and get it checked. The questions get harder as you get them right. No account needed.

Want it on paper? Print a worksheet for this skill, with an answer key.

Is this the right skill to work on?

Lean's free placement check finds what your child already knows in grade 8 math and what to learn next. It takes about 10 minutes.

Start the free placement check