Convert slope to degrees from rise and run, percent grade, a 1 in N ratio or pitch, or convert an angle in degrees back to percent grade and ratio.

Positive slope is uphill; negative is downhill.

Distance and display options

Calculator Functions

FunctionWhat it doesWhat it requires
Angle from a slopeConverts a slope to its angle in degreesRequires the slope as rise and run, percent grade, a 1 in N ratio, a decimal slope, per mille or roof pitch (x in 12)
Slope formats from an angleConverts an angle to percent grade, ratio, decimal slope, per mille and pitchRequires the angle in degrees, radians or gradians
Rise from angle and runFinds the vertical rise that an angle produces over a horizontal runRequires the angle and the known horizontal run
Run from angle and riseFinds the horizontal run needed to reach a rise at an angleRequires the angle and the known rise

Lengths go in as in, ft, yd, mm, cm or m. A positive slope is uphill and a negative one is downhill. Every result includes a table of the same slope in degrees, degrees-minutes-seconds, radians, gradians, percent grade, per mille, 1 in N ratio, decimal slope, pitch and angle from vertical. Optional settings apply the slope to a distance, measured horizontally or along the slope, and set the decimal places.

Slope to Degrees Formulas

θ = arctan(rise ÷ run) [1]
θSlope angle in degrees. An arctangent returned in radians is multiplied by 180 ÷ π
riseVertical change, in the same unit as the run
runHorizontal distance, greater than zero

Rise ÷ run is the slope as a decimal, written m below. A slope of 1 (rise equal to run) is 45°, so a 100% grade is not vertical.

Angle from a slope

Each slope format is first turned into the decimal slope m, and then θ = arctan(m):

Slope is given asDecimal slope m
Rise and runrise ÷ run
Percent grade (%)percent ÷ 100
Ratio (1 in N)1 ÷ N
Decimal slopethe value itself
Per mille (‰)per mille ÷ 1,000
Pitch (x in 12)x ÷ 12

A rise of 46 over a run of 30 gives arctan(1.5333) = 56.89°. A 10% grade is arctan(0.10) = 5.71°, and a 6 in 12 roof pitch is arctan(0.5) = 26.57°.

Slope in Degrees Chart

Percent gradeRatioDegrees
1%1 in 1000.57°
2%1 in 501.15°
5%1 in 202.86°
8.33%1 in 124.76°
10%1 in 105.71°
12.5%1 in 87.13°
15%1 in 6.678.53°
16.67%1 in 69.46°
20%1 in 511.31°
25%1 in 414.04°
33.33%1 in 318.43°
50%1 in 2 (2H:1V)26.57°
66.67%1 in 1.533.69°
100%1 in 145°
200%2 in 163.43°

In a ratio written horizontal to vertical, such as 2H:1V, the run comes first, so it is the same slope as 1 in 2.

Slope formats from an angle

m = tan(θ)

Percent grade is 100 × m, per mille is 1,000 × m, pitch is 12 × m and the ratio is 1 in 1 ÷ m. A 15° slope has m = 0.2679, a 26.79% grade. Angles in radians or gradians are converted first: 180° = π rad, and 1 gradian = 0.9° [1]. The angle must lie strictly between −90° and 90°.

Rise from angle and run

rise = run × tan(θ)

A 10° slope over a 120 in run rises 120 × 0.1763 = 21.16 in.

Run from angle and rise

run = rise ÷ tan(θ)

Reaching a 12 in rise at 10° takes 12 ÷ 0.1763 = 68.06 in of run. The rise and the angle must have the same sign. In both functions the straight slope length is √(run² + rise²).

Limits of This Estimate

  • The slope is treated as one straight, flat plane. A curved or uneven surface has a different angle at each point.
  • Run means horizontal distance. A distance measured along the surface is longer than the run, and the optional distance setting has a choice for it.
  • The result details compare the slope with the ADA reference ratios for ramps, walking surfaces and cross slopes. That comparison covers the slope number only and does not show that a ramp or route complies.

Sources