Pythagorean Theorem Calculator
Find the hypotenuse or a missing leg of a right triangle, or check whether three sides make a right triangle, with angles, area, perimeter and steps.
The Pythagorean theorem says a² + b² = c² in any right triangle, where c is the hypotenuse. With legs 3 and 4, c = √(9 + 16) = √25 = 5. To find a leg, subtract: a = √(c² − b²), so with c = 13 and b = 5, a = √(169 − 25) = 12.
- Only works for right triangles (one 90° angle).
- The hypotenuse is always the longest side, opposite the right angle.
- Add the squares to find c; subtract the squares to find a leg.
How to Use the Calculator
- Find hypotenuse: enter legs a and b.
- Find a leg: enter the hypotenuse and the leg you know.
- Is it a right triangle? Enter all three sides to check, and see whether the triangle is acute or obtuse if it is not.
Every answer also shows the area, perimeter and the two acute angles.
Pythagorean Theorem Formulas
Common Pythagorean Triples
| a | b | c |
|---|---|---|
| 3 | 4 | 5 |
| 5 | 12 | 13 |
| 6 | 8 | 10 |
| 7 | 24 | 25 |
| 8 | 15 | 17 |
| 9 | 40 | 41 |
Worked Examples
Example 1: Ladder. A ladder reaches 12 ft up a wall with its foot 5 ft from the wall. How long is it?
- c² = 5² + 12² = 25 + 144 = 169
- c = √169 = 13 ft
Example 2: TV screen. A screen is 48 in wide and has a 55 in diagonal. How tall is it?
- a² = 55² − 48² = 3,025 − 2,304 = 721
- a = √721 ≈ 26.85 in
Example 3: Check sides 7, 8, 11. 7² + 8² = 113, while 11² = 121. 113 < 121, so it is an obtuse triangle, not a right triangle.
Tips
- Label the hypotenuse first. It is opposite the right angle and always the longest side.
- Use the same units for every side.
- The distance between two points uses the same idea: d = √((x₂ − x₁)² + (y₂ − y₁)²). The slope calculator shows it for any two points.
- Checking a measured length against the exact one? Use the percent error calculator.
Frequently Asked Questions
What is the Pythagorean theorem?
In a right triangle, the square of the hypotenuse equals the sum of the squares of the other two sides: a² + b² = c².
How do you find the hypotenuse?
Square both legs, add them and take the square root. For legs 6 and 8: √(36 + 64) = √100 = 10.
How do you find a missing leg?
Square the hypotenuse, subtract the square of the known leg, and take the square root. For c = 10 and b = 6: √(100 − 36) = 8.
Does the Pythagorean theorem work for all triangles?
No, only right triangles. For other triangles, compare a² + b² with c²: if it is larger the triangle is acute, and if it is smaller the triangle is obtuse.
What is a Pythagorean triple?
A set of three whole numbers that fit a² + b² = c², such as 3, 4, 5 or 5, 12, 13. Multiplying a triple by any whole number gives another triple.
How do you know which side is the hypotenuse?
It is the side opposite the right angle and is always the longest side of a right triangle.
Related Guides & Calculators
- Slope Calculator: slope, distance and midpoint between two points.
- Percentage Calculator: percent of, change and difference.
- Percent Error Calculator: compare measured and exact values.
- Mean, Median & Mode Calculator: averages for any list.
More Calculators You Can Use
Free tools that pair well with this one.
