How to use this calculator
- Enter first known leg and the remaining values.
- Check the selected units and the counting or calculation convention described below.
- Select Calculate to review the result and breakdown. Reset restores the example.
The formula
In missing-leg mode the second side must be the hypotenuse and strictly exceed the first. The calculation uses a difference-of-squares product to reduce subtraction error near equal sides.
A worked example
Legs 3 m and 4 m give hypotenuse 5 m. A known leg 3 m and hypotenuse 5 m give missing leg 4 m.
How to interpret your result
The right-angle assumption is essential; this identity does not solve an arbitrary non-right triangle.
Assumptions and limitations
Use the units, timing, and bounds stated beside the inputs. Example values are hypothetical; replace them with your own.
Positive sides in one selected unit; no construction tolerances or structural design.