Pythagorean Theorem Calculator

Pythagorean Theorem Calculator: Calculate a right triangle's hypotenuse from its two perpendicular legs.

Pythagorean Theorem Calculator

Pythagorean Theorem Calculator: Enter the lengths of the two sides meeting at a right angle. The hypotenuse is computed using √(a² + b²).

Loading the tool...

✓ Your inputs stay in this browser

How to use Pythagorean Theorem Calculator

Enter the lengths of the two sides meeting at a right angle. The hypotenuse is computed using √(a² + b²).

How Pythagorean Theorem Calculator calculates the result

For a right triangle with perpendicular legs a and b, hypotenuse c = √(a² + b²). The relationship does not apply to arbitrary non-right triangles.

Example

A right triangle with legs 3 and 4 has hypotenuse 5.

What to know

Valid only for right triangles. This calculates the hypotenuse, not a missing leg or a triangle with unknown angles. Use consistent units.