Pythagorean Theorem Calculator

Solve a² + b² = c² for any unknown side of a right triangle.

a² + b² = c²

Choose what to find, then enter the other two sides.

Hypotenuse (c)

5

Area

6

Perimeter

12

c = √(3² + 4²) = √25

Pythagorean Theorem Calculator Formula & How It Works

c = √(a² + b²) | a = √(c² − b²) | b = √(c² − a²)
  • a, b = legs (sides adjacent to the right angle)
  • c = hypotenuse (side opposite the right angle — always longest)
  • The theorem only applies to right triangles
  • Check: if a²+b²=c², the triangle is right-angled at C

The Pythagorean theorem states that in a right triangle, the square of the hypotenuse equals the sum of squares of the two legs (a²+b²=c²). To find hypotenuse: c=√(a²+b²). To find a leg: a=√(c²−b²). Used in navigation, construction, carpentry, and any distance calculation in 2D.

Pythagorean Theorem Calculator FAQs

How do you check if a triangle is a right triangle?

Square all three sides. If a²+b²=c² (where c is the longest side), it's a right triangle. Example: sides 5,12,13 → 25+144=169=13² ✓. Sides 3,4,6 → 9+16=25≠36 ✗ (not right-angled).

Can the Pythagorean theorem be used in 3D?

Yes. Distance in 3D: d=√(x²+y²+z²). First apply Pythagoras in the horizontal plane: d₂=√(x²+y²), then vertically: d=√(d₂²+z²). This extends to n dimensions: d=√(x₁²+x₂²+…+xₙ²).

Related Calculators