Geometry and layout calculator
Right Triangle Calculator
Calculate the missing side, angles, area, slope, and perimeter from any valid pair of known values.
What the result means
The hypotenuse is always the side opposite the 90 degree corner and is always the longest side.
Formula
For two known legs, the hypotenuse is the square root of the sum of the two squared leg lengths.
Common mistakes
- Using one of the short sides as the hypotenuse.
- Entering a physical corner that is not actually square.
- Confusing degrees, slope percentage, and rise over run.

Before you use the result
This calculator performs the math using the information you enter. Check the measurements and make sure the result fits the actual project before cutting, drilling, buying materials, or putting anything into service.
