Formula and interpretation
c = √(a² + b²) for a right triangle.
This formula applies only when the angle between the two legs is exactly 90°.
Worked check
With legs 3 and 4, c = √(3² + 4²) = 5. This check only applies when the two entered legs meet at exactly 90 degrees; for a general triangle use the triangle or law-of-cosines workflow instead.
Rule: c = √(a² + b²) for a right triangle. This formula applies only when the angle between the two legs is exactly 90°. For a final check, estimate the expected size of the answer before copying it, keep units consistent, and round only the displayed result rather than intermediate values. Re-enter one simple case by hand when possible; a result with the wrong sign or order of magnitude usually points to an input or reference-base mistake.