Math & Geometry
Slope, Gradient, Ramp & Angle Calculator
Calculate slope from a signed rise and either horizontal run or a rise-to-run ratio.
How the calculation works
In ratio mode, run = |rise| × ratio. Gradient % = rise/run × 100. Angle = arctan(rise/run). Slope length = √(rise²+run²).
Worked example
A rise of 1 over a run of 10 gives 10% gradient, angle about 5.711° and slope length about 10.050.
Assumptions and limits
Run is horizontal distance, not slope length. Ratio mode requires nonzero rise and uses a positive ratio, retaining the rise sign. The default ratio is an arithmetic example, not an accessibility recommendation. Landings, crossfall, width and local rules require separate design.
Related calculators
- Percentage of a Number Calculator
- Reverse Percentage Calculator
- Whole Number Ratio Simplifier
- Fraction Arithmetic Calculator
- Average, Median & Range Summary Calculator
Example values are editable. Results are estimates where assumptions apply. Calculations run in your browser. Updated 2026-11-16.