Skip to content
Embed

Paste this on your site. The attribution link is required and is what makes embedding free.

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.

Solve For

Result

a² + b² = c²

5.0000

Step-by-Step

c = √(3² + 4²) = √(9 + 16) = 5.0000

Side a

3.0000

Side b

4.0000

Hypotenuse c

5.0000

Verification

3.0000² + 4.0000² = 25.0000 ≈ 5.0000² = 25.0000

Pythagorean 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

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:

  1. Write the theorem: a² + b² = c²
  2. Substitute known values: 5² + 12² = c²
  3. Calculate squares: 25 + 144 = c²
  4. Add: 169 = c²
  5. 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

Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.

Last updated: November 3, 2026