The Pythagorean Theorem Explained
I built this calculator because the Pythagorean theorem is one of the most practically useful formulas in existence — builders use it to square corners, navigators use it to find straight-line distances, and engineers use it constantly in structural calculations. The famous relationship between the three sides of any right triangle is:
The Formulas
- Standard form:
a² + b² = c² - Finding the hypotenuse:
c = √(a² + b²) - Finding a missing leg:
a = √(c² − b²) - Distance formula (2D):
d = √((x₂−x₁)² + (y₂−y₁)²)— the theorem applied to coordinates
The hypotenuse is always the side opposite the right angle and is always the longest side. If you label the two shorter sides a and b and the hypotenuse c, the theorem states that the area of the square on c always equals the sum of the areas of the squares on a and b.
Real-World Applications
The Pythagorean theorem is the foundation of navigation, construction, and countless engineering disciplines. It works in any situation where two directions are at right angles to each other — which turns out to be most of the physical world.
- Construction: the 3-4-5 rule checks whether a corner is perfectly square — if the sides measure 3, 4, and 5 units, the angle is exactly 90°
- Screen size: a TV advertised as "55 inches" means the diagonal — use this calculator to find the actual width and height
- Staircase design: rise and run give the two legs; the stringer (the sloping board) is the hypotenuse
- GPS distance: the straight-line distance between two map coordinates uses the theorem extended into three dimensions
Frequently Asked Questions
What is a Pythagorean triple?
A Pythagorean triple is a set of three positive integers that satisfy a² + b² = c² exactly. The most famous is 3-4-5 (since 9 + 16 = 25). Others include 5-12-13, 8-15-17, and 7-24-25. Multiples of any triple also work — 6-8-10, 9-12-15, etc. These are enormously useful in construction because they create perfect right angles using only whole-number measurements.
Does the theorem work in three dimensions?
Yes — it extends naturally. The space diagonal of a rectangular box with sides a, b, and c is d = √(a² + b² + c²). This is the 3D Pythagorean theorem and is used to find the longest object that fits inside a box, or the straight-line distance between two points in 3D space.
Who actually discovered the Pythagorean theorem?
Despite its name, the relationship was known to Babylonian and Indian mathematicians centuries before Pythagoras (around 570–495 BCE). The Babylonians had tables of Pythagorean triples as early as 1800 BCE. Pythagoras (or his school) is credited with providing the first known general proof that the relationship holds for all right triangles, not just specific integer cases.