Pythagorean Theorem (solve for c)
c = √(a² + b²)Find the hypotenuse given both legs. Square each leg, add them, and take the square root.
Where:
a= First leg of the right triangleb= Second leg of the right trianglec= Hypotenuse (longest side)Side c
5
Area
6.00
Triple
Yes
a² + b² = c²
The hypotenuse (c) must always be the longest side
3
a² = 94
b² = 165
c² = 256
(a×b)/212
a+b+ca² + b² = c²
3² + 4² = c²
9 + 16 = c²
25 = c²
c = √25 = 5
| a | b | c | a²+b²=c² |
|---|---|---|---|
| 3 | 4 | 5 | 9+16=25 |
| 5 | 12 | 13 | 25+144=169 |
| 7 | 24 | 25 | 49+576=625 |
| 8 | 15 | 17 | 64+225=289 |
| 9 | 40 | 41 | 81+1600=1681 |
| 11 | 60 | 61 | 121+3600=3721 |
| 20 | 21 | 29 | 400+441=841 |
c = √(a² + b²)Find the hypotenuse given both legs. Square each leg, add them, and take the square root.
Where:
a= First leg of the right triangleb= Second leg of the right trianglec= Hypotenuse (longest side)a = √(c² - b²)Find a missing leg given the hypotenuse and the other leg. The hypotenuse must be longer than the known leg.
Where:
a= Missing leg to solve forb= Known legc= Hypotenuse (must be > b)Inputs
Result
3² + 4² = 9 + 16 = 25, and √25 = 5. This is the smallest Pythagorean triple, and every multiple (6-8-10, 9-12-15) is also a triple.
Inputs
Result
a² = c² - b² = 169 - 144 = 25, so a = √25 = 5. The (5, 12, 13) triple is a primitive triple (no common factors).
Inputs
Result
1² + 1² = 2, so c = √2 ≈ 1.414214. This is the diagonal of a unit square and forms a 45-45-90 triangle. Not a Pythagorean triple since √2 is irrational.
The Pythagorean theorem states that in a right triangle, the square of the hypotenuse equals the sum of the squares of the other two sides: a² + b² = c². It only works for right triangles (triangles with one 90° angle).
| Known Sides | Calculation | Missing Side |
|---|---|---|
| a=3, b=4 | 9 + 16 = 25 | c = 5 |
| a=5, b=12 | 25 + 144 = 169 | c = 13 |
| a=8, b=15 | 64 + 225 = 289 | c = 17 |
| b=7, c=25 | 625 - 49 = 576 | a = 24 |
A Pythagorean triple is a set of three positive integers (a, b, c) where a² + b² = c². The smallest triple is (3, 4, 5). Any multiple of a triple is also a triple: (6, 8, 10) = 2 × (3, 4, 5).
| Triple | a² | b² | c² |
|---|---|---|---|
| (3, 4, 5) | 9 | 16 | 25 |
| (5, 12, 13) | 25 | 144 | 169 |
| (8, 15, 17) | 64 | 225 | 289 |
| (7, 24, 25) | 49 | 576 | 625 |
To find the hypotenuse: square both legs, add them together, then take the square root. c = √(a² + b²). For legs of 6 and 8: c = √(36 + 64) = √100 = 10.
| Step | Calculation | Result |
|---|---|---|
| Square a | 6² | 36 |
| Square b | 8² | 64 |
| Add | 36 + 64 | 100 |
| Square root | √100 | 10 |
Rearrange the formula: a = √(c² - b²). Square the hypotenuse, subtract the known leg squared, then take the square root. For c = 13 and b = 5: a = √(169 - 25) = √144 = 12.
| Known | Calculation | Missing Leg |
|---|---|---|
| c=13, b=5 | √(169-25) = √144 | a = 12 |
| c=25, a=7 | √(625-49) = √576 | b = 24 |
| c=17, b=15 | √(289-225) = √64 | a = 8 |
The Pythagorean theorem is used in construction to ensure walls are square (3-4-5 rule), in navigation to calculate straight-line distances, in architecture for roof pitches, and in computer graphics for distance between two points on a screen.
| Application | What You Measure | Formula |
|---|---|---|
| TV diagonal | Width 48", Height 27" | √(2304+729) = 55" |
| Roof rafter | Run 12ft, Rise 5ft | √(144+25) = 13ft |
| Ladder reach | Wall 12ft, Base 5ft | √(144+25) = 13ft |
The Pythagorean theorem, a² + b² = c², is one of the most fundamental relationships in mathematics. It connects the three sides of any right triangle: the sum of the squares of the two legs equals the square of the hypotenuse. This 2,500-year-old theorem remains essential in modern construction, engineering, and science.
A Pythagorean triple is a set of three integers that satisfy the theorem, like (3, 4, 5) or (5, 12, 13). Carpenters use the 3-4-5 rule daily to verify right angles. Any multiple of a triple is also a triple, giving an infinite family of integer solutions.
Our calculator solves for any missing side, shows step-by-step work, checks whether the result forms a Pythagorean triple, and calculates the triangle area and perimeter. Enter any two sides and instantly see the complete solution.
Last Updated: Mar 11, 2026
This calculator is provided for informational and educational purposes only. Results are estimates and should not be considered professional financial, medical, legal, or other advice. Always consult a qualified professional before making important decisions. UseCalcPro is not responsible for any actions taken based on calculator results.