A slope can be described three different ways: as a percent grade, as an angle in degrees, or as a ratio like 1 in 20, and a road sign, a drawing and a building code will often each use a different one. This free elevation grade calculator converts between them all from two measurements.
Enter the vertical rise and the horizontal run, or switch to grade mode and enter the grade percent and the run to work out the rise. The run is always the horizontal distance, not the distance measured along the slope. Results come out in the same unit as the run, so metres work just as well as feet.
Please enter values above 0 for the rise and the run.
| Run (ft) | Grade (%) | Slope Angle (deg) | Slope Ratio |
|---|
Each row uses the rise from above, spread over a different run. Stretching the same rise over a longer run makes the slope gentler: the grade percent and the angle both fall, and the ratio number grows.
Founder & CEO, Techraxy
Faiq Ur Rahman is a web designer, digital product developer, and Founder of Techraxy, a growing platform of online calculators and utility tools. He specializes in building structured, user-friendly tools focused on finance, health, conversions, productivity, and everyday problem-solving. He is passionate about developing practical digital solutions that make complex tasks simpler for users worldwide.
User Ratings:
ADVERTISEMENT
ADVERTISEMENT
A slope can be described three different ways: as a percent grade, as an angle in degrees, or as a ratio like 1 in 20, and a road sign, a drawing and a building code will often each use a different one. This free elevation grade calculator converts between them all from two measurements. Enter the rise and the run, or the grade percent and the run, and it gives the grade percent, the slope angle, the slope ratio and the slope length, with a diagram that updates as you type.
An elevation grade calculator works out how steep a slope is from its vertical rise and its horizontal run. The grade is the rise divided by the run, written as a percentage: a slope that climbs 5 feet over 100 feet of horizontal distance has a 5% grade. The same slope can be written as an angle, found with an arctangent, or as a ratio of 1 in 20, meaning 1 unit of rise for every 20 units of run. All three describe the same slope, and this calculator shows all three at once.
Grades matter wherever ground is shaped or a surface is laid: road and driveway design, drainage grading around foundations, wheelchair ramps, retaining walls and site work. A few reference points help: a 2% grade is the standard fall for drainage away from a building, an ADA wheelchair ramp tops out at 8.33% (a 1 in 12 ratio), a comfortable driveway stays at or below 10%, and most codes cap driveways around 12 to 15%. Roof slopes use the same rise-over-run idea, expressed as pitch rather than grade; see the Roof Pitch Calculator for roof work.
One common mistake is measuring the run along the slope instead of horizontally. The run is always the horizontal distance: if a slope is measured along its surface, that is the slope length, which is longer than the run, and using it in place of the run understates the grade. The calculator shows the slope length separately so the two are never confused.
Grade (%) = rise / run x 100
Slope angle (degrees) = arctan(rise / run), converted to degrees
Slope ratio = 1 in N, where N = run / rise
Slope length = square root of (rise squared + run squared)
Rise from grade = grade / 100 x run
Grade percent is the tangent of the slope angle times 100, which is why a 45 degree slope is a 100% grade and not a vertical one: tan(45 degrees) is 1, so the grade is 100%. As the slope approaches vertical, the grade approaches infinity. The ratio form is the inverse of the grade as a decimal: a 5% grade is 1 in 20 because 100 / 5 = 20.
A driveway rises 5 feet over a horizontal run of 100 feet. All steps below use the unrounded values; displayed figures are rounded to two decimals.
Grade = 5 / 100 x 100 = 5.00%.
Slope angle = arctan(5 / 100) = arctan(0.05) = 2.86241 degrees, displayed as 2.86 deg.
Slope ratio N = 100 / 5 = 20, so the ratio is 1 in 20.00.
Slope length = square root of (5 squared + 100 squared) = square root of 10,025 = 100.1249 ft, displayed as 100.12 ft.
So the driveway is a 5% grade, a 2.86 degree slope, or 1 in 20, and its surface measures 100.12 feet along the slope. As a cross-check, the grade-mode test below starts from the grade instead of the rise and lands on the same numbers.
Grade percent is the rise divided by the run times 100, while the slope angle is the arctangent of the rise over the run, so they are related but they are not the same number. A 100% grade is a 45 degree slope, because tan(45 degrees) is 1, and a 5% grade is only a 2.86 degree slope. The two numbers diverge fast as slopes get steeper: at 45 degrees the grade is 100%, and as the slope approaches vertical the grade approaches infinity while the angle only approaches 90 degrees.
It means the surface rises 1 unit for every 20 units of horizontal run. A 1 in 20 slope over 100 feet of run rises 5 feet, which is a 5% grade, because the grade percent equals 100 divided by the ratio number. A smaller ratio number means a steeper slope: 1 in 12 (8.33%) is steeper than 1 in 20 (5%). The “1 in N” form is common on construction drawings, drainage plans and older road signs.
Horizontally, always. The run is the horizontal distance between the two ends of the slope, and the rise is the vertical distance. The distance measured along the slope surface is the slope length, which is longer than the run: for a 5 foot rise over a 100 foot run, the slope length is 100.12 feet. Using the slope length in place of the run understates the grade, which is why this calculator shows the slope length as a separate result rather than letting it stand in for the run.
For a wheelchair ramp, the ADA maximum running slope is 8.33%, a 1 in 12 ratio, set in the 2010 ADA Standards; a walkway steeper than 5% (1 in 20) legally counts as a ramp. For a residential driveway, 10% or less is comfortable for most cars, and most jurisdictions cap driveways around 12 to 15%, with cold-climate towns often going lower because of ice. Above 15%, low cars scrape on the transitions and traction suffers in winter. Always check the local building department, because the real limit is whatever the local code publishes.
Multiply the grade as a decimal by the run: rise = grade / 100 x run. For an 8% grade over a 1,500 foot run, the rise is 0.08 x 1,500 = 120 feet. Switch this calculator to grade mode and enter the grade percent and the run, and it works out the rise along with the angle, the ratio and the slope length. This is the usual direction for design work: the code sets the maximum grade, the site sets the run, and the rise is what has to fit.
This calculator computes slope grade, angle, ratio and length from the rise and run you enter, using the standard grade formulas. The reference limits quoted (ADA ramp maximum 8.33%, driveway guidance of 10% comfortable and 12 to 15% typical code maximum) are general figures from published guidance; local codes vary and govern any actual build. For road design, drainage, accessibility work or any safety-critical grading, confirm the figures against the applicable local code and a licensed engineer rather than relying on a calculator alone.
ADVERTISEMENT
ADVERTISEMENT