Right Triangle Leg Calculator
Compute the unknown leg (cathetus) of a right triangle using the Pythagorean theorem. Features step-by-step working display and geometry validation.
About
This tool solves for the missing leg (a or b) of a right-angled triangle when the hypotenuse and one leg are known. Correctly identifying leg lengths is critical in carpentry (framing), machining, and vector physics. The calculator validates the geometric possibility of the triangle, ensuring the leg is strictly shorter than the hypotenuse, a common source of error in manual calculations. It provides the rearranged Pythagorean formula used for the specific solution.
Formulas
The Pythagorean theorem establishes the fundamental relationship in Euclidean geometry.
To find a leg, we isolate the unknown variable by subtracting the known leg squared from the hypotenuse squared.
Reference Data
| Side | Variable | Relation | Formula |
|---|---|---|---|
| Leg A | a | Adjacent/Opposite | a = √c2 - b2 |
| Leg B | b | Adjacent/Opposite | b = √c2 - a2 |
| Hypotenuse | c | Longest Side | c = √a2 + b2 |