Slope calculator
Find slope percentage, rise-to-run ratio, and angle from rise and horizontal run.
Changing units clears dimensions and coverage rates.
Assumptions & limits
Rise is signed; horizontal run is nonnegative. Both use the same unit. Grade = rise/run × 100; angle = atan2(rise, run). Negative rise means downhill. Rise:run normalizes nonzero rise to +1 or −1. A zero run is vertical: percentage and rise per 12 run are undefined. Zero rise with zero run is invalid. No road, roof or accessibility compliance assessment.
Dimensions and rates: up to 1,000,000, with at most 6 decimal places. Dimensions must be positive except openings, area, gaps, trim, repeat and slope rise/run; only rise may be negative. Waste: 0–100%. Counts are whole numbers; coats: 1–20. Lists: 1–20 lengths, up to 2,000 characters. Optional prices: 0–999,999,999.99; costs up to 999,999,999,999.99 round to cents in your currency.
Slope grade
8.3333%
- Angle
- 4.7636°
- Rise : run
- 1 : 12
- Rise per 12 run
- 1
- Inclined length
- 12.0416 m
How it’s calculatedCalculated on your device
Grade = rise ÷ horizontal run × 100. Angle = atan2(rise, run). Inclined length = √(rise² + run²).
Displayed values may be rounded. Calculations keep the underlying precision.
Rise is signed; horizontal run is nonnegative. Both use the same unit. Grade = rise/run × 100; angle = atan2(rise, run). Negative rise means downhill. Rise:run normalizes nonzero rise to +1 or −1. A zero run is vertical: percentage and rise per 12 run are undefined. Zero rise with zero run is invalid. No road, roof or accessibility compliance assessment.
The formula, made simple
Convert a vertical rise and horizontal run into percentage grade, rise-to-run ratio, angle and inclined length. A negative rise describes a descent.
Grade (%) = rise ÷ horizontal run × 100. Angle = atan2(rise, run) × 180/π. Inclined length = √(rise² + run²). Rise per 12 run = 12 × rise/run.
A worked example
A rise of 1 m over 12 m horizontal run is approximately 8.3333%, a 1:12 ratio and a 4.7636° angle. Rise −1 m gives a negative grade. A nonzero rise over zero run is vertical.
A few useful answers
Is run the sloping distance?
No. Run is the horizontal distance. Entering the sloping length as run gives a different angle and grade. The tool reports inclined length separately.
What happens at zero run?
A nonzero rise with zero run is vertical, at +90° or −90°. Percentage grade and rise per 12 run are undefined. Both rise and run being zero is rejected.