geoprimsField-grade geospatial math

Rise, run, and slope length

The third of rise, run, and slope length from any two, with the grade they make as a percent, an angle, and a labeled ratio.

8.333

A rise of 2.5 ft over a run of 30 ft is a 8.333% grade, 30.104 ft along the slope.

Slope length
Rise
Run
Slope angle
Ratio H:V
Ratio V:H
Provenance
Computed by
survey.earthwork.rise-run 1.0.0, core 0.1.0
Model
Grade g = rise / run; slope length = √(rise² + run²); from a slope length, run = √(slope² − rise²) or rise = √(slope² − run²); percent = 100·g, angle = atan g
Accuracy
Exact
Notes
None
Cites
Ghilani, C. D., and Wolf, P. R., Pearson, Elementary Surveying: An Introduction to Geomatics; Federal Highway Administration, Noise Barrier Design: Terminology

Something look off?

Your values

Showing an example. Change anything.
Run many at once from a CSV

Loading…

How we got thisFormula, worked example, sources, and proof

Model: Grade g = rise / run; slope length = √(rise² + run²); from a slope length, run = √(slope² − rise²) or rise = √(slope² − run²); percent = 100·g, angle = atan g

Accuracy: Exact

When to use this: Use this when you have measured two sides of a slope and need the third: the rise and run of a ramp, a taped slope length and a height difference, or a slope length and its horizontal distance. Enter any two of rise, run, and slope length in the same units. The tool returns all three with the grade as a percent, an angle, and a ratio labeled H:V and V:H.

Limitations: This is one straight slope as a right triangle. A rise found from a run and a slope length is reported as positive, since the two lengths cannot say whether the ground climbs or falls. The slope length must be longer than the other side given. It does not reduce a total-station shot with instrument and target heights, and it gives no design advice on what slope will stand.

Worked example: A 2.5 ft rise over a 30 ft run. Source: 2010 ADA Standards sec. 405.2: a 1:12 ramp (8.333%), here a 30 in rise over a 30 ft run. It is golden test vector v001, and every build checks the tool still gives its answer within its tolerance.

You enter

Rise
2.5 ft
Run
30 ft

You get

Percent grade
8.333
Slope length
30.104 ft
Rise
2.5 ft
Run
30 ft
Slope angle
4.7636°
Ratio H:V
12H:1V
Ratio V:H
0.083V:1H
Per mille
83.33

Review: Not yet independently reviewed by a licensed surveyor.

Last verified: 2026-09-23, when a maintainer last confirmed this tool's sources at the issuer. See the sources ledger.

Status: version 1.0.0, core 0.1.0. See this tool in the verification report.

Checked against: 24 golden test vectors (download the test vectors, each with its source and tolerance). See how results are checked and every source.

Sources