Right Triangle Calculator

Find the hypotenuse from two legs, or a leg from the hypotenuse and the other leg, in a right triangle.

Hypotenuse from two legs

Other leg from leg and hypotenuse

Enter one leg and the hypotenuse (hypotenuse must be longer than the leg).

Tips: Use consistent units. The hypotenuse must always be longer than each leg.

FAQ

Using the Pythagorean theorem: c = √(a² + b²), where a and b are the legs forming the right angle.

If you know leg a and hypotenuse c, the other leg is b = √(c² − a²), provided c > a.

Yes. This tool focuses on right triangles only (Pythagorean relationships). The general triangle calculator uses other formulas such as Heron’s area for three sides.