Pythagorean Theorem Calculator
Find the hypotenuse or a missing leg of a right triangle using the Pythagorean theorem. Shows the steps.
Pythagorean Theorem Calculator
What the Pythagorean Theorem Says
A right triangle has one square corner (a 90° angle). The two short sides that meet at that corner are the legs; the long side across from it is the hypotenuse, always the longest side.
The Pythagorean theorem says something neat: build a square on each side, and the two smaller squares together cover exactly the same area as the big one. In symbols, . So if you know any two sides, you can always find the third.
The figure shows the legs and and the hypotenuse drawn to scale - try the classic 3, 4, 5 triangle and watch it stay a perfect right angle.
The Pythagorean Theorem
where and are the legs and is the hypotenuse. Solving for a side:
How to Use It
- Choose whether to find the hypotenuse or a leg.
- Enter the two known sides.
- Read the missing side and the steps.
Worked Examples
| Leg a | Leg b | Hypotenuse c |
|---|---|---|
| 3 | 4 | 5 |
| 6 | 8 | 10 |
| 5 | 12 | 13 |
| 8 | 15 | 17 |
FAQ
What is the Pythagorean theorem?
In a right triangle, the square of the hypotenuse equals the sum of the squares of the two legs: .
How do you find the hypotenuse?
Add the squares of the legs and take the square root. For legs 3 and 4: .
How do you find a missing leg?
Subtract the known leg’s square from the hypotenuse’s square, then take the square root. The hypotenuse must be longer than the leg.
What are common Pythagorean triples?
Whole-number right triangles like 3-4-5, 5-12-13, and 8-15-17.