Skip to content
Jellykit

Pythagorean Theorem Calculator

Find the hypotenuse or a missing leg of a right triangle with the Pythagorean theorem, a² + b² = c², with the working, the angle and the area shown. Free.

Runs in your browser. Nothing is uploaded.

About Pythagorean Theorem Calculator

In a right triangle, the square of the hypotenuse (the longest side, opposite the right angle) equals the sum of the squares of the other two sides: a² + b² = c².

Choose whether you want the hypotenuse or a missing leg. For the hypotenuse, enter both legs: 3 and 4 give 5. For a leg, enter the known leg and the hypotenuse: c = √(c² − a²). The working is shown, along with the triangle's area and, when finding c, the angle opposite side a.

Builders use the 3-4-5 rule to check that corners are square: measure 3 along one wall and 4 along the other, and the diagonal should be exactly 5.

How to use Pythagorean Theorem Calculator

  1. Enter your values in the fields.
  2. The answer updates instantly as you type.
  3. Press Copy result to save the breakdown.

Frequently asked questions

Does this work for any triangle?

Only right triangles. For other triangles with three known sides, use the triangle calculator, which uses the law of cosines.

What is a Pythagorean triple?

Three whole numbers that fit a² + b² = c², such as 3-4-5, 5-12-13 and 8-15-17.

Is Pythagorean Theorem Calculator free and private?

Yes. Pythagorean Theorem Calculator is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.

See all calculators tools →