Quick answer: The Pythagorean theorem says that in a right triangle the square of the hypotenuse equals the sum of the squares of the other two sides: a² + b² = c². A right triangle with legs 6 and 8 has hypotenuse √(100) = 10, and a ladder reaching 12 ft up a wall with its base 5 ft away is 13 ft long.
In this guide
The Formula
a² + b² = c² → c = √(a² + b²) and a = √(c² − b²)
c is the hypotenuse, the side opposite the right angle.
Pythagorean Triples
| a | b | c | Check |
|---|---|---|---|
| 3 | 4 | 5 | 9 + 16 = 25 |
| 5 | 12 | 13 | 25 + 144 = 169 |
| 8 | 15 | 17 | 64 + 225 = 289 |
| 7 | 24 | 25 | 49 + 576 = 625 |
| 20 | 21 | 29 | 400 + 441 = 841 |
Real-Life Uses
- Ladder: base 5 ft from the wall, 12 ft up: 13 ft ladder.
- TV screen: a 16:9 screen with a 55 in diagonal is 47.9 in wide and 27.0 in tall.
- Diagonal path: a 30 m by 40 m field has a 50 m diagonal.
Check Your Work
The Triangle Calculator solves right and general triangles. For area, see Heron’s formula.
Tips for Accurate Results
Enter consistent units and make sure the sides can form a triangle: the two shorter sides must add up to more than the longest.
Common mistakes in math: mixing up the order of operations, forgetting to simplify, and rounding too early. Keep full precision until the final step.
Try the Triangle Calculator
Skip the manual work and get an instant result with our free Triangle Calculator. Enter your numbers, see the answer immediately and adjust the inputs to compare scenarios.
More calculators you may find useful: Scientific Calculator, Percentage Calculator.
Related guides
- Heron's Formula: Triangle Area From Three Sides (With Examples)
- Types of Triangles: By Sides and By Angles (With a Quick Test)
- Order of Operations (PEMDAS/BODMAS): Rules, Examples, Viral Trap
- Scientific Notation Explained: How to Write, Convert and Calculate
- How to Add Fractions With Different Denominators (Step by Step)
Frequently asked questions
What is the Pythagorean theorem?
a² + b² = c² for right triangles.
Does it work for any triangle?
Only right triangles.
What is a Pythagorean triple?
Whole numbers that satisfy a² + b² = c².
How do I find a leg?
a = √(c² − b²).
Worked examples are for learning and were calculated with the formulas shown. Check results that matter, such as exam or engineering work, with a second method.


