Slope and Grade Calculator

Enter the rise and the run, or a grade and a run. You get the slope as a percent, an angle, a ratio like 1:12 and inches of fall per foot.

Jump to your result ↓

Your project

Results

Example job shown. Change the numbers to match yours.

Grade
4.17 %
Angle
2.39 °
Ratio, one unit up for every1 in 24.0 (4.17% grade)
24.0 units along
Inches per foot
0.500 in/ft
Inches per 10 feet
5.00 in
Rise0.500 ft
6.00 in
Run
12.00 ft
Length along the slope
12.010 ft
  • Grade (%) = rise ÷ run × 100. Typical targets: 1/4 inch per foot (2%) for a patio to shed water away from a house (This Old House gives 1/8 to 1/4 inch per foot; this calculator uses the 1/4 inch end), about 1/8 to 1/4 inch per foot for a drain pipe (the steeper figure for small pipes), no more than 1:12 (8.33%) for a wheelchair ramp, and a driveway of about 5 to 10% in most places.

Blueprint

12 ft0.5 ft

4.2 % grade

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.

grade (%) = rise ÷ run × 100angle = arctan(rise ÷ run)

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.

SlopeGradeAngleInches per foot
1/8 in per ft1.04%0.60°0.125
1/4 in per ft2.08%1.19°0.250
1 in per 8 ft (pipe)1.04%0.60°0.125
1:205.00%2.86°0.600
1:12 (ramp)8.33%4.76°1.000
1:1010.00%5.71°1.200
1:812.50%7.13°1.500
1:425.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.

GradeAngleRatioInches per foot
1%0.57°1:100.00.12
2%1.15°1:50.00.24
3%1.72°1:33.30.36
4%2.29°1:25.00.48
5%2.86°1:20.00.60
6%3.43°1:16.70.72
8%4.57°1:12.50.96
10%5.71°1:10.01.20
12%6.84°1:8.31.44
15%8.53°1:6.71.80
20%11.31°1:5.02.40
25%14.04°1:4.03.00
30%16.70°1:3.33.60
40%21.80°1:2.54.80
50%26.57°1:2.06.00
100%45.00°1:1.012.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.

Get the embed code

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.