Pythagorean Theorem Calculator

Find the missing side of a right triangle using a² + b² = c².

How to use the Pythagorean Theorem Calculator

  1. Enter or choose the solve for.
  2. Enter or choose the leg a.
  3. Enter or choose the leg b.
  4. Results update instantly as you type — press Calculate any time to refresh.

Formula

a² + b² = c².

About this calculator

In any right triangle, the square of the hypotenuse equals the sum of the squares of the other two sides. Find the hypotenuse from two legs, or a missing leg from the other leg and the hypotenuse, plus the area, perimeter and angles.

Frequently asked questions

What is the hypotenuse?

The longest side, opposite the right angle.

Does it work for non-right triangles?

No. Use the law of cosines (see the triangle calculator) instead.