← Free Everyday Tools

Pythagorean Theorem Calculator

Enter two legs to find the hypotenuse, or one leg and the hypotenuse to find the other leg. Nothing leaves your browser.

Result

How it works

a² + b² = c², where c is the hypotenuse (the side opposite the right angle). The hypotenuse is √(a² + b²); a missing leg is √(c² − a²).

FAQ

What is the Pythagorean theorem?

In a right triangle, the square of the hypotenuse equals the sum of the squares of the other two sides: a² + b² = c².

How do I find the hypotenuse?

Square both legs, add them, and take the square root. Legs 3 and 4 give √25 = 5.

How do I find a missing leg?

Subtract the square of the known leg from the square of the hypotenuse, then take the square root.

Does it work for any triangle?

Only for right triangles, those with a 90 degree angle.

Is my data uploaded?

No. Everything is calculated in your browser and nothing is sent or stored.

Tell us what to fix

Please do not enter your name, email, or personal information.

How useful was this tool? (1–5)

May we quote your comment anonymously?

Free tool, provided as is, with no guarantee. Results are for general information. Please do not enter personal information in feedback.