Elevation Grade Calculator
Calculate slope, grade, and angle for driveways, ramps, roofs, and drainage swales. Convert between percent grade, degrees, slope ratio (1:12, 1:20), and rise/run in one click. Built for ADA compliance, residential driveways, roof pitch, and site grading.
Grade Inputs
Pick a standard scenario to auto-fill, or set up the inputs manually below.
Enter your slope inputs
Pick a preset or choose an input mode to calculate grade
Grade and Slope in Construction
Grade, slope, and pitch all describe the same simple thing: how steep a surface rises or falls between two points. But the way that steepness is expressed (percent grade, degrees, ratio, or rise-over-run) changes from trade to trade, and getting the conversion wrong has real consequences. A ramp built at 1:10 when the spec called for 1:12 is not ADA compliant. A driveway poured at 18% when the code maximum is 15% will fail inspection and may have to be torn out. A drainage swale graded at 1% when it needed 2% will pond water against a foundation and rot the framing inside the wall. This calculator exists to make sure none of those expensive misunderstandings ever happen on a job you touch.
Underneath every grade calculation is a right triangle. The horizontal leg is the run, the vertical leg is the rise, and the hypotenuse is the slope length, the actual surface you walk, drive, or pour material across. Once you know any two of (rise, run, angle, grade, ratio, slope length) the rest follow immediately from the same basic trigonometry. The four input modes in this tool match the four most common field situations: measured rise and run, designed grade over a known distance, measured angle over a known distance, or a target spec ratio (like 1:12 for ADA or 1:50 for drainage) over a known run.
Beyond the math, every category of slope has a code or standard attached to it. ADA ramps cap at 1:12 (8.33%). Driveways cap at 12-15% in most U.S. municipalities. Roofs are classified by pitch with anything under 2:12 considered low-slope and requiring waterproof membrane rather than shingles. Drainage starts at 1% for pipes and 2% for graded surfaces. Mountain highways flag 6%+ for trucks. The category badge and warnings in this calculator translate your raw grade number into those real-world thresholds so you know instantly whether you are in compliance or need to redesign.
The Four Formulas
Grade % = (rise / run) x 100
Angle (deg) = arctan(rise / run) x (180 / pi)
Ratio = 1 : (run / rise)
Slope length = sqrt(rise^2 + run^2)
- Grade percent is the most common way to describe slope in earthwork and roads. A 5% grade rises 5 feet for every 100 feet of horizontal run.
- Angle in degrees is what surveyors, transit operators, and smartphone level apps report. Convert by taking arctan of rise / run.
- Ratio (1:N) is universal for accessibility (1:12 ADA), pipe slope (1:50, 1:100), and roof framing. Larger N means gentler slope.
- Slope length is the hypotenuse: the real surface distance you order material for. It is always longer than the run.
Standard Reference Grades
Here is the cheat sheet contractors, engineers, and inspectors actually reference in the field:
| Application | Standard Grade | As % | As Degrees | As Ratio |
|---|---|---|---|---|
| ADA Ramp (maximum) | 1 in 12 | 8.33% | 4.76 deg | 1:12 |
| Commercial Walkway | 1 in 20 | 5.00% | 2.86 deg | 1:20 |
| Driveway Ideal | 5-10% | 10% | 5.71 deg | 1:10 |
| Driveway Maximum | 12-15% | 15% | 8.53 deg | 1:6.67 |
| Lawn Drainage (min) | 2% | 2.00% | 1.15 deg | 1:50 |
| French Drain (min) | 1% | 1.00% | 0.57 deg | 1:100 |
| Roof 4/12 Pitch | 4 in 12 | 33.33% | 18.43 deg | 1:3 |
| Roof 8/12 Pitch | 8 in 12 | 66.67% | 33.69 deg | 1:1.5 |
| Roof 12/12 Pitch | 12 in 12 | 100% | 45.00 deg | 1:1 |
| Mountain Highway Sign | 6%+ | 6.00% | 3.43 deg | 1:16.7 |
How to Use This Calculator
- 1. Pick a Preset (Optional): Tap a common scenario like ADA ramp, driveway maximum, 2% drainage, 4/12 roof, or mountain highway to auto-fill all inputs in the correct mode.
- 2. Choose the Input Mode: Rise + Run when you have measured both, Distance + Grade % when designing to a target, Distance + Angle when working from a transit or smartphone level, or Ratio + Run when matching a 1:N spec.
- 3. Enter the Numbers: Rise can be entered in inches or feet (toggle the unit). Run, distance, and slope length are always in feet. Angles are in degrees.
- 4. Hit Calculate: You instantly see grade percent, angle in degrees, the 1:N ratio, computed rise and run in both imperial and metric, the slope length (hypotenuse), and a category badge that maps your number to real-world codes.
- 5. Review Warnings & Export: The calculator flags ADA violations, driveway-code exceedances, and sub-drainage slopes automatically. Export the full report or share a quick summary directly to a coworker.
Common Use Cases
Driveway Design
Verify a proposed driveway is within local code (typically 12-15% maximum). Cross-reference your grade calculation with our Concrete Driveway Calculator or Gravel Driveway Calculator to size pour volume or gravel base for your sloped run.
ADA Ramp Compliance
Calculate the run required for a known rise at 1:12, or check that an existing ramp is within code. The calculator instantly flags slopes exceeding 8.33%. Combine with a retaining wall plan from our Retaining Wall Calculator when the ramp wraps around a grade change.
Roof Pitch Conversion
Roofers quote in X/12 pitch, framers want degrees, insurers want percent grade. Type your pitch as rise (in) over 12 inch run and get all three at once, plus the rafter slope length for ordering material. Pair with our Roofing Calculator to size shingle or metal panel orders.
Drainage Swales & French Drains
Verify your swale falls at least 2% away from the foundation and that buried perforated drain pipe flows at the 1% minimum. The category badge turns yellow the instant your grade drops below drainage code minimums. Add a foundation-distance check using a site plan and our other construction tools to plan a complete drainage layout.
Pro Tips for Accurate Grade Work
- - Always check local ADA and code: ADA federal minimums are the baseline, but many states and cities are stricter. Verify cross-slope, landing length, handrail rules, and surface texture before pouring.
- - Drain away from foundations: The IRC requires positive slope of at least 6 inches over the first 10 feet (5%) away from any building. Anything less and water finds its way to your basement.
- - Plan for frost heave: In cold-climate zones, soils heave as they freeze. A ramp or driveway designed at exactly the code maximum can creep above code after a hard winter. Build in a 1-2 percentage point safety margin.
- - Use a long level for short measurements: A 4 foot level resting on the rise gives a far more accurate angle reading than holding a 6 inch torpedo level. Average multiple readings along the slope to filter out surface irregularities.
- - Watch slope length vs run when ordering material: For shallow slopes the difference is trivial. For steep ramps, hillside driveways, and high-pitch roofs, the slope length can be 5-30% longer than the run. Always order to the slope length.
- - Check both ends of a long run: A driveway can pass at the bottom and fail at the top, or vice versa, if the grade changes mid-run. Measure rise/run in 25-50 foot segments on long drives.
Why Cross-Slope Matters as Much as Running Slope
Most contractors think of slope as front-to-back (the running slope), but cross-slope (side-to-side) is just as regulated and often missed during construction. ADA caps cross-slope at 1:48 (about 2.08%). Sidewalks should sit between 1% and 2% cross-slope to drain without throwing pedestrians off balance. Driveways are typically crowned in the middle (peak crowned at 2-3% falling to each side) so water sheds rather than ponding down the centerline. When you use this calculator for a paved surface, run the math twice: once for the running slope and once for the planned cross-slope. Both have to be within their respective limits.
From Surveyor Notes to Finished Grade
In the field, a grade decision moves through several units before it gets built. A surveyor delivers elevations in decimal feet. The civil engineer translates those to percent grade and slope ratio on the plan set. The grading contractor sets stakes and runs a laser level set to a target percent. The concrete crew finishes to a string line marked in inches per foot. The inspector measures with a digital level reporting degrees. Every one of those handoffs is an opportunity for a unit-conversion mistake. The job of a calculator like this one is to be the single trustworthy translation table for every stakeholder, so the grade everybody intended is the grade that actually gets built.
What Contractors & Engineers Say
“I check ADA ramp compliance on commercial projects every week. This calculator flips between ratio, percent, and degrees in one click and flags 1:12 violations automatically. I've replaced the laminated cheat sheet on my clipboard with a bookmark to this page.”
“The four input modes are exactly what I need. Sometimes I have rise and run from a survey, sometimes a distance and a target grade for a swale design. Being able to swap modes and see the slope length without re-deriving the math saves me real time during plan review.”
“I quote roofs in pitch (4/12, 8/12, etc.) but my framers want degrees and my insurer wants percent grade. This tool gives me all three on one screen plus the slope length for ordering material. It's faster than my phone's calculator and the diagram is a nice client-facing visual.”
“For drainage swale design I need to nail the 1-2% range without going under. The category indicator lights up the moment my grade drops below 2% and reminds me to add fall. Clean UI, instant results, and the PDF export goes straight into my construction docs.”
Love using our calculator?
Similar Calculators
More tools in the same category
Board and Batten Layout Calculator
Calculate board and batten spacing for perfect layouts
Feet and Inches Calculator
Add, subtract, and convert feet and inches measurements
Scale Calculator
Convert between different measurement scales for plans
Square Footage Calculator
Calculate room and area square footage accurately
Lumber Weight Calculator
Calculate lumber weight from species, dimensions and quantity. 17+ wood species, kiln-dried/green/pressure-treated moisture.
Cabinet Door Size Calculator
Calculate cabinet door dimensions for full overlay, partial overlay, or inset construction. Auto hinge count.
Often Used Together
Complementary tools for complete analysis
From Other Categories
Expand your calculations
Geometry and area calculations for building
Measurement unit conversions
Project cost and budget calculations
Related Articles
Dive deeper with our expert guides and tutorials related to Elevation Grade Calculator