Pythagorean Theorem

Find the hypotenuse or a leg of a right triangle from two known sides.

Formula

c = √(a²+b²)

The square of the hypotenuse equals the sum of squares of the two legs: c² = a² + b².

Examples

3-4-5 triangle

5-12-13 triangle

8-15-17 triangle

Frequently Asked Questions

What is the Pythagorean theorem?

In a right triangle, c² = a² + b², where c is the hypotenuse.

Can I find a leg if I know the hypotenuse and other leg?

Yes: a = √(c² − b²).

What are Pythagorean triples?

Integer solutions like 3-4-5, 5-12-13, and 8-15-17.

About this Calculator

Find the hypotenuse or a leg of a right triangle from two known sides. All calculations are performed in your browser for instant results. Formulas are mathematically exact using JavaScript's built-in Math functions.