📐 Pythagorean Theorem Calculator
Find any missing side of a right triangle using a² + b² = c². Choose what you want to find, enter the two known sides, and get the answer with full step-by-step working.
Enter sides a and b to find hypotenuse c.
What is the Pythagorean Theorem?
The Pythagorean Theorem is a fundamental relationship in Euclidean geometry stating that in any right-angled triangle, the square of the length of the hypotenuse (the side opposite the right angle) equals the sum of the squares of the other two sides. Expressed as a² + b² = c², where c is the hypotenuse and a and b are the two legs, this theorem is one of the most widely known and applied results in all of mathematics — used continuously in construction, navigation, engineering, physics, and computer graphics.
The theorem is named after the ancient Greek philosopher and mathematician Pythagoras of Samos (c. 570–495 BCE), though evidence suggests the relationship was known to Babylonian mathematicians more than 1,000 years earlier. Babylonian clay tablets dated to around 1800 BCE contain Pythagorean triples — integer solutions to a² + b² = c² such as (3, 4, 5) and (5, 12, 13) — demonstrating practical knowledge of right-triangle geometry long before Pythagoras is thought to have formally proved it.
The Pythagorean Theorem extends far beyond simple right-triangle calculations. In coordinate geometry, it underpins the distance formula between two points. In trigonometry, it establishes the fundamental identity sin²θ + cos²θ = 1. In three dimensions, the distance formula becomes √(a² + b² + c²). In relativity theory, the spacetime interval uses a modified Pythagorean relationship. The theorem's reach extends to inner product spaces, signal processing (Parseval's theorem), and quantum mechanics — making it arguably the most consequential theorem in the history of mathematics.
Pythagorean Theorem
Worked Example — Find c with a=3, b=4
How the Pythagorean Theorem Calculator Works
Formula, assumptions, and calculation steps for this math tool.
Methodology
Math calculators apply the relevant arithmetic, algebraic, geometric, or numeric rule to the values entered and simplify the result where possible.
Calculation Steps
- Read the values and operation selected.
- Normalize signs, decimals, fractions, or units if needed.
- Apply the mathematical rule or formula.
- Format the answer and any intermediate values for checking.
Assumptions and Limits
- Inputs must be within the supported domain of the operation.
- Decimal answers may be rounded for readability.
- Symbolic simplification is limited to the calculator scope.
Frequently Asked Questions
The Pythagorean theorem states that in a right triangle, the square of the hypotenuse (the side opposite the right angle) equals the sum of the squares of the other two sides: a² + b² = c². It was named after the ancient Greek mathematician Pythagoras.
Pythagorean triples are sets of three positive integers (a, b, c) that satisfy a² + b² = c². The most famous is (3, 4, 5). Others include (5, 12, 13), (8, 15, 17), and (7, 24, 25). Any multiple of a triple is also a triple — e.g. (6, 8, 10).
It is used in construction (checking square corners), navigation (finding shortest distances), architecture, computer graphics (calculating pixel distances), and physics (resolving vector components). Carpenters use the 3-4-5 rule to ensure right angles.
Square both known sides, add them together, then take the square root. For example, a=6 and b=8: c = √(36+64) = √100 = 10.
Real-World Applications
Common Mistakes
Common Pythagorean Triples Quick Reference
| Triple (a, b, c) | Check (a² + b²) | Common Use |
|---|---|---|
| 3, 4, 5 | 9 + 16 = 25 | Construction squaring |
| 5, 12, 13 | 25 + 144 = 169 | Surveying, geometry |
| 8, 15, 17 | 64 + 225 = 289 | Engineering problems |
| 7, 24, 25 | 49 + 576 = 625 | Geometry proofs |
| 6, 8, 10 | 36 + 64 = 100 | 3-4-5 scaled (×2) |
| 9, 40, 41 | 81 + 1600 = 1681 | Advanced calculations |
References
- Euclid. Elements, Book I, Proposition 47. c. 300 BCE.
- Heath, T.L. The Thirteen Books of Euclid's Elements. Cambridge University Press, 1908.
- Loomis, E.S. The Pythagorean Proposition. National Council of Teachers of Mathematics, 1968.
- Maor, E. The Pythagorean Theorem: A 4,000-Year History. Princeton University Press, 2007.
- Stewart, J. Calculus: Early Transcendentals. Cengage, 2015.
Related Calculators
Browse all Math calculators →Triangle Calculator
Calculate the area, perimeter, angles, and sides of any triangle.
Trigonometry Calculator
Calculate sin, cos, tan, and their inverses in degrees or radians.
Distance Calculator
Calculate the distance between two points using the distance formula.