Slope, Grade & Angle Calculator

Convert any way of writing a slope into all the others: ratio 1:n, decimal slope, percent grade, per mille, roof pitch in twelfths and angle in degrees. Ideal for ramps, roads, roofs, drains and gardens.

How to convert slope, grade and angle

  1. Choose what you have. Percent grade, degrees, a 1:n ratio, a decimal slope, per mille or a roof pitch.
  2. Type the value. Every other format updates instantly, along with the rise per metre or per 100 units.
  3. Check the reference table. Common slopes such as 1:12 ramps and 2% drains are listed for comparison.

Every slope format in one place

Grade, slope and angle are not the same number

Decimal slope = rise ÷ run. Percent grade = slope × 100. Per mille (‰) = slope × 1000. Angle = arctan(slope). A ratio of 1:12 means 1 unit up for 12 across: slope 0.0833, grade 8.33%, angle 4.76°.

Percent and degrees are often confused, but they are not proportional. A 100% grade is 45°, and a vertical wall would be an infinite grade, not 100%. For small slopes they diverge slowly (10% ≈ 5.71°), which is why the mistake goes unnoticed on roads but matters for ramps and roofs.

ExampleRatioGradeAngle
Drainage pipe1:502%1.15°
Wheelchair ramp (max., common rule)1:128.33%4.76°
Steep road1:812.5%7.13°
Roof pitch 6/121:250%26.57°
45° slope1:1100%45°

Local building codes vary, so always check the rules that apply to your project.

From measurements instead?

If you measured a rise and a run, or have two points, the rise over run calculator works out the slope and draws the triangle. To compare two slopes as a percentage, use the percentage difference calculator.

More in Calculators.

Frequently Asked Questions

How do I convert percent grade to degrees? +
Divide the percentage by 100 and take the arctangent: angle = arctan(grade ÷ 100). 10% is 5.71°.
How do I convert degrees to percent? +
Take the tangent of the angle and multiply by 100: grade = tan(angle) × 100. 30° is 57.7%.
What does a slope of 1:20 mean? +
One unit of rise for every 20 units of horizontal distance: 5% grade or 2.86°.
Is a 100% grade vertical? +
No. 100% means the rise equals the run, which is 45°. A vertical line has an undefined grade.
What is roof pitch 4/12? +
A rise of 4 for a run of 12: slope 0.333, grade 33.3% and angle 18.43°.
What is per mille (‰)? +
Rise per 1,000 units of run. It is common for drains and railways: 5‰ is a 0.5% grade.