Pythagorean Theorem Calculator

Enter two known sides of a right triangle to find the third.

Formula

a² + b² = c², where c is the hypotenuse

Example

Legs of 3 and 4 give a hypotenuse of 5.

Frequently Asked Questions

Does this only work for right triangles?
Yes, the Pythagorean theorem applies specifically to right triangles. For any triangle, use the Triangle Calculator instead.