Toolvito

Works on this device

Slope Angle Calculator

Find the angle of a slope in degrees, or change a slope between degrees, a percent grade, a ratio such as 1 in 12 and a rise for each 12 of run. You can start from a rise and a run, from two points, or from two elevations and a distance.

Enter the slope

Gives a slope as an angle in degrees, a percent grade, a ratio 1 in N and a rise for each 12 of run. Enter the slope in any one of these forms, or as a rise and a run.

Your values

The height gained, measured straight up. You can also type feet and inches, such as 12 ft 6 in.

The level distance, measured flat. You can also type feet and inches, such as 12 ft 6 in.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose the button below them.

How to use this calculator

  1. Choose what you want to work out. The first choice gives the angle from a rise and a run, or from a slope in another form.
  2. Enter what you know. For lengths you can choose feet, inches, metres and other units, or type feet and inches such as 12 ft 6 in.
  3. Choose Calculate. The result shows the slope as an angle, a percent grade, a ratio 1 in N, a rise for each 12 of run and a decimal.
  4. Use the menu next to an angle to see it in radians or gon.
  5. To check a slope against a rule, choose Compare a slope with a limit that you type and enter the limit from your code, standard or plan.

The formulas

  • Slope = rise ÷ run. The run is the level distance, not the distance along the slope.
  • Angle = arctan(rise ÷ run). The other way: rise ÷ run = tan(angle).
  • Percent grade = rise ÷ run × 100. A grade of 100 percent is 45 degrees, not 90.
  • Ratio 1 in N: N = run ÷ rise. A slope of 1 in 12 rises 1 for each 12 of level run.
  • Rise for each 12 of run = rise ÷ run × 12. This is the pitch used for roofs: 4 in 12.
  • Slope length = √(rise² + run²). Rise = slope length × sin(angle). Run = slope length × cos(angle).
  • From elevations: with a level distance, angle = arctan(change in elevation ÷ distance). With a distance along the slope, angle = arcsin(change in elevation ÷ distance).

Common slopes

These values follow from the formulas above. They are for reading a slope in another form, and they are not limits.

The same slope as an angle, a percent grade, a ratio and a rise for each 12 of run
Angle Percent grade Ratio Rise for each 12 of run
1° 1.75% 1 in 57.29 0.21
2° 3.49% 1 in 28.64 0.42
5° 8.75% 1 in 11.43 1.05
10° 17.63% 1 in 5.67 2.12
15° 26.79% 1 in 3.73 3.22
20° 36.40% 1 in 2.75 4.37
30° 57.74% 1 in 1.73 6.93
45° 100% 1 in 1 12
60° 173.21% 1 in 0.58 20.78

Worked examples

Rise and run. A rise of 1 ft over a level run of 8 ft is a slope of 0.125. The angle is arctan(0.125) = 7.125°, which is 7° 7′ 30″. The grade is 12.5 percent, the ratio is 1 in 8, and the rise is 1.5 for each 12 of run. The slope length is 8.06 ft.

Percent to degrees. A grade of 10 percent is arctan(0.10) = 5.71°, or 1 in 10.

Degrees to percent. An angle of 30° is tan(30°) × 100 = 57.74 percent, or 1 in 1.73.

Two points. From (0, 0) to (100, 8) the rise is 8 and the run is 100. The grade is 8 percent and the angle is 4.57°.

Elevations. Two places at 120 m and 135 m are 250 m apart on a map. The change in elevation is 15 m, the grade is 6 percent and the angle is 3.43°. If the 250 m was measured along the ground, the angle is 3.44° and the grade is 6.01 percent.

Limits you should know

  • No limit for ramps, stairs, roofs, roads, paths or drains is built in. These limits are set by codes and standards that differ from place to place and change over time. The compare option uses only the limit you type, and the example value behind Try an example is not a rule.
  • A percent grade and a ratio use the level run. Some road signs and old tables use the distance along the slope. For gentle slopes the two are almost the same; the elevations option shows both.
  • A slope from two elevations is the average between the two places. The ground between them can be steeper.
  • It does not measure an angle from a photo or with the sensors of a phone. You type the numbers.
  • For roof pitch and rafters use the roofing calculator, and for a ramp use the ramp calculator. This page gives the geometry only.
  • Angles are shown with up to 8 digits. Degrees, minutes and seconds are rounded to the nearest second.

Related tools