📐 Math

Pythagorean Theorem Calculator

Calculate the length of the hypotenuse or one of the legs in a right-angled triangle using the Pythagorean theorem.

⏳

Formula

a² + b² = c²
a, b
The two legs of the right triangle
c
The hypotenuse (longest side)

Example

Finding the Hypotenuse

Find the length of the hypotenuse when leg a = 6 and leg b = 8.

  1. Square both leg lengths: 6² = 36 and 8² = 64.
  2. Add the squares together: 36 + 64 = 100.
  3. Take the square root of the sum: √100 = 10.
  4. Result: The hypotenuse is 10.

Frequently Asked Questions

No, the Pythagorean theorem specifically only applies to right-angled triangles (triangles where one interior angle is exactly 90 degrees). For other triangles, use the Law of Cosines.

Related Calculators