Calculate percent slope from rise and run, convert degrees to percent slope or percent to degrees, or find the rise or run for a target grade.

Positive for uphill, negative for downhill.

Optional settings

Percent Slope Formula

Percent slope expresses vertical change divided by horizontal distance, as a percentage. The calculator solves for percent slope, rise or run, then derives the angle and surface length. It also converts between degrees and percent slope.

% slope = (rise / run) ร— 100
angle (deg) = arctan(rise / run) ร— 180 / ฯ€
surface length = โˆš(run2 + rise2)
  • rise: vertical change between the two points. Use a negative value for downhill.
  • run: horizontal distance between the two points, measured level, not along the slope.
  • angle: slope angle in degrees from horizontal.
  • surface length: distance measured along the sloped surface itself.

Percent slope mode takes rise and horizontal run, converts compatible length units, then applies rise divided by run times 100. The angle formula above uses arctangent in radians.

Slope conversions (reference): for an angle in degrees, percent slope = tan(angle ร— pi / 180) ร— 100. A positive gradient of 1 in N gives 100 รท N percent. Roof pitch X:12 and pipe fall X inches per foot give X รท 12 ร— 100 percent. The Degrees to percent slope and Percent slope to degrees modes apply the angle relationship directly.

Rise mode uses a target percent slope and horizontal run: rise = (% รท 100) ร— run. Horizontal run mode uses percent slope and rise: run = rise รท (% รท 100). Surface length is derived from the resulting rise and run; it is not an input.

Common Slope Values and Limits

The first table gives rounded slope conversions. The application examples below have different U.S. code and design scopes; they are not universal limits or approval of a design. Confirm adopted requirements, including cross slope, drainage and other criteria.

Percent Degrees Gradient Roof pitch
1%0.57ยฐ1 in 1000.12:12
2%1.15ยฐ1 in 500.24:12
5%2.86ยฐ1 in 200.6:12
โ‰ˆ8.33%4.76ยฐ1 in 121:12
10%5.71ยฐ1 in 101.2:12
25%14.04ยฐ1 in 43:12
50%26.57ยฐ1 in 26:12
100%45ยฐ1 in 112:12
Application Context and slope
4-in horizontal building drain (2021 IPC)Minimum 1/8 in/ft (โ‰ˆ1.04%); upstream of a grease interceptor, 1/4 in/ft (โ‰ˆ2.08%)
Driveway, pavedProject-specific: local access rules, use, transitions, vehicle clearance and drainage
Ground away from foundation (2024 IRC example)6 in fall within 10 ft (5%); constrained sites may need drains/swales; impervious surfaces have separate 2% provision
ADA ramp running slope1:12 maximum (โ‰ˆ8.33%); specific existing-site exceptions apply
ADA accessible walking-surface running slope1:20 maximum (5%); cross slope is a separate requirement
Low-slope roof (OSHA fall-protection definition)4:12 or less (about 33.33%); roofing material minimums differ
Steep roof (OSHA fall-protection definition)Greater than 4:12 (about 33.33%)
Rural highway maximum gradeDepends on governing standard, road class, terrain and design speed

Examples and FAQ

Example 1: Driveway grade. A driveway rises 4 ft over a horizontal run of 50 ft. Percent slope = 4 รท 50 ร— 100 = 8%. The angle is 4.57ยฐ. This exceeds the 5% running-slope limit for an accessible walking surface; ramps have separate criteria. Driveway suitability also depends on local rules, grade transitions, vehicle clearance and drainage.

Example 2: Sewer pipe fall. You need 2% slope on a 30 ft pipe run. Required fall = 0.02 ร— 30 = 0.6 ft, or 7.2 inches. That works out to 0.24 inches per foot.

Is 1:12 the same as 8.33%? Approximately. A 1:12 ratio is exactly 100 รท 12 percent, or 8.3333โ€ฆ%. The value 8.33% is rounded; use the specified ratio when checking a 1:12 requirement.

How do I convert percent slope to degrees? Take the arctangent of the percent divided by 100. A 10% slope is arctan(0.10) = 5.71ยฐ. The relationship is not linear, so 100% slope is 45ยฐ, not 90ยฐ.

Can percent slope be over 100%? Yes. Anything steeper than 45ยฐ produces a percent above 100. A 200% slope is about 63.4ยฐ.

Should I measure along the slope or horizontally? Use horizontal run, not the distance along the slope. Sloped distance alone is insufficient: you also need an angle, rise or other independent measurement to determine the run. This calculator accepts rise and run, or percent slope and one of those distances; surface length is an output.