Pythagorean Theorem Explained: Formula, Proofs, and Applications

What Is the Pythagorean Theorem?

The Pythagorean theorem is one of the most fundamental principles in mathematics. It states that in a right-angled triangle, the square of the hypotenuse (the longest side, opposite the right angle) equals the sum of the squares of the other two sides. Written as a formula, it looks like this: a² + b² = c², where c is the hypotenuse.

This theorem is attributed to the ancient Greek mathematician Pythagoras, although evidence suggests that Babylonian mathematicians knew about the relationship over a thousand years earlier. Regardless of its origin, the theorem remains an essential building block in geometry, trigonometry, physics, engineering, and even computer graphics.

For example, if one side of a right triangle is 3 units and the other is 4 units, the hypotenuse is found by calculating the square root of 3² + 4² = 9 + 16 = 25, giving a hypotenuse of 5 units. This 3-4-5 combination is one of the most well-known Pythagorean triples.

How to Use the Formula

Applying the theorem is straightforward once you identify the right angle in the triangle. Follow these steps:

  1. Find the two shorter sides (legs) and label them a and b.
  2. Square each leg: compute a² and b².
  3. Add the results together.
  4. Take the square root of the sum to find c, the hypotenuse.

If you already know the hypotenuse and one leg, rearrange the formula to solve for the missing side: a² = c² - b².

Suppose you need to find the length of a ladder leaning against a wall. The base of the ladder sits 6 feet from the wall, and the ladder reaches 8 feet up. The ladder length is the square root of 6² + 8² = 36 + 64 = 100, so the ladder is 10 feet long. Problems like these appear in construction, navigation, and architecture every day.

Common Pythagorean triples worth memorizing include 3-4-5, 5-12-13, 8-15-17, and 7-24-25. Any multiple of a triple also works, so 6-8-10 and 9-12-15 are equally valid.

Real-World Applications

The Pythagorean theorem extends far beyond textbook exercises. In construction, workers use the 3-4-5 rule to verify right angles when laying foundations. Surveyors calculate distances between points on a map using the same principle. Pilots and sailors apply it to determine shortest paths. In computer science, it powers distance calculations in 2D and 3D graphics, collision detection in games, and pathfinding algorithms.

Even smartphone GPS systems rely on variations of this formula to estimate distances between coordinates. Understanding the theorem gives you a transferable skill that surfaces in surprising places throughout science and technology.

Beyond Flat Surfaces

While the classic theorem applies to flat (Euclidean) geometry, extensions exist for curved surfaces and higher dimensions. The distance formula in 3D space adds a third term: d = square root of (x² + y² + z²). In non-Euclidean geometry the relationship changes, which becomes relevant in fields like general relativity.

Use our math calculators on CalcHub to verify Pythagorean calculations instantly, or explore the geometry tools for triangles, circles, and more.

Try the CalcHub triangle calculator today and solve any right-triangle problem in seconds.

Explore all free tools on CalcHub

Browse Tools