Elevation Grade Calculator

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.

Slope 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.

Rise: 5.00 ft Run: 100.00 ft Grade: 5.00% Angle: 2.86 deg Slope length: 100.12 ft
Grade and angle
Grade
Slope angle
Slope ratio
Distances
Rise
Run
Slope length
Note: grade percent and slope angle are not the same number. A 100% grade is a 45 degree slope, not a vertical one, because the grade is the tangent of the angle times 100. For reference, an ADA wheelchair ramp tops out at 8.33% (1 in 12), a comfortable driveway stays at or below 10%, and most codes cap driveways around 12 to 15%.
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.

Powered by Techraxy

Creator & Reviewer

Faiq Ur Rahman

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.

Share:

Rate this Tool

User Ratings:

0
0 out of 5 stars (based on 0 reviews)
Excellent
Very good
Average
Poor
Terrible

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.

What is an Elevation Grade Calculator?

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.

How to Use the Elevation Grade Calculator

  1. Choose the input mode: Rise and run, or Grade percent and run if you know the grade and need the rise.
  2. In rise mode, enter the vertical rise in feet and the horizontal run in feet. In grade mode, enter the grade percent and the run in feet.
  3. Click Calculate, or just type: the results and the diagram update as you enter the numbers.
  4. Read the Summary tab for the grade percent, the slope angle, the slope ratio, the rise, the run and the slope length.
  5. Open the Compare Runs tab to see how the grade, the angle and the ratio change when the same rise is spread over runs of 50, 100, 200 and 400 feet.

Elevation Grade Calculator Formula

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.

Worked Example

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.

Benefits of Using an Elevation Grade Calculator

  • Converts between all three slope descriptions at once: percent grade, angle in degrees and 1 in N ratio, so a figure from any drawing, sign or code can be matched.
  • Works backwards from a grade: grade mode takes a grade percent and a run and works out the rise, which is the direction a design problem usually runs.
  • Shows the slope length separately: the distance along the surface, so materials measured along the slope are not short-ordered by using the run.
  • Updates a live diagram: the slope triangle in the Summary tab relabels itself with the current rise, run, grade, angle and slope length as the inputs change.
  • Compares runs side by side: the Compare Runs tab shows how stretching the same rise over a longer run makes the slope gentler.
  • Works in any unit: enter the rise and run in metres and every distance comes out in metres, because the formulas only use the ratio of the two.
  • Free and instant: no sign-up, no download, and the results update as you type.

Frequently Asked Questions

What is the difference between grade percent and slope angle?

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.

What does a slope ratio of 1 in 20 mean?

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.

Is the run measured along the slope or horizontally?

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.

What grade is too steep for a driveway or a ramp?

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.

How do I find the rise if I only know the grade and the run?

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.

Disclaimer

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