Pythagorean Theorem Calculator

Find the hypotenuse or a missing leg of a right triangle with a² + b² = c².

Hypotenuse c
5.0000
Area
6.0000
Perimeter
12.0000
TThe Crypto Tools69+ free crypto calculators — profit, fees, DCA and more.Our networkVisit →

The Pythagorean theorem links the three sides of a right triangle: the square of the hypotenuse equals the sum of the squares of the two legs, or a² + b² = c². This calculator solves it in both directions — enter the two legs to find the hypotenuse, or enter the hypotenuse and one leg to find the missing leg.

Along with the side you are looking for, it also reports the triangle's area and perimeter. Area is half the product of the two legs, and the perimeter is simply the sum of all three sides. Because the hypotenuse is always the longest side, the missing-leg mode needs the hypotenuse to be longer than the known leg.

How to use it

  1. 1Choose whether you are finding the hypotenuse (c) or a missing leg.
  2. 2Enter the two known sides — the two legs, or the hypotenuse and one leg.
  3. 3Read the highlighted side, plus the triangle's area and perimeter.
  4. 4Adjust any value and the results recalculate instantly.

Frequently asked questions

What is the Pythagorean theorem?+

For any right triangle, a² + b² = c², where a and b are the two shorter sides (legs) and c is the hypotenuse — the side opposite the right angle. It only holds for right triangles.

How do I find a missing leg?+

Rearrange the formula to b = √(c² − a²). Enter the hypotenuse and the known leg in the “Find a leg” mode and the calculator does this for you. The hypotenuse must be longer than the leg, otherwise no real triangle exists.

What are the sides of a 3-4-5 triangle?+

3, 4 and 5 form the best-known Pythagorean triple: 3² + 4² = 9 + 16 = 25 = 5². Any triangle whose sides are in a 3:4:5 ratio is a right triangle.

Related calculators