Every Single CalculatorOne place for every calculator
÷Everyday math

Slope and grade calculator

Enter how far the ground or ramp rises and how far it runs to get the slope as a percent, a ratio and an angle.

Example: You are grading a yard away from a foundation and want to check that a 6 inch fall over 10 feet meets the usual requirement.

Your numbers

Rise is the change in height. Run is the level distance, not the distance along the slope.

in
ft
Drawn from your numbers. It redraws as you type.
  • Grade0
  • Ratio (rise : run)0
  • Angle0
  • Rise per foot0
  • Length along the slope0

How slope is worked out

Slope is rise divided by run, with both in the same unit. Multiply by 100 for a percent grade.

Grade % = rise ÷ run × 100

Angle = arctan(rise ÷ run)

A worked example

A ramp that climbs 30 inches over 30 feet of run rises 30 inches in 360 inches. That is an 8.33% grade, a ratio of 1 to 12 and an angle of 4.76 degrees. The ramp surface itself is 30 feet 1¼ inches long.

Slopes worth knowing

  • Wheelchair ramps: accessibility standards in the US set a maximum of 1 to 12, which is 1 inch of rise for every foot of run. Gentler is better where there is room.
  • Ground next to a house: a common code requirement is a fall of 6 inches over the first 10 feet away from the foundation, which is 5%.
  • Patios and walkways: about a quarter inch per foot, or 2%, sheds water without feeling tilted.
  • Drain pipe: a quarter inch per foot is the usual minimum for small household drain lines.

Rules vary by location and by what is being built, so check your local code before you pour or dig.

Common questions

Is a 100% grade straight up?

No. A 100% grade rises one foot for every foot of run, which is 45 degrees.

How is this different from roof pitch?

It is the same idea in different units. Roof pitch is rise per 12 inches of run. The roof pitch calculator is set up for that.

How we know this calculator is right

Before this calculator went on the site, 12 answers were worked out separately from its code, by hand or straight from the formula above. Each time this page loads, your own browser runs the calculator on those same numbers and compares. Turn on JavaScript to see the comparison.

See every check
Numbers usedResultWorked out separatelyThis calculator

What this proves: the calculator does the arithmetic of the formula shown, correctly. What it cannot prove: your measurements, or figures such as coverage per bag, waste and spacing, which are typical starting values you can change. Go by the product label and your local code.

Used by: concrete contractors, tile setters, landscapers, excavation and grading, paving and sealcoating.