How this calculator works
Slope is how much a surface rises for the distance it runs. Grade is the rise divided by the run, as a percent. The angle is the arctangent of the grade, and the ratio is the run for each unit of rise. If you know the grade, the rise is the grade times the run, and the run is the rise divided by the grade.
Worked example: a rise of 6 inches over a run of 12 feet is a 4.17% grade, an angle of 2.39°, a 1:24.0 slope and 0.500 inch per foot. A 2% grade over 20 feet falls 4.80 inches. A ramp at the 8.33% (1:12) limit that rises 30 inches needs a run of 30.0 feet.
Assumptions and sources
The assumptions behind your numbers (waste, sizes, rates) are listed in the notes directly under your results, and they update when you change an input.
The formula and a worked example are shown above, so you can check any result by hand. Read how we calculate and check our numbers. Results are estimates for planning: supplier products vary, so check the size printed on the label.
Common slopes
Grade, angle, ratio and fall per foot.
| Slope | Grade | Angle | Inches per foot |
|---|---|---|---|
| 1/8 in per ft | 1.04% | 0.60° | 0.125 |
| 1/4 in per ft | 2.08% | 1.19° | 0.250 |
| 1 in per 8 ft (pipe) | 1.04% | 0.60° | 0.125 |
| 1:20 | 5.00% | 2.86° | 0.600 |
| 1:12 (ramp) | 8.33% | 4.76° | 1.000 |
| 1:10 | 10.00% | 5.71° | 1.200 |
| 1:8 | 12.50% | 7.13° | 1.500 |
| 1:4 | 25.00% | 14.04° | 3.000 |
Percent grade to degrees and ratio
Grade, angle in degrees, the ratio (one unit up for this many along) and inches of fall per foot, for the grades people look up.
| Grade | Angle | Ratio | Inches per foot |
|---|---|---|---|
| 1% | 0.57° | 1:100.0 | 0.12 |
| 2% | 1.15° | 1:50.0 | 0.24 |
| 3% | 1.72° | 1:33.3 | 0.36 |
| 4% | 2.29° | 1:25.0 | 0.48 |
| 5% | 2.86° | 1:20.0 | 0.60 |
| 6% | 3.43° | 1:16.7 | 0.72 |
| 8% | 4.57° | 1:12.5 | 0.96 |
| 10% | 5.71° | 1:10.0 | 1.20 |
| 12% | 6.84° | 1:8.3 | 1.44 |
| 15% | 8.53° | 1:6.7 | 1.80 |
| 20% | 11.31° | 1:5.0 | 2.40 |
| 25% | 14.04° | 1:4.0 | 3.00 |
| 30% | 16.70° | 1:3.3 | 3.60 |
| 40% | 21.80° | 1:2.5 | 4.80 |
| 50% | 26.57° | 1:2.0 | 6.00 |
| 100% | 45.00° | 1:1.0 | 12.00 |
Tips before you buy
- Water needs a fall: plan on 1/4 inch per foot (2%) for a patio, sloping away from the house (This Old House gives 1/8 to 1/4 inch per foot; the calculator uses the 1/4 inch end). A drain pipe needs 1/8 to 1/4 inch per foot, the steeper figure for small pipes.
- Accessible ramps are limited to 1:12 (8.33%) by the ADA and most codes, with landings. Check your local rules.
- To measure a slope, use a long straight board and a level, or a laser level, and divide the drop by the distance.
- A string line and a line level are accurate enough to set the fall of a drain or a patio.
- Roof pitch is the same idea in a different form: a 6/12 roof rises 6 inches in 12, which is a 50% grade or 26.6 degrees.
Quick answers by size
Tools & materials for this project
Affiliate links As an Amazon Associate we earn from qualifying purchases. These links do not change what you pay.
Frequently asked questions
How do you calculate the slope of a surface?
Divide the rise by the run and multiply by 100. A rise of 6 inches over 12 feet is 0.5 ft over 12 ft = 4.17%.
What slope do I need for drainage?
Plan on 1/4 inch per foot (about 2%) for a patio, sloping away from the house (This Old House gives 1/8 to 1/4 inch per foot; this is the 1/4 inch end). A drain pipe needs 1/8 to 1/4 inch per foot, the steeper figure for small pipes.
How do I convert percent grade to degrees?
Take the arctangent of the grade as a decimal: 4.17% is 2.39 degrees. A 100% grade is 45 degrees.
What is the maximum slope for a wheelchair ramp?
1:12, which is 8.33% or 4.8 degrees: one inch of rise for every foot of run. A 30 inch rise needs 30.0 feet of ramp.
Add this calculator to your website
Running a blog, a contractor site or a class page? You can put this calculator on it for free. Copy the code below, and please leave the link underneath the calculator in place. The small script just resizes the frame to fit the results; if your site strips scripts, the calculator still works inside a scrolling frame.
Related calculators & guides
Estimates only. Results assume standard materials and simple shapes. Supplier products vary, and the final call on quantity, structure and safety is yours. Check your local code and your supplier's guidance before ordering.