Slope Calculator

Turn rise and run into slope percent (grade), angle in degrees, 1:x ratio, pitch per 12 and slope length.

Use a negative value for a downward slope.

Results

Slope (grade)
25.00 %
Angle
14.04
Ratio (rise : run)
1:4
Pitch (rise per 12 run)
3:12
Slope as decimal (m)
0.25
Slope length
12.369

How it’s calculated

Slope is rise divided by run. Expressed as a percentage it is called grade; the angle comes from the arctangent.

m = rise ÷ run Grade % = m × 100 Angle θ = arctan(m) Ratio = 1 : (run ÷ rise) Slope length = √(rise² + run²)

Example: a rise of 3 ft over a 12 ft run gives m = 0.25, a 25% grade, an angle of arctan(0.25) ≈ 14.04°, a ratio of 1:4, a 3:12 pitch and a slope length of √153 ≈ 12.37 ft.

RatioGradeAngle
1:128.33%4.76°
1:425%14.04°
1:1100%45°

Frequently asked questions

Is a 100% slope vertical?

No. 100% means the rise equals the run, which is a 45° angle. A vertical wall has an undefined (infinite) slope.

How do I convert slope percent to degrees?

Divide the percent by 100 and take the arctangent. 10% → arctan(0.10) ≈ 5.71°.

What does a 1:12 slope mean?

One unit of rise for every 12 units of run, about 8.33%. It is a common maximum for wheelchair ramps; check your local accessibility code.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Spotted a mistake or missing option? Report a problem · GitHub issue· Suggest a calculator