The formula
Grade (%) = rise ÷ run × 100
Angle (°) = arctan(rise ÷ run)
Ratio = 1 : (run ÷ rise)
Pitch = rise ÷ run × 12 (inches per 12)
Slope length = √(rise² + run²)
From a grade: rise = grade ÷ 100 × distance
From an angle: rise = tan(angle) × distance
Worked example
- A ramp must rise 2 ft over a run of 24 ft.
- Grade = 2 ÷ 24 × 100 = 8.33%.
- Angle = arctan(2 ÷ 24) = arctan(0.0833) = 4.76°.
- Ratio = 1 : (24 ÷ 2) = 1 : 12, the steepest slope the US ADA allows for wheelchair ramps.
- That's 1 in per foot of run, and the sloping surface is √(2² + 24²) = 24.08 ft long.
- In reverse: a 5% grade over 100 ft gives an elevation change of 5 ft.
Ways of describing slope
The same slope can be written several ways. Percent grade is the rise divided by the run, times 100: a 1 m rise over 20 m is a 5% grade. It's used for roads, driveways, drainage and railways. Degrees measure the angle from horizontal and are common in engineering and maths. A ratio such as 1:12 means one unit of rise for every 12 units of run, used for ramps and embankments. Roofers use pitch, the rise in inches for 12 in of run. A 100% grade isn't vertical; it's a 45° slope, where rise equals run. The calculator converts between all of these.
Ramps and accessibility
For wheelchair ramps, the US ADA Standards for Accessible Design set a maximum slope of 1:12 (8.33%) with a maximum rise of 30 in (760 mm) per run before a level landing. The UK's Approved Document M allows 1:12 only for short ramps of up to 2 m, with gentler slopes required for longer ones: 1:15 for 5 m and 1:20 for 10 m. Other countries have similar rules. Even where 1:12 is allowed, 1:15 or 1:20 is much easier for wheelchair users, people with walkers and anyone pushing a pram or trolley.
Drainage falls
Surfaces need a slight fall so water drains away. Patios and paths typically fall at 1–2% (about ⅛ to ¼ in per foot, or 1:80 to 1:50) away from the house. The US International Residential Code requires the ground to fall at least 6 in in the first 10 ft (5%) away from foundations. Drainage pipes need a minimum gradient too: for 4 in (100 mm) pipes, about ¼ in per foot (2%) in US plumbing codes and 1:40 to 1:110 in UK practice. Flat roofs need a fall of at least ¼ in per foot (2%) under most codes. Our pipe flow calculator shows how slope affects drain capacity.
Driveways and roads
Residential driveways are usually kept below about 12–15% grade, with gentler transitions at the top and bottom so cars don't scrape. Steep driveways become dangerous in ice and snow. Roads are typically designed for maximum grades of 5–8% on highways and up to 10–15% on local roads, while the steepest public streets in the world exceed 30%. On site plans, grades are often given as elevation changes between spot levels, which you can enter directly as rise and run.
Slopes for gardens and landscaping
Gentle slopes of up to about 10% (1:10) can be mown and walked comfortably. Lawns become hard to mow safely above about 25–33% (1:4 to 1:3), and steeper banks are better planted with ground cover or retained with terracing. Retaining walls above about 3–4 ft (1–1.2 m) usually need engineering and drainage behind them. When building paths, keep cross-falls below 2% where possible for accessibility, and add steps where the slope exceeds about 1:12 over long distances.
Measuring rise and run
For small slopes, stretch a string line between two stakes, level it with a line level or laser, and measure the vertical drop at the lower stake and the horizontal distance between them. For longer distances, use a laser level, dumpy level or GPS. Make sure rise and run use the same units. For roof slopes specifically, the roofing calculator converts pitch into roof area, and the Pythagorean theorem calculator works out slope lengths.