Pythagorean Theorem Calculator — Free Online Tool
Solve for any side of a right triangle using the Pythagorean theorem (a² + b² = c²) with instant step-by-step solutions and verification.
Result
a² + b² = c²
5.0000Step-by-Step
c = √(3² + 4²) = √(9 + 16) = 5.0000Side a
3.0000
Side b
4.0000
Hypotenuse c
5.0000
Verification
3.0000² + 4.0000² = 25.0000 ≈ 5.0000² = 25.0000Pythagorean Triples Reference Table
| Side a | Side b | Hypotenuse c | a² + b² | c² |
|---|---|---|---|---|
| 3 | 4 | 5 | 9 + 16 = 25 | 25 |
| 5 | 12 | 13 | 25 + 144 = 169 | 169 |
| 6 | 8 | 10 | 36 + 64 = 100 | 100 |
| 7 | 24 | 25 | 49 + 576 = 625 | 625 |
| 8 | 15 | 17 | 64 + 225 = 289 | 289 |
| 9 | 12 | 15 | 81 + 144 = 225 | 225 |
| 9 | 40 | 41 | 81 + 1600 = 1681 | 1681 |
| 12 | 16 | 20 | 144 + 256 = 400 | 400 |
| 20 | 21 | 29 | 400 + 441 = 841 | 841 |
Related Calculators
Right Triangle Calculator
Calculate all properties of right triangles including angles, area, and perimeter.
Triangle Calculator
Solve any triangle from sides and angles with comprehensive results.
Distance Calculator
Find the distance between two points in 2D or 3D coordinate space.
Slope Calculator
Calculate slope, y-intercept, and line equation from two coordinate points.
Scientific Calculator
Advanced calculations with trigonometry, logarithms, and scientific functions.
Square Footage Calculator
Calculate area in square feet with unit conversions and multi-room support.
About this calculator
Pythagorean Theorem Formulas
Standard Form
a² + b² = c² Solve for Hypotenuse (c)
c = √(a² + b²) Solve for Leg (a)
a = √(c² − b²) Solve for Leg (b)
b = √(c² − a²) Variables Explained
- a (leg): One of the two shorter sides of the right triangle that form the right angle. In the standard orientation, this is typically the vertical side.
- b (leg): The other shorter side of the right triangle forming the right angle. In the standard orientation, this is typically the horizontal side. The labels a and b are interchangeable.
- c (hypotenuse): The longest side of the right triangle, located opposite the 90-degree angle. The hypotenuse is always longer than either leg individually but shorter than the sum of both legs.
Step-by-Step Example
Find the hypotenuse of a right triangle with legs a = 5 and b = 12:
- Write the theorem: a² + b² = c²
- Substitute known values: 5² + 12² = c²
- Calculate squares: 25 + 144 = c²
- Add: 169 = c²
- Take the square root: c = √169 = 13
The hypotenuse is 13 units. The set (5, 12, 13) is a well-known Pythagorean triple, meaning all three values are whole numbers that perfectly satisfy the theorem.
Sources
- Math is Fun — Pythagorean Theorem: mathsisfun.com
- Khan Academy — Geometry, Analytic Geometry: khanacademy.org
- Purplemath — The Slope of a Straight Line: purplemath.com
Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.
Last updated: November 3, 2026