Learn the Pythagorean theorem formula a²+b²=c² with step-by-step examples. Covers finding any side of a right triangle, Pythagorean triples, and real-world applications.
The Pythagorean theorem is one of the oldest and most frequently used results in all of mathematics. Known to ancient Babylonians, Egyptians, and Chinese centuries before Pythagoras formalized it, the theorem describes a fundamental relationship in every right triangle — and it appears in everything from construction and navigation to computer graphics and GPS technology.
In any right triangle, the square of the hypotenuse equals the sum of the squares of the other two sides:
a² + b² = c²
Where:
c = √(a² + b²)
Example: a = 3, b = 4
c = √(3² + 4²) = √(9 + 16) = √25 = 5
a = √(c² − b²) or b = √(c² − a²)
Example: c = 13, b = 5. Find a.
a = √(13² − 5²) = √(169 − 25) = √144 = 12
Pythagorean triples are sets of three positive integers (a, b, c) that satisfy a² + b² = c². These produce right triangles with whole-number sides — perfect for construction and practical measurement:
| a | b | c | Verification |
|---|---|---|---|
| 3 | 4 | 5 | 9 + 16 = 25 ✅ |
| 5 | 12 | 13 | 25 + 144 = 169 ✅ |
| 8 | 15 | 17 | 64 + 225 = 289 ✅ |
| 7 | 24 | 25 | 49 + 576 = 625 ✅ |
| 9 | 40 | 41 | 81 + 1600 = 1681 ✅ |
Any multiple of a triple is also a triple: 3-4-5 scaled by 3 gives 9-12-15, and by 5 gives 15-20-25. Carpenters use the 3-4-5 ratio constantly to verify right angles in construction.
A builder laying out a foundation measures 3 feet along one wall, 4 feet along the perpendicular wall, and checks the diagonal. If it measures exactly 5 feet, the corner is a perfect right angle. This technique — derived directly from the Pythagorean theorem — has been used in construction for thousands of years and remains standard practice today.
To find the straight-line distance between two GPS coordinates (for short distances where Earth's curvature is negligible):
Distance = √((Δx)² + (Δy)²)
Example: A ship travels 30 km east and then 40 km north. How far is it from the starting point?
Distance = √(30² + 40²) = √(900 + 1600) = √2500 = 50 km
Monitor and TV screen sizes are measured diagonally — the hypotenuse of the rectangular screen. A "65-inch TV" has a diagonal of 65 inches. If it's 16:9 aspect ratio:
A wheelchair ramp rises 2 feet vertically over a horizontal distance of 24 feet. What is the ramp length?
Length = √(2² + 24²) = √(4 + 576) = √580 = 24.08 feet
ADA compliance requires the slope to be no steeper than 1:12 (1 inch rise per 12 inches horizontal). This ramp is 2:24 = 1:12, exactly at the limit.
The Pythagorean theorem extends naturally to 3D:
Distance = √((x₂−x₁)² + (y₂−y₁)² + (z₂−z₁)²)
This is used in 3D graphics, engineering, and physics calculations.
If a² + b² = c², then the triangle IS a right triangle. This allows you to verify whether any triangle has a right angle:
Use our free Pythagorean Theorem Calculator — results appear as you type. No sign-up needed!
🚀 Open Pythagorean Theorem Calculator Free