How it works
Choose the side to find and enter the other two sides in the same unit. For a right triangle, c² = a² + b². To find a leg, subtract the square of the known leg from c², then take the square root. The hypotenuse must be longer than the known leg; all lengths must be positive.
c = √(a² + b²); a = √(c² − b²); b = √(c² − a²)Worked example
For legs 3 and 4, c = √(3² + 4²) = 5. If c = 5 and b = 4, the missing leg a = √(5² − 4²) = 3.
Frequently Asked Questions
Which side is the hypotenuse?
It is the side opposite the right angle and the longest side of a right triangle.
Can I find a missing leg?
Yes. Select Find leg a or Find leg b, then enter the hypotenuse and the other leg. The hypotenuse must be longer than that leg.
Does the unit matter?
Both inputs must use the same unit; the answer uses that same unit.
Does it work for any triangle?
No. The Pythagorean theorem applies to right triangles.