Pythagorean theorem calculator

Find the hypotenuse of a right triangle from the two legs.

Numbers Stateless

Use a decimal point for fractional values.

Quick guide

Try an example

You enter

First leg
3
Second leg
4

You get

5
How it works & limits

Both legs must be positive and measured in the same unit. The hypotenuse uses that unit.

Related tool

Triangle area and perimeter calculator