Pythagorean theorem calculator

Find a missing leg or hypotenuse of a right triangle.

Calculation inputs

Hypotenuse

5
QR code

How the calculation works

From legs a and b, find the hypotenuse as √(a² + b²). From hypotenuse c and leg a, find the other leg as √(c² − a²). The hypotenuse must exceed the known leg.

Example

Legs of length 3 and 4 give a hypotenuse of 5.

Methodology and definitions

Method checked