Skip to content

Slope Calculator

Percent grade, degrees, inches per foot and a 1-in-X ratio from your rise and run, for yards, drains, patios and ramps.

Slope Calculator Results update as you type
What do you know?
I know the
Stretch a string level from the high point (use a line level), and measure straight down from it at the low point.
Measure level, not along the ground. On a gentle slope the two are almost the same.

Results

Grade (percent slope) 5 % That's 2.86° or 0.600 in of rise per foot (20 ft of run per foot of rise).

Same slope as

Angle
2.86 degrees
Rise (or drop) per foot
0.600 in per ft
Run for every 1 of rise (1 : X)
20

Over your run

Total rise (or drop)
6 in
Total rise, in feet
0.50 ft
Length along the slope
10 ft 1/8 in

On this page 11 sections
  1. How do I calculate slope percentage?
  2. Worked example: grading a yard away from the house
  3. Slope conversion table
  4. Percent, degrees, ratio and inches per foot
  5. Slopes that codes and standards set
  6. How to measure rise and run outdoors
  7. Common jobs
  8. Frequently asked questions
  9. Related calculators
  10. Sources and method
  11. Add this calculator to your website

How do I calculate slope percentage?

Slope % = rise ÷ run × 100, with the rise and run in the same units. A yard that falls 6 inches over 10 feet (120 inches) is 6 ÷ 120 × 100 = 5%. The same slope is 2.86°, 0.600 in per foot, or 1 in 20. For degrees, take the arctangent of rise ÷ run.

Worked example: grading a yard away from the house

Ground falling 6 inches over a 10 foot level run, away from a house wall: a 5 percent grade, about 2.9 degrees. The slope is drawn steeper than it really is. Run 10 ft (level) Rise 6 in House Grade = rise ÷ run × 100 = 6 ÷ 120 × 100 = 5%
  1. Measure: tie a string to a stake at the foundation, run it 10 ft out to a second stake, and level it with a line level. At the far stake, the ground is 6 in further below the string than at the house: that is the rise (here, a drop).
  2. Same units: 10 ft = 120 in.
  3. Grade: 6 ÷ 120 = 0.05, × 100 = 5%.
  4. Angle: arctan(0.05) = 2.86°.
  5. Per foot: 0.05 × 12 = 0.600 in of fall per foot, or 1 ft of drop for every 20 ft of run.
  6. Check it: the 2021 IRC asks for at least 6 in of fall in the first 10 ft away from a foundation, so this yard just meets it.

Slope conversion table

The same slope written five ways. The last two columns show how far the ground drops (or rises) over 10 ft and 100 ft of level distance.

GradeDegreesIn per ftRatioOver 10 ftOver 100 ft
0.5%0.29°0.061 : 2005/8 in0.5 ft
1%0.57°0.121 : 1001 3/16 in1 ft
2%1.15°0.241 : 502 3/8 in2 ft
5%2.86°0.61 : 206 in5 ft
8.33%4.76°11 : 1210 in8.3 ft
10%5.71°1.21 : 1012 in10 ft
15%8.53°1.81 : 6.718 in15 ft
20%11.31°2.41 : 524 in20 ft
25%14.04°31 : 430 in25 ft
33.33%18.43°41 : 340 in33.3 ft
50%26.57°61 : 260 in50 ft
100%45°121 : 1120 in100 ft

Inches per foot is the same number as roof pitch in 12: a 4 in per ft slope is a 4/12 pitch. For roofs, use the roof pitch calculator.

Percent, degrees, ratio and inches per foot

  • Percent grade = rise ÷ run × 100. Used for roads, driveways, paving and drainage. 100% is 45°, not vertical.
  • Degrees = arctan(rise ÷ run). Used by angle finders and phone apps. Percent and degrees are not proportional: 10° is 17.63%, but 45° is 100%.
  • Ratio (1 : X) = run ÷ rise. Used for ramps and embankments: 1 : 12 means 12 ft of run for every 1 ft of rise.
  • Inches per foot = rise ÷ run × 12. Used for pipes, patios and gutters: ¼ in per foot is 2.08%.
DegreesGradeIn per ft
1°1.75%0.209
2°3.49%0.419
5°8.75%1.05
10°17.63%2.116
15°26.79%3.215
20°36.4%4.368
30°57.74%6.928
45°100%12

Slopes that codes and standards set

WhereSlopeSame asSource
Ground next to a house6 in of fall in the first 10 ft5%2021 IRC R401.3
Paving within 10 ft of a houseat least 2% away from itabout ¼ in per ft2021 IRC R401.3
Drain pipe 2½ in and smallerat least ¼ in per ft2.08%2021 IRC P3005.3
Drain pipe 3 in and largerat least ⅛ in per ft1.04%2021 IRC P3005.3
Accessible rampno steeper than 1 : 128.33%2010 ADA Standards 405.2
Accessible walking surfacesteeper than 5% counts as a ramp1 : 202010 ADA Standards

Your local code may differ from these model codes, so check with your building department before you build. For accessible ramps, the ADA also limits each run to a 30 in rise, with level landings between runs.

How to measure rise and run outdoors

  • String and line level: drive a stake at the high point and one at the low point. Tie a string to both, level it with a line level, and measure from the string down to the ground at each stake. The difference is the rise. The level distance between the stakes is the run.
  • Long board and level: for short distances, rest one end of a straight board on the high point, level it, and measure down from the other end.
  • Laser or builder's level: read the staff at both points. The difference between the readings is the rise.
  • Measure the run level, not along the ground. On slopes under about 10% the difference is tiny: over 10 ft at 10%, the ground is only about 5/8 in longer.

Common jobs

  • Grading away from the foundation: enter the drop you measured over 10 ft. 5% or more meets the IRC.
  • Patio or walkway: pitch it away from the house so it drains, at least 2% where it is within 10 ft of the building. On a 12 ft deep patio, 2% is about 2 7/8 in of fall. The paver calculator works out the base and pavers.
  • Drain pipe or French drain: use Grade % mode with 2.08 (¼ in per ft) or 1.04 (⅛ in per ft) and the pipe length to get the total drop: ⅛ in per ft over 30 ft is 3 3/4 in.
  • Driveway: a driveway that climbs 3 ft over 40 ft is a 7.5% grade (4.29°).
  • Ramp: at 1 : 12, each inch of rise needs 1 ft of run, so a 24 in rise needs 24 ft of ramp. Each run can rise 30 in at most, so a taller rise needs a level landing between runs.

Frequently asked questions

How do you calculate slope percentage?
Divide the rise by the run, using the same units for both, and multiply by 100. A 6 in drop over 10 ft (120 in) is 6 ÷ 120 × 100 = 5%.
How do I convert slope percent to degrees?
Take the arctangent of the percent divided by 100. A 10% grade is arctan(0.10) = 5.71°. To go from degrees to percent, take the tangent and multiply by 100: tan(5°) × 100 = 8.75%.
What is a 2% slope in inches per foot?
About ¼ in per foot: 0.02 × 12 = 0.24 in. Over 10 ft that is 2 3/8 in of fall.
What is ¼ inch per foot as a percentage?
2.08%: 0.25 ÷ 12 × 100. That is the minimum the IRC sets for drain pipes 2½ in and smaller, and a ratio of 1 : 48.
What does a 1 : 12 slope mean?
1 unit of rise for every 12 units of run: 1 in of rise per foot, an 8.33% grade or 4.76°. It is the steepest slope the ADA Standards allow for a new accessible ramp.
Is a 100% slope vertical?
No. 100% means the rise equals the run, which is 45°. A vertical wall has no percent grade, because the run is zero.
How much slope does a yard need for drainage?
The 2021 IRC asks for the ground to fall at least 6 in within the first 10 ft from the foundation, which is 5%. Where that is not possible, it calls for drains or swales instead.

Sources and method

Last checked October 17, 2026. How we build and test every calculator: methodology.

Add this calculator to your website

Free for any site: paste this code into a page and the calculator appears there, always up to date. No sign-up. It works on phones and resizes itself.

All embeddable calculators