Calculate slope distance from run and rise or angle, with rise over run, percent grade and angle, or convert slope distance to horizontal distance.

Use a negative value for downhill.

Optional settings

Calculator Functions

FunctionWhat it doesWhat it requires
Slope distance from run and riseFinds the straight distance along a slope from its horizontal and vertical lengthsRequires the horizontal run and the vertical rise
Slope distance from run and angleFinds the straight distance along a slope from its horizontal length and its angleRequires the horizontal run and the slope angle in degrees
Horizontal run from slope distanceConverts a distance measured along a slope to the horizontal distance it coversRequires the known slope distance and the slope angle in degrees

Lengths go in as meters, feet, inches, centimeters, yards or kilometers, and the run and the rise can use different units. A negative rise or angle means downhill. Every result also gives the vertical rise, the rise over run, the slope angle and the percent grade, with the slope distance the same run would have at a 5% and a 20% grade.

Slope Distance Formulas

SD = √(Ru² + Ri²)
SDSlope distance, the straight line between the two points
RuHorizontal run
RiVertical rise, in the same unit as the run

The run, the rise and the slope distance form a right triangle, with the slope distance as the longest side. The slope distance is always longer than the run, and the gap grows with the steepness. Mixed units are converted first, using 1 ft = 0.3048 m, 1 in = 0.0254 m and 1 yd = 0.9144 m [1].

Slope distance from run and rise

The main formula applies directly. A run of 7 in with a rise of 5 in gives SD = √(49 + 25) = 8.6023 in. A run of 100 ft with a rise of 12 ft gives 100.7174 ft, only 0.72 ft longer than the run, at a slope angle of 6.842773° and a 12% grade. A rise of −12 ft gives the same distance with the direction shown as downhill.

Slope distance from run and angle

SD = Ru ÷ cos(θ)

θ is the slope angle measured up from horizontal, and it has to be between −90° and 90°. The rise comes from Ri = Ru × tan(θ). A run of 30 m at 25° gives SD = 30 ÷ cos(25°) = 33.1013 m, with a rise of 13.98923 m.

Horizontal run from slope distance

Ru = SD × cos(θ)

This turns a distance taped or paced along a slope into the horizontal distance a map or plan shows. A slope distance of 200 ft at 15° covers 200 × cos(15°) = 193.1852 ft of horizontal run and rises 200 × sin(15°) = 51.763809 ft.

Rise over run, angle and percent grade

Grade % = Ri ÷ Ru × 100

Rise over run is the slope as a decimal, and the percent grade is that decimal times 100. The slope angle is the arctangent of rise over run. A rise of 30 in over a run of 20 ft is 2.5 ft over 20 ft: a slope of 0.125, a grade of 12.5%, a ratio of 1 vertical to 8 horizontal and an angle of 7.125016°.

Limits of This Estimate

  • The result is the straight line between two points. Ground that rises and falls along the way is longer than that line, so this is not the length of a path over uneven terrain.
  • No survey corrections are applied, such as those for the curvature of the earth, instrument height or tape sag over long distances.
  • A vertical line has no horizontal run, so an angle of exactly 90° or −90° cannot be used.

Sources