How to Use This Calculator
1
Enter Two Known Sides
Provide the lengths of any two sides of a right triangle (a, b, or c).
2
Select the Unknown Side
Indicate which side you want to solve for—the hypotenuse or a leg.
3
Get the Missing Side
The calculator applies the Pythagorean theorem and displays the result with steps.
Key Terms
- Hypotenuse (c)
- The longest side of a right triangle, opposite the right angle.
- Leg (a or b)
- Either of the two shorter sides of a right triangle that form the right angle.
- Right Angle
- An angle of exactly 90 degrees, forming an L-shape.
- Pythagorean Triple
- A set of three positive integers (a, b, c) that satisfy a² + b² = c², such as (3, 4, 5).
- Right Triangle
- A triangle containing exactly one 90-degree angle.
Real-World Examples
Example 1
Ladder Against Wall
a = 6 ft, b = 8 ft
c = 10 ft — a 6-8-10 right triangle (scaled 3-4-5 triple)
Example 2
TV Screen Diagonal
a = 30 in, c = 55 in
b = 46.10 in — finding the height of a 55-inch widescreen TV
Common Pythagorean Triples
| Leg a | Leg b | Hypotenuse c | Scale Factor |
| 3 | 4 | 5 | 1× |
| 5 | 12 | 13 | 1× |
| 8 | 15 | 17 | 1× |
| 7 | 24 | 25 | 1× |
| 6 | 8 | 10 | 2× (3-4-5) |
The Pythagorean Theorem: Cornerstone of Geometry
A Theorem with 400+ Proofs
The Pythagorean theorem, attributed to the Greek mathematician Pythagoras around 500 BCE, is one of the most proven results in mathematics. Over 400 distinct proofs exist, including geometric, algebraic, and even a proof by US President James Garfield. The theorem holds in any Euclidean plane and generalizes to higher dimensions.
Real-World Applications
Builders use the 3-4-5 triple to verify right angles on construction sites. Navigation systems compute straight-line distances using the theorem. In computer graphics, collision detection between objects relies on distance calculations rooted in the Pythagorean theorem. Its simplicity and universality make it one of the most practically useful results in all of mathematics.
Beyond Euclidean Geometry
On curved surfaces like a sphere, the Pythagorean theorem does not hold exactly. Spherical geometry modifies the relationship between sides and angles, which is why long-distance navigation uses the Haversine formula instead. In Einstein's theory of relativity, a modified version of the theorem applies to spacetime intervals.