Hypotenuse Calculator

Find the hypotenuse of a right triangle from two legs, or find a missing leg from the hypotenuse and one leg.

Share this calculator

How to use

Enter the lengths of both legs of a right triangle. The calculator finds the hypotenuse using c = √(a² + b²), plus area, perimeter, and both acute angles.

Enter both leg lengths Provide the lengths of leg a and leg b to calculate the hypotenuse and other properties.

Also in Triangles

Geometry

Find the hypotenuse or a missing leg of a right triangle

The hypotenuse calculator finds the longest side of a right triangle from the two legs using the Pythagorean theorem. It also solves for a missing leg when the hypotenuse and one leg are known.

The Pythagorean theorem

In a right triangle, the square of the hypotenuse equals the sum of the squares of the two legs: c = sqrt(a^2 + b^2). To find a missing leg instead, rearrange: a = sqrt(c^2 - b^2).

The theorem only applies to triangles with a 90-degree angle. The hypotenuse is always the side opposite the right angle and is always the longest side.

c = sqrt(a^2 + b^2)

Hypotenuse from two legs.

a = sqrt(c^2 - b^2)

Missing leg from hypotenuse and one leg.

Common Pythagorean triples

Pythagorean triples are integer side lengths that satisfy the theorem exactly. The most common are 3-4-5, 5-12-13, 8-15-17, and 7-24-25. Any multiple of a triple is also a triple (e.g. 6-8-10).

Recognising triples speeds up mental calculations in construction, carpentry, and standardised tests where right-angle verification is needed.

Frequently asked questions

What is the hypotenuse of a 3-4 right triangle?

5. sqrt(9 + 16) = sqrt(25) = 5. This is the classic 3-4-5 Pythagorean triple.

Can the hypotenuse be shorter than a leg?

No. The hypotenuse is always the longest side of a right triangle because it is opposite the largest angle (90 degrees).

How do I check if a triangle is a right triangle?

Square all three sides. If the largest squared value equals the sum of the other two squared values, it is a right triangle.

Related

More from nearby categories

These related calculators come from the same leaf category, nearby sibling categories, or the same top-level topic.