Slope Calculator

Measure a slope for a path, patio, drainage run or retaining wall plan: enter the rise and run to get the grade as a percentage, an angle, a ratio and inches per foot.

Formulas tested · engine v1.0.0Runs on your deviceHow we calculate

Measurement system

Changing system converts the numbers you’ve entered, so your project stays the same size.

Measure from a level string line or with a laser level.

Your result—

Your estimate

—

Enter your measurements to see the quantity.

Grade as a percentage, an angle and a ratio from rise and run.

Find suppliers near you

Take your slope numbers to a local supplier and ask for a quote. Each button opens a search in your map app.

Leave empty to search near you. Only added to the map search — YardCalio never sees it or your location.

Opens Google, Apple or Bing Maps in a new tab. YardCalio does not recommend or rank businesses and is not paid by them. What to ask a supplier →

How to use the slope calculator

  1. Stretch a string line between two stakes and level it with a line level or use a laser level.
  2. Measure the horizontal distance between the stakes (the run).
  3. Measure the height difference at the lower stake (the rise).
  4. Enter both — each can use its own unit.

Slope formulas

Grade % = Rise ÷ Run × 100
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.

  1. Grade = 0.5 ÷ 10 × 100 = 5%
  2. Angle = arctan(0.05) = 2.86°
  3. 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.

  1. 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.