Slope Calculator: Percent Grade, Degrees and Ratio

Calculate slope from rise and run, and convert between percent grade, angle in degrees, ratio (1 : n) and roof pitch (x : 12).

How it works

Slope measures how steep a surface is: how far it rises for each unit of horizontal distance. The same slope is written several ways, and this calculator converts between all of them.

slope = rise ÷ run percent grade = 100 × rise ÷ run angle = arctan(rise ÷ run)

Rise is the vertical change and run the horizontal distance. They must be measured in the same unit.

Ratio 1 : n is the run for each 1 of rise (n = run ÷ rise). Roof pitch x : 12 is the rise for each 12 of run (x = 12 × rise ÷ run). The length along the slope, such as a ramp surface or a rafter, is run × √(1 + slope²), which is the hypotenuse of the slope triangle.

How to calculate slope: measure the rise and the run in the same unit, divide the rise by the run, then multiply by 100 for a percent grade. For an angle in degrees take the arctangent of that ratio on a calculator (tan⁻¹). A 100 percent grade is 45 degrees, not 90: the percent can go above 100 for slopes steeper than 45 degrees.

Common slopes in every form

SlopeRatio 1 : nPercent gradeAngleRise per 12 in of run
Minimum drain slope, 1/8 in per ft1 : 96.01.04 %0.60°0.13 in
Plumbing drain, 1/4 in per ft1 : 48.02.08 %1.19°0.25 in
ADA maximum cross slope (1:48)1 : 48.02.08 %1.19°0.25 in
Parking lot or patio drainage (2 percent)1 : 50.02.00 %1.15°0.24 in
Typical steep driveway (15 percent)1 : 6.715.00 %8.53°1.80 in
ADA maximum ramp slope (1:12)1 : 12.08.33 %4.76°1.00 in
Roof pitch 4:121 : 3.033.33 %18.43°4.00 in
Roof pitch 6:121 : 2.050.00 %26.57°6.00 in
Stairs, 7 in rise and 11 in run1 : 1.663.64 %32.47°7.64 in
Embankment 3 horizontal to 1 vertical (3:1)1 : 3.033.33 %18.43°4.00 in
Roof pitch 12:12 and 45 degrees1 : 1.0100.00 %45.00°12.00 in

For the thermal, fluid and structural reference data that go with these calculations see the reference tables.

Worked example

A ramp that rises 0.5 m over a 6 m run: slope = 0.5 ÷ 6 = 0.0833, which is 8.33 percent, an angle of 4.76°, a ratio of 1 : 12 and a pitch of 1 in 12. The surface is 6 × √(1 + 0.00694) = 6.021 m long. That is exactly the ADA maximum for a wheelchair ramp.

A 15 percent driveway to degrees: arctan(0.15) = 8.53°, or 1 : 6.67.

A 6 : 12 roof with a 12 ft horizontal run: the rise is 6 ft, the angle is 26.57° and the rafter is 12 × √(1 + 0.5²) = 13.42 ft long (before overhang).

Things to know

Percent grade and degrees are different. 1 percent is 0.57°, 10 percent is 5.71°, 50 percent is 26.57° and 100 percent is 45°. They are close only for small slopes.

Use the horizontal run, not the length along the slope. If you measured the sloped length L and the rise h, the run is √(L² − h²).

The ADA limit for a ramp is a maximum slope of 1 : 12 (8.33 percent) and a maximum rise of 30 inches between landings. Cross slopes are limited to 1 : 48 (2.08 percent). Local codes can differ; check them before you build.

Drainage needs a fall: about 1/8 inch per foot (1 percent) is a common minimum for flat surfaces and 1/4 inch per foot (2.08 percent) for drain pipes.

Roads and railways are stated in percent grade; roofs in x : 12; embankments and cuts as a ratio such as 3 : 1 (horizontal : vertical, the opposite way round from the 1 : n here).

Common questions

How do you calculate slope?

Divide the rise by the run. A rise of 3 m over a run of 20 m is 3 ÷ 20 = 0.15, or a 15 percent grade. Multiply by 100 to express it as a percent.

How do you convert percent slope to degrees?

Divide the percent by 100 and take the arctangent: degrees = arctan(percent ÷ 100). For 15 percent that is arctan(0.15) = 8.53°.

What is a 1:12 slope in degrees?

4.76° (8.33 percent). It is the steepest slope allowed for an ADA wheelchair ramp.

What is a 5 percent slope in degrees?

2.86°: arctan(0.05) = 2.862°. As a ratio it is 1 : 20.

How do you find the pitch of a roof?

Measure the rise for each 12 inches of horizontal run. A rise of 6 inches per 12 inches is a 6 : 12 pitch, which is 26.57° or a 50 percent slope.

Can a slope be more than 100 percent?

Yes. 100 percent is 45°; a 200 percent grade is a rise of 2 for every 1 of run, which is 63.4°. Only a vertical face (90°) has no finite grade.

Sources

  • 2010 ADA Standards for Accessible Design, sections 405 (ramps) and 403 (walking surfaces).
  • International Residential Code, roof slope and drainage provisions; local building codes apply.

Last reviewed: November 2, 2026

Published by Nick Peterson, mechanical engineer.