CalculatorForEver
MATH / GUIDE

How do I find a missing leg from a hypotenuse and one leg?

Calculator ForEver 3 min read

Rearrange the Pythagorean theorem: the missing leg is √(c² − a²), where c is the hypotenuse. The hypotenuse must be longer than the known positive leg.

Subtract squares before taking the root

The theorem states a² + b² = c² for perpendicular legs a and b. Solving for b² requires subtracting a² from c², then taking the nonnegative square root because a side length is nonnegative. Subtracting lengths first is a different operation.

Work a 10-unit hypotenuse example

With hypotenuse 10 and known leg 6, the missing leg is √(100 − 36) = √64 = 8 units. Taking 10 − 6 gives 4, which fails the check because 6² + 4² is 52, not 100.

Check the geometry and calculator mode

A known leg equal to or longer than the hypotenuse does not define an ordinary right triangle with those labels. Calculator ForEver’s two-leg tool expects the two legs; use the derived missing leg with the original known leg when checking that tool’s result.

Subtract squared lengths rather than the lengths themselves

With hypotenuse seventeen and one leg eight, the missing leg is √(17² − 8²) = √(289 − 64) = √225 = fifteen. Subtracting seventeen minus eight gives nine, which fails the right-triangle equation because 8² + 9² = 145 rather than 289. The subtraction belongs between the squares because the Pythagorean relationship combines squared perpendicular lengths. Take the nonnegative square root at the end for a geometric side length. Keep all dimensions in the same unit before squaring: a hypotenuse in meters and a leg in centimeters cannot be used as bare numbers in one equation without conversion.

Use the hypotenuse constraint to reject inconsistent labels

The hypotenuse must be strictly longer than either positive leg in an ordinary right triangle. If the known leg equals the hypotenuse, the expression under the square root is zero and the other side collapses, giving no positive-area triangle. If the leg is longer, the expression is negative, so those labels cannot describe a real right triangle. Before treating that as a mathematical puzzle, inspect whether the source reversed the leg and hypotenuse labels or mixed units. Measured dimensions close to equality can also be sensitive to rounding. A tiny positive derived leg may reflect an almost collapsed model rather than a reliable physical dimension suitable for fabrication or clearance planning.

Verify the derived side in the two-leg calculator

After deriving fifteen in the seventeen-and-eight example, enter legs eight and fifteen in Calculator ForEver's Right Triangle Calculator. It should recover hypotenuse seventeen, area sixty square units and perimeter forty units. This provides several checks from the same consistent geometry. If you need an angle, use the opposite-to-adjacent ratio for the intended vertex and preserve degrees versus radians. A negative algebraic root is unnecessary for the length, although solving a general squared equation can involve two signed solutions. The geometric input asks for magnitude. Keep the original hypotenuse, original leg and derived leg labeled in your notes; a calculator output alone cannot show which dimension was measured and which was inferred under the right-angle assumption.

Questions about this calculation

Can the square root give a negative side?

Use the nonnegative root for a geometric length. A negative algebraic solution does not describe the side’s length.

Try these values in the calculator

Find a hypotenuse and acute angles from two legs.

Use the right triangle calculator

References

More right triangle questions

Related tools