Pythagorean theorem calculator

Hypotenuse of a right triangle.

Inputs

Your result5 units

Formula and calculation method

Square the two perpendicular legs, add the squares, and take the square root.

Worked example

InputExample 1Example 2
First leg35
Second leg412
Result5 units13 units

Which side does the result describe?

The result is the hypotenuse opposite the right angle. Enter the two perpendicular legs in the same unit. A 9-by-12 rectangle has a 15-unit diagonal if the corner is square.

Rectangle area calculatorTriangle area calculatorRectangle perimeter calculator