Pythagorean Theorem Calculator

units
Enter side a in units.
units
Enter side b in units.
Math

Find the hypotenuse of a right triangle.

Formula

c = √(a² + b²)

Example Calculation

Example inputs
  • Side a: 3 units
  • Side b: 4 units

A right triangle with legs 3 and 4 has a hypotenuse of 5.

Frequently asked questions

How do I use this calculator?

Enter side a, side b. The result updates automatically. Use Reset to restore the example values.

What method does it use?

c = √(a² + b²). Follow the units and definitions shown with the inputs to apply this relationship consistently.

Why might a rounded result differ?

The calculation keeps full numeric precision internally, then rounds the displayed result. Rounding intermediate steps by hand can produce a slightly different answer.

Are my inputs saved online?

No. This calculator processes your inputs in your browser. A recently used list stores only calculator names on this device, not your entered values.

Check the assumptions and units before using this result. Read about calculation methods.