Slope &
Gradient
Convert a slope between percent grade, ratio (1:n), and angle, and calculate the inclined length. The result is geometric only and does not select or verify a regulatory limit.
Who it's for: architects, civil engineers, and landscape designers converting consistent rise/run measurements at design development or construction documents.
How to use this calculator
The formula
% grade = (rise ÷ run) × 100
Ratio 1:n, where n = run ÷ rise
Angle = arctan(rise ÷ run), in degrees
Slope length = √(rise² + run²).
Worked example
When this estimate will be off
- Assumes a constant slope along the full run. A ramp or grade that changes along its length needs a separate calculation for each segment.
- Rise and run must be in the same unit. Mixing feet for the rise and inches for the run without converting first produces a meaningless grade.
- The calculator does not identify whether a surface is a ramp, walking surface, curb ramp, driveway, roof, or site grade.
- Applicable accessibility, drainage, safety, and building-code limits must be selected and checked separately.
Frequently asked questions
A common mistake: Assumes a constant slope along the full run. A ramp or grade that changes along its length needs a separate calculation for each segment.
Percent grade is rise divided by run, multiplied by 100. A 5% grade means you gain 5 units of height for every 100 units of horizontal travel. It is the standard format in civil engineering grading specs and ADA compliance documents.
No. It converts geometry only. The applicable standard, element type, exceptions, landings, widths, cross slope, and other requirements must be evaluated separately.
Take the inverse tangent (arctan) of the grade as a decimal. For a 10% slope: arctan(0.10) ≈ 5.71°. For a 1:12 ramp: arctan(1/12) ≈ 4.76°. This calculator performs the conversion automatically from the rise and run you enter.
A ratio of 1:n means you travel n horizontal units for every 1 unit of vertical rise. A 1:20 slope is gentler than a 1:4 slope — the larger n, the shallower the incline. This format is used in accessibility codes because it makes the relationship to the 1:12 ramp limit immediately readable.
Sources
- Right-triangle geometry — tangent, arctangent, and Pythagorean theorem applied to user-entered rise and run
This free Slope / Gradient Calculator is built and maintained by DataDrivenAEC, using the relevant codes and standards. It does not substitute for professional judgment.