Geometry & Site Work

Slope and Grade Calculator

Convert vertical rise and horizontal run into grade percent, slope ratio, angle, and sloped length.

Grade

12.5%

Slope Angle

7.125 deg

Slope Ratio

1:8

Sloped Length

12.093 m

Converting Rise and Run into Grade, Angle, and Length

Horizontal Run Is Not Surface Distance

Slopes are described with several conventions that sound similar but are not numerically interchangeable. Road and ramp grades often use percent. Drawings may use a vertical-to-horizontal ratio. Trigonometry uses an angle. A tape along the surface measures sloped length. Converting among these forms is useful for drainage, accessibility, roofs, trails, earthwork, piping, and machine setup, provided rise and horizontal run are measured in the correct directions.

Rise and horizontal run form the perpendicular legs of a right triangle. Grade percent is rise divided by horizontal run, multiplied by 100. Angle is the arctangent of that same ratio. Sloped length is the hypotenuse. A 100 percent grade means equal rise and run, which corresponds to 45 degrees—not a vertical wall. A vertical line has zero horizontal run and an unbounded grade.

A Twelve-and-a-Half-Percent Grade

The working equation is Grade = rise/run*100, angle = atan(rise/run), and length = sqrt(rise^2+run^2).

A 1.5 m rise over 12 m horizontal run gives 0.125, or 12.5 percent. The ratio can be written 1:8 because eight horizontal units accompany one vertical unit. Arctangent of 0.125 is about 7.125 degrees. The Pythagorean length is the square root of 12² + 1.5², or 12.093 m. Projecting that length back horizontally should return 12 m.

Rise is vertical elevation change and may be negative for descent. Run is horizontal plan distance, not distance measured along the surface. Both must use the same unit before forming a ratio. For a route with changing slope, divide it into segments or work from surveyed elevations and horizontal stationing. Average rise over total run does not reveal short steep sections that may control safety or drainage.

Model limit: Uses vertical rise and horizontal plan run in matching units. It does not account for map projection, curved routes, irregular terrain, or code-specific rounding.

Percent and Degrees Are Different Languages

A route rises 1.5 m over 12 m of horizontal run. Grade is 1.5/12×100 = 12.5 percent, angle is atan(0.125) = 7.125 degrees, and the ratio is one vertical to eight horizontal. Surface length is sqrt(12²+1.5²) = 12.093 m. If 12.093 m were mistakenly entered as run, grade would be understated. A 100 percent grade corresponds to a 45-degree angle because rise equals horizontal run; percent grade is not an angular percentage.

Suppose the first six metres rise only 0.3 m and the next six rise 1.2 m. Overall grade is still 12.5 percent, but segment grades are 5 percent and 20 percent. The steeper segment may control drainage, traction, or accessibility. Survey elevations at enough stations to reveal local changes, and distinguish longitudinal grade from cross-slope. When checking a regulated limit, follow its endpoint, averaging, transition, and rounding rules. Recalculate with instrument uncertainty near the threshold and retain the measured elevations rather than only the converted percentage.

Local Steep Sections Can Hide Inside an Average

The most frequent error is using sloped tape length as horizontal run, which understates grade. Percent grade is also confused with degrees; 10 percent is about 5.71 degrees, not 10 degrees. A “1 in 12” convention should be clarified because some notes mean one vertical in twelve horizontal, while others describe different roofing notation. Code limits may specify how endpoints, landings, and rounding are measured.

Grade keeps the sign of rise and is convenient for civil work. Angle gives the geometric inclination. The 1:n ratio is easy to lay out when rise is nonzero. Sloped length estimates material or travel distance. None of these alone establishes compliance. Surface cross-slope, transitions, landings, drainage, traction, and measurement tolerances can be as important as the nominal longitudinal grade.

Field Measurements and Acceptance Limits

Use a level, laser, total station, or calibrated digital inclinometer rather than judging slope from appearance. Record elevations at known horizontal stations. For a ramp, measure each run and landing; for drainage, check local low spots. Recalculate using worst plausible elevation error when a result sits near a limit. A string line can work for short checks if sag and endpoint height are controlled.

Report the same slope in at least two forms, such as percent and ratio, and state whether run is horizontal. Include direction, endpoints, units, and instrument resolution. That presentation reduces communication errors between drawings, crews, and reviewers. The calculator handles ideal straight geometry; field acceptance should follow the relevant specification and sample enough points to detect changes hidden by one average. Preserve the signed elevations so drainage direction can be reconstructed; an absolute grade alone cannot show which endpoint is lower. Where water must drain, compare the intended fall with construction tolerance and likely settlement rather than accepting any small positive number.

Continue exploring