Slope Calculator: percent, degrees, rise over run

How it's calculated. Slope % = rise ÷ run × 100, with both in the same unit and the run measured level, not along the slope. Degrees = arctan(rise ÷ run).
6" over 10' = 0.5 ft ÷ 10 ft = 0.05 → 5 % = 2.86° = 0.6 in per ft = 1 : 20
01

What do you know?

Slope given as
in
ftin

Percent is rise ÷ run × 100. Do not mix it up with degrees: 100 % is 45°, and 10 % is only 5.7°. Inches per foot is the same number as a roof pitch: ¼ in per ft is a 0.25/12 pitch.

02

What is the slope for?

Purpose

IRC R401.3: the ground must fall at least 6 in within the first 10 ft from the foundation (5 %). Where lot lines or walls prevent it, a swale or drain takes the water.

Slope
5%
2.86° · 0.6/12 · 1 : 20
Rise over 10' 0"6"
Length along the slope10' 0⅛"
Degrees2.86°
Pitch (rise in 12)0.6/12
Ratio1 : 20
Ruleat least 5 % · 0.6/12 · IRC R401.3
Falls at least 6 in in 10 ft away from the house (IRC R401.3)

Every way to write it

Degrees2.862°
Percent5 %
Pitch (rise in 12)0.6/12
Inches per foot⅝"
Per mille, mm per m50 ‰
Ratio1 : 20
Tangent of the angle0.05

% = tan α × 100; pitch = tan α × 12 (also inches per foot); ‰ = tan α × 1000; 1 : N with N = 1 ÷ tan α.

Slope triangle

2.86° · 5 % · 1 : 20
2.86°run 10' 0"6"along the slope 10' 0⅛" · 5 %vertical stretched for legibilityDELIMETRA · FT-IN
2.86°Degrees5 %Percent⅝"Inches per foot1 : 20Ratio
How we calculate

Every form of a slope comes from one number, the tangent t = rise ÷ run (both horizontal, not along the slope). Angle α = arctan t; percent t × 100; pitch and inches per foot t × 12; per mille t × 1000; ratio 1 : (1 ÷ t).

The length along the slope is the hypotenuse √(run² + rise²): use it for roofing, ramps and pipe. On gentle slopes it is almost the run: at 5 % the difference is 0.1 %.

Checks follow the US model codes: IRC R401.3 for grading by the foundation, IRC Table P3005.3 for drain pipe, the 2010 ADA Standards 405 for ramps, IRC R905 for roof coverings. Your jurisdiction's adopted code and amendments govern.

Slope
5%

A slope is the rise divided by the run. If the ground falls 6 inches over 10 feet, the slope is 0.5 ÷ 10 = 0.05: 5 %, 2.86°, 0.6 inches per foot or 1 : 20. Every way of writing a slope comes from that one ratio. The calculator above converts between all of them, works out the rise over any run and the length along the slope, and checks the result against the US codes for yard grading, drain pipe, ramps and roofs.

How the calculator works

Choose what you know: the rise and the run, or a slope already written as degrees, percent, inches per foot, per mille or 1 : N. Enter the run if you want the rise over a given distance. Then choose what the slope is for, and the calculator compares it with the rule that applies. When you switch the input unit, the current slope carries over, so you can type 2 % and read it as inches per foot.

One number behind every form

Every form is the tangent of the angle, t = rise ÷ run, measured level, not along the slope:

FormFormulaFor 6 in over 10 ft
Percent (grade)t × 1005 %
Degreesarctan t2.86°
Inches per foot, pitch x/12t × 120.6 in per ft, 0.6/12
Per mille, mm per mt × 1,00050 ‰
Ratio1 : (1 ÷ t)1 : 20

Do not mix up percent and degrees. A 100 % slope is 45°, not vertical, and 10 % is only 5.7°. Below about 10 % the two are almost proportional, which is why the confusion lasts; on steep ground the difference is large.

Rise, run and length along the slope

The rise over a run is the run × t. The length along the slope is the hypotenuse, √(run² + rise²). You need it for roofing, ramp decking and pipe. On gentle slopes it is almost the run: at 5 % the difference is 0.1 %, at a 12/12 roof it is 41 %.

The code checks

PurposeRuleSource
Ground by the foundationFall at least 6 in in the first 10 ft (5 %)IRC R401.3
Paving by the foundationAt least 2 % away within 10 ftIRC R401.3
Drain pipe 2½ in and smallerAt least ¼ in per ft (2.08 %)IRC Table P3005.3
Drain pipe 3 to 6 inAt least ⅛ in per ft (1.04 %)IRC Table P3005.3
RampNo steeper than 1:12 (8.33 %); at most 30 in of rise per runADA 405.2, 405.6
Home ramp where 1:12 cannot fitUp to 1:8 (12.5 %)IRC R311.8.1
Asphalt shingle roofAt least 2/12; double underlayment below 4/12IRC R905.2.2, R905.1.1

These are the model codes most US jurisdictions adopt. Your town may amend them, and the version it adopted governs. For roofs, the calculator knows the minimum pitch of each covering in IRC Chapter 9; for the full roof geometry, use the Roof Pitch Calculator.

Grading away from the house

The most common use of a slope at home is getting rainwater away from the foundation. Six inches over ten feet sounds like a lot, but soil settles against new foundations, so builders often grade a little steeper and top up later. Where a lot line or a neighbor's wall leaves no room for 6 inches of fall, the code allows a swale or a drain instead. When raising a low yard, the Dirt Calculator works out the fill.

Ramps

A 1:12 ramp rises 1 inch for every foot of run, so a 24 inch porch needs a ramp at least 24 feet long, and one run can rise at most 30 inches before a level landing. If your result fails on length rather than slope, the calculator shows the longest run allowed. Slopes of 1:20 or gentler count as walks, not ramps, and need no handrails under ADA.

Common mistakes

Questions

How do you calculate slope?

Divide the rise by the run, both in the same unit, and multiply by 100 for percent. 6 in of fall over 10 ft is 0.5 ÷ 10 = 0.05, a 5 % slope.

How do I convert a slope in percent to degrees?

Degrees = arctan(percent ÷ 100). 5 % is 2.86°, 10 % is 5.71°, 50 % is 26.57° and 100 % is 45°.

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.4 in of fall.

How much should the yard slope away from the house?

IRC R401.3 asks for at least 6 in of fall in the first 10 ft (5 %). Paved surfaces within 10 ft of the house slope at least 2 % away.

What slope does a drain pipe need?

IRC Table P3005.3: ¼ in per foot for pipe 2½ in and smaller, ⅛ in per foot for 3 to 6 in pipe.

What is the maximum slope for a wheelchair ramp?

1:12, or 8.33 %, under ADA 405.2: 1 in of rise for every 12 in of run, and no more than 30 in of rise in one run before a landing.

Is a 4/12 roof pitch the same as a 33 % slope?

Yes. Pitch x/12 means x in of rise per 12 in of run: 4 ÷ 12 = 0.333, so 33.3 %, or 18.4°.

Related calculators