Pythagorean Theorem Calculator

Pythagorean Theorem Calculator a² + b² = c²

Find the hypotenuse, find the missing leg, or check whether a triangle is a right triangle.

The calculator above finds the missing side of a right triangle: the hypotenuse from two legs, or a leg from the hypotenuse and the other leg.

Formulas used

c² = a² + b²
a = √(c² − b²)
  • c is the hypotenuse, the side opposite the right angle and the longest side.

Worked example

Legs 6 and 8:

c = √100 = 10

Enter the same values in the calculator above to see every step of the solution.

How to use the calculator

  1. Enter the two known sides and choose which side is missing.
  2. Press the calculate button. The result appears instantly.
  3. Read the step-by-step solution, rendered with KaTeX, to check your own work.