Pythagorean Theorem Calculator — Find Any Side of a Right Triangle
Calculate the missing side of any right triangle using the Pythagorean Theorem (a² + b² = c²). Enter any two sides to find the third — whether you need the hypotenuse or either leg. Interactive triangle visualization updates in real time.
Why This Mathematical Concept Matters
Why: The Pythagorean Theorem is arguably the most important theorem in all of mathematics. It connects geometry to algebra, appears in the distance formula used throughout physics and engineering, and is the foundation for trigonometry. Construction workers use the 3-4-5 rule daily, GPS systems rely on it for positioning, and it generalizes into higher dimensions as the basis of Euclidean distance.
How: Select which side to solve for — hypotenuse (c) or either leg (a or b). Enter the two known side lengths. The calculator applies the appropriate formula: c = √(a² + b²) for the hypotenuse, or a = √(c² − b²) for a leg. The triangle visualization above updates to show which side you're solving for.
- ●The theorem was known to Babylonians ~1000 years before Pythagoras (clay tablet Plimpton 322, ~1800 BC)
- ●Over 370 distinct proofs exist — including one by U.S. President James Garfield (1876)
- ●The 3-4-5 right triangle is the simplest Pythagorean triple and is used daily in construction
- ●The theorem generalizes to n dimensions: d² = x₁² + x₂² + ... + xₙ²
- ●In non-Euclidean geometry, the Pythagorean theorem does not hold — it's unique to flat space
Result
Understanding the Pythagorean Theorem
The Pythagorean Theorem is a fundamental relation in Euclidean geometry among the three sides of a right triangle. It states that the area of the square whose side is the hypotenuse (the side opposite the right angle) is equal to the sum of the areas of the squares on the other two sides.
This relationship is expressed mathematically as:
Where:
- a and b are the lengths of the legs (the sides adjacent to the right angle)
- c is the length of the hypotenuse (the side opposite to the right angle)
Applications of the Pythagorean Theorem
Architecture and Construction
Architects and construction workers use the Pythagorean Theorem to ensure that corners are square and structures are properly aligned. The 3-4-5 triangle method is commonly used to create right angles in construction.
Navigation
The theorem is used in navigation to calculate distances. For example, if a ship travels east and then north, the Pythagorean Theorem can be used to determine the direct distance from the starting point.
Physics
In physics, the Pythagorean Theorem is used to calculate resultant forces and velocities when multiple forces or velocities act at right angles to each other.
Computer Graphics
The theorem is used in computer graphics and game development to calculate distances between points in 2D and 3D space, which is essential for collision detection and rendering.
⚠️For educational and informational purposes only. Verify with a qualified professional.
🧮 Fascinating Math Facts
The Babylonian clay tablet Plimpton 322 (~1800 BC) contains Pythagorean triples, proving the theorem was known over 1000 years before Pythagoras.
— British Museum
U.S. President James Garfield published an original proof of the Pythagorean Theorem in 1876, using a trapezoid construction.
— MAA
Pythagorean triples (3,4,5), (5,12,13), (8,15,17) are integer solutions. There are infinitely many, generated by the formula m²−n², 2mn, m²+n².
— Wolfram MathWorld
Fermat's Last Theorem (proved 1995) states that a^n + b^n = c^n has no integer solutions for n > 2 — a direct generalization of the Pythagorean equation.
— Andrew Wiles, 1995
The distance formula d = √((x₂−x₁)² + (y₂−y₁)²) used in GPS and mapping is a direct application of the Pythagorean Theorem.
— Wolfram MathWorld
The "3-4-5 rule" is used on every construction site to verify right angles: if a triangle has sides 3, 4, and 5 units, the corner is exactly 90°.
— Engineering Toolbox