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.
- Checked
- 3 sources
- Formula tested
- Works offline
Results
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
- How do I calculate slope percentage?
- Worked example: grading a yard away from the house
- Slope conversion table
- Percent, degrees, ratio and inches per foot
- Slopes that codes and standards set
- How to measure rise and run outdoors
- Common jobs
- Frequently asked questions
- Related calculators
- Sources and method
- 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
- 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).
- Same units: 10 ft = 120 in.
- Grade: 6 ÷ 120 = 0.05, × 100 = 5%.
- Angle: arctan(0.05) = 2.86°.
- Per foot: 0.05 × 12 = 0.600 in of fall per foot, or 1 ft of drop for every 20 ft of run.
- 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.
| Grade | Degrees | In per ft | Ratio | Over 10 ft | Over 100 ft |
|---|---|---|---|---|---|
| 0.5% | 0.29° | 0.06 | 1 : 200 | 5/8 in | 0.5 ft |
| 1% | 0.57° | 0.12 | 1 : 100 | 1 3/16 in | 1 ft |
| 2% | 1.15° | 0.24 | 1 : 50 | 2 3/8 in | 2 ft |
| 5% | 2.86° | 0.6 | 1 : 20 | 6 in | 5 ft |
| 8.33% | 4.76° | 1 | 1 : 12 | 10 in | 8.3 ft |
| 10% | 5.71° | 1.2 | 1 : 10 | 12 in | 10 ft |
| 15% | 8.53° | 1.8 | 1 : 6.7 | 18 in | 15 ft |
| 20% | 11.31° | 2.4 | 1 : 5 | 24 in | 20 ft |
| 25% | 14.04° | 3 | 1 : 4 | 30 in | 25 ft |
| 33.33% | 18.43° | 4 | 1 : 3 | 40 in | 33.3 ft |
| 50% | 26.57° | 6 | 1 : 2 | 60 in | 50 ft |
| 100% | 45° | 12 | 1 : 1 | 120 in | 100 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%.
| Degrees | Grade | In 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
| Where | Slope | Same as | Source |
|---|---|---|---|
| Ground next to a house | 6 in of fall in the first 10 ft | 5% | 2021 IRC R401.3 |
| Paving within 10 ft of a house | at least 2% away from it | about ¼ in per ft | 2021 IRC R401.3 |
| Drain pipe 2½ in and smaller | at least ¼ in per ft | 2.08% | 2021 IRC P3005.3 |
| Drain pipe 3 in and larger | at least ⅛ in per ft | 1.04% | 2021 IRC P3005.3 |
| Accessible ramp | no steeper than 1 : 12 | 8.33% | 2010 ADA Standards 405.2 |
| Accessible walking surface | steeper than 5% counts as a ramp | 1 : 20 | 2010 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?
How do I convert slope percent to degrees?
What is a 2% slope in inches per foot?
What is ¼ inch per foot as a percentage?
What does a 1 : 12 slope mean?
Is a 100% slope vertical?
How much slope does a yard need for drainage?
Related calculators
Sources and method
- ICC: 2021 International Residential Code, R401.3 Drainage — grade to fall at least 6 in within the first 10 ft; impervious surfaces within 10 ft sloped at least 2% away
- ICC: 2021 International Residential Code, P3005.3 Horizontal drainage piping slope — at least ¼ in per ft for 2½ in pipe and smaller, ⅛ in per ft for 3 in and larger
- U.S. Access Board: Guide to the ADA Standards, Chapter 4 Ramps and Curb Ramps — running slope 1:12 maximum; 30 in maximum rise per run; walking surfaces steeper than 5% are treated as ramps
Last checked October 17, 2026. How we build and test every calculator: methodology.