🔢 Math

📐 📐 Pythagorean Theorem: Formula, Proof, and Real-World Uses

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.

⏱️ 8 min read🦉 365tool.net🌍 For everyone worldwide

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.

The Pythagorean Theorem

In any right triangle, the square of the hypotenuse equals the sum of the squares of the other two sides:

a² + b² = c²

Where:

  • a and b are the two legs (the sides forming the right angle)
  • c is the hypotenuse (the side opposite the right angle — always the longest side)

Finding Any Side

Finding the Hypotenuse (c)

c = √(a² + b²)

Example: a = 3, b = 4

c = √(3² + 4²) = √(9 + 16) = √25 = 5

Finding a Leg (a or b)

a = √(c² − b²) or b = √(c² − a²)

Example: c = 13, b = 5. Find a.

a = √(13² − 5²) = √(169 − 25) = √144 = 12

Pythagorean Triples

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
3459 + 16 = 25 ✅
5121325 + 144 = 169 ✅
8151764 + 225 = 289 ✅
7242549 + 576 = 625 ✅
9404181 + 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.

Real-World Applications

Construction: The 3-4-5 Check

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.

Navigation: Distance Calculation

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

Screen and Display Sizes

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:

  • Width: 65 × 16/√(16²+9²) = 65 × 16/18.36 = 56.6 inches
  • Height: 65 × 9/18.36 = 31.8 inches

Ramp and Slope Calculation

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.

3D Distance (Distance Formula in 3 Dimensions)

The Pythagorean theorem extends naturally to 3D:

Distance = √((x₂−x₁)² + (y₂−y₁)² + (z₂−z₁)²)

This is used in 3D graphics, engineering, and physics calculations.

The Converse of the Pythagorean Theorem

If a² + b² = c², then the triangle IS a right triangle. This allows you to verify whether any triangle has a right angle:

  • Sides 6, 8, 10: 36 + 64 = 100 ✅ → right triangle
  • Sides 5, 7, 9: 25 + 49 = 74 ≠ 81 ❌ → not a right triangle
  • If a² + b² > c²: acute triangle (all angles less than 90°)
  • If a² + b² < c²: obtuse triangle (one angle greater than 90°)

Try It Yourself! ✨

Use our free Pythagorean Theorem Calculator — results appear as you type. No sign-up needed!

🚀 Open Pythagorean Theorem Calculator Free

❓ Frequently Asked Questions

What is the Pythagorean theorem?
In any right triangle, a² + b² = c², where a and b are the two legs (sides meeting at the right angle) and c is the hypotenuse (side opposite the right angle). To find the hypotenuse: c = √(a² + b²). To find a leg: a = √(c² − b²). Only right triangles satisfy this relationship.
What are Pythagorean triples?
Pythagorean triples are sets of three whole numbers (a, b, c) where a² + b² = c². The most famous is 3-4-5: 9 + 16 = 25. Other common triples: 5-12-13, 8-15-17, and 7-24-25. Any multiple of a triple is also a triple: 6-8-10, 9-12-15, etc. Builders use the 3-4-5 ratio to check that corners are perfect right angles.
How is the Pythagorean theorem used in real life?
Construction workers use the 3-4-5 rule to verify right angles. Navigators calculate straight-line distances between two points. Screen sizes (TV, monitor) are measured diagonally using a²+b²=c². Architects calculate ramp lengths. GPS and mapping software use the distance formula. The theorem underlies virtually all 2D and 3D distance calculations in engineering and computer graphics.
Can the Pythagorean theorem be used to check if a triangle has a right angle?
Yes. If a² + b² = c² for the three sides (with c being the longest), the triangle has a right angle. If a² + b² > c², it's acute (all angles under 90°). If a² + b² < c², it's obtuse (one angle over 90°). Example: sides 5, 12, 13: 25 + 144 = 169 = 13² ✅ — confirmed right triangle.
How do you find the diagonal of a rectangle using the Pythagorean theorem?
A rectangle's diagonal creates a right triangle with the width and height as legs. Diagonal = √(width² + height²). For a 9×12 ft room: diagonal = √(81+144) = √225 = 15 ft. This is used in screen sizes, room measurements, and any situation where you need the distance across a rectangular space.