Slope Calculator

What is the slope of your yard, driveway or ramp? Enter the rise and the run, or a percent and a run, and get the slope as a percent grade, a ratio, an angle in degrees and the drop in inches per foot.

Enter your measurements

Units

Measure level, not along the slope. A string level or a laser level helps.

Slope

2 %

1 : 50 · 1.15° · 0.24 in per ft

Slope in every form
Rise (vertical)6 in
Run (horizontal)25 ft
Slope (percent grade)2%
Ratio (rise : run)1 : 50
Angle1.146°
Drop per foot of run0.24 in
Drop per meter of run20 mm

Formula: slope % = rise ÷ run × 100; angle = arctan(rise ÷ run). Run is the horizontal distance, not the length measured along the slope. For surface drainage, about 1/4 in of drop per foot (roughly 2%) away from the house is a common target for patios and walkways.

Slope percentage formula and a quick answer

Slope as a percent is the rise divided by the run, times 100. Use the same unit for both.

Slope % = rise ÷ run × 100

Example: a rise of 2 ft over a run of 10 ft is 2 ÷ 10 × 100 = 20%. The calculator returns the same result: 20%, a ratio of 1 : 5, an angle of 11.31° and 2.4 inches of drop per foot of run.

How to calculate slope

The rise is the vertical change in height. The run is the horizontal distance, measured level, not along the surface of the slope. Convert both to one unit before you divide; the calculator takes feet, inches, meters and centimeters.

Ratio = 1 : (run ÷ rise)
Angle = arctan(rise ÷ run)
Drop per foot of run (in) = rise ÷ run × 12

Percent and degrees are not the same number. A 100% slope has a rise equal to the run, which is 45 degrees, and a 2% grade is only about 1.15 degrees.

Worked example: 6 inches of fall over 25 feet

A patio edge drops 6 inches over a run of 25 feet. Convert the rise to feet first: 6 in = 0.5 ft.

  • Percent: 0.5 ÷ 25 × 100 = 2%
  • Ratio: 25 ÷ 0.5 = 50, so the slope is 1 : 50
  • Angle: arctan(0.02) = 1.146 degrees
  • Drop per foot: 0.02 × 12 = 0.24 inches per foot of run

Measure the rise over the run with a string line and a line level, a laser level, or a long straight board with a level.

Slope conversions: percent, degrees and ratio

Read across to turn a ratio into a percent grade and an angle. One quarter inch of drop per foot of run is 2.08%, or 1 : 48.

Slope as a ratio, a percent grade and an angle
Ratio (rise : run)Percent gradeAngleDrop per foot of runWhere you meet it
1 : 502%1.15°0.24 inImpervious surface within 10 ft of a house: at least 2% away from it (California Residential Code R401.3)
1 : 482.08%1.19°0.25 inAbout 1/4 in per foot. Steepest cross slope of an accessible ramp run (ADA 405.3)
1 : 205%2.86°0.6 inSteepest running slope of a walking surface (ADA 403.3). Steeper is a ramp
1 : 128.33%4.76°1 inSteepest running slope of an accessible ramp run (ADA 405.2)
1 : 1010%5.71°1.2 in—
1 : 812.5%7.13°1.5 in—
1 : 425%14.04°3 in—
1 : 250%26.57°6 inA 6/12 roof pitch
1 : 1100%45°12 inRise equals run

To find a slope from a percent, switch the calculator to percent and enter the run: it returns the rise. A roof pitch is a slope too, and the roof pitch calculator converts 6/12 and its relatives. The guide to calculating slope also covers the two-point formula from math class. Need to shape ground to a slope? The fill dirt calculator estimates the soil to bring in, and the stair calculator covers a stepped change in height.

How much slope do you need for drainage?

Water needs a fall to run off. The California Residential Code (R401.3) says the grade next to a house must fall not fewer than 6 inches within the first 10 feet, which is about 5%, and that an impervious surface such as a patio within 10 feet of the foundation must slope not less than 2 percent away from the building. Two percent is about 1/4 inch per foot. Where lot lines, walls or slopes prevent this, it asks for drains or swales. Other codes differ, so check yours before you grade.

Too little slope leaves puddles, and too much can erode soil or make a walk feel steep. For accessible routes, the ADA Standards say the running slope of a walking surface shall not be steeper than 1:20, a ramp run not steeper than 1:12, and its cross slope not steeper than 1:48. The wheelchair ramp calculator sizes a ramp to those limits.

Slope Calculator FAQ

How do you calculate slope as a percent?

Divide the rise by the run and multiply by 100, using the same unit for both. A rise of 2 ft over a run of 10 ft is 2 ÷ 10 × 100 = 20%. A rise of 6 inches over 25 feet is 0.5 ft ÷ 25 ft × 100 = 2%.

How do you calculate slope in degrees?

Take the arctangent of rise ÷ run. A rise of 2 ft over a run of 10 ft is arctan(0.2) = 11.31 degrees, and the calculator shows the same. A 100% slope is 45 degrees.

What is 1/4 inch per foot as a percent slope?

A drop of 1/4 inch over 12 inches is 0.25 ÷ 12 × 100 = 2.08%, a ratio of 1 : 48 and an angle of 1.19 degrees. A 2% slope is a little less, 0.24 inch per foot.

What is a 1:12 slope as a percent?

A 1:12 slope is 1 ÷ 12 × 100 = 8.33%, or about 4.76 degrees. It is the steepest running slope the ADA Standards allow for an accessible ramp run.

How much slope should a patio or yard have for drainage?

The California Residential Code asks for at least 2% (about 1/4 inch per foot) on an impervious surface within 10 feet of a foundation, and a fall of 6 inches in the first 10 feet for the ground itself. Check your local rules.

Guides

Last updated . Free to use, no sign-up. How we check our numbers.