Pythagorean Theorem Calculator

Calculate a right triangle hypotenuse from its two perpendicular legs.

How this calculator works

Enter the values for leg a, leg b. The result applies the displayed method and rounds only for presentation.

Formula / method

c = √(a² + b²).

Worked example

Worked example: Leg a = 3; Leg b = 4.

Assumptions and limitations

The inputs use the units shown and the displayed pythagorean theorem calculator method applies to the situation being estimated.

This pythagorean theorem calculator uses the stated formula and supplied units; unusual inputs, local rules or professional context can change the interpretation.