How it works
- In a right triangle, a2 + b2 = c2, where c is the hypotenuse (the longest side, opposite the right angle).
- To find the hypotenuse: c = √(a2 + b2). To find a leg: b = √(c2 − a2).
- With whole-number sides, the answer is also given in simplest radical form, such as 5√2.
- The angles come from trigonometry: the angle opposite a is sin−1(a ÷ c).
Worked examples
How high does a ladder reach?
A 10 ft ladder leans against a wall with its foot 6 ft from the wall. How high up the wall does it reach?
- The ladder is the hypotenuse: c = 10, a = 6.
- b2 = 102 − 62 = 100 − 36 = 64.
- b = √64.
Answer: 8 ft
Try this exampleA TV's diagonal
A TV screen is 48 in wide and 27 in tall. How long is its diagonal?
- c2 = 482 + 272 = 2,304 + 729 = 3,033.
- c = √3,033 = 3√337.
Answer: About 55.07 in, so it's sold as a 55-inch TV
Try this exampleFrequently asked questions
What is a Pythagorean triple?
Three whole numbers that fit a2 + b2 = c2, such as 3, 4, 5 or 5, 12, 13. The calculator tells you when your answer is a whole number.
Does it work for triangles without a right angle?
No. The theorem only holds for right triangles. For other triangles, use the law of cosines.
Results are estimates for general information and are not financial, medical or professional advice.