How to use the slope calculator
- Stretch a string line between two stakes and level it with a line level or use a laser level.
- Measure the horizontal distance between the stakes (the run).
- Measure the height difference at the lower stake (the rise).
- Enter both — each can use its own unit.
Slope formulas
Angle = arctan(Rise ÷ Run)
Ratio = 1 in (Run ÷ Rise)
Inches per foot = Grade % × 0.12
A 100% grade is 45°, not vertical. Small grades are easier to read as inches per foot or millimetres per metre.
Worked example
A patio area that drops 6 in over 10 ft.
- Grade = 0.5 ÷ 10 × 100 = 5%
- Angle = arctan(0.05) = 2.86°
- Ratio = 1 in 20; 0.6 in per ft
Frequently asked questions
How do I calculate slope percentage?
Divide the rise by the run (in the same units) and multiply by 100. A 1 ft drop over 20 ft is 5%.
How do I convert percent grade to degrees?
Take the arctangent of the grade as a decimal. 5% → arctan(0.05) ≈ 2.86°.
What slope do I need for drainage?
It depends on the surface and your local code or designer’s specification. Use this calculator to check that what you built matches the required grade.
Sources & methodology
Unit conversions use exact legal definitions. Material densities are typical planning values that vary in practice — see the calculation methodology for every constant, rounding rule and test.
- NIST Special Publication 811 — Guide for the Use of the International System of Units (SI) — Exact definitions of the inch, foot, yard, acre, pound and US gallon used for every conversion.