Calculate the elevation difference between two points in feet or meters, including points below sea level, plus grade and slope if you add the distance.

Both elevations must use the same vertical datum.

Enter points below sea level as negative numbers, e.g. −518 ft.

Enter points below sea level as negative numbers.

Optional settings
Map distance, not distance along the slope. Blank omits grade and slope.

Calculator Functions

FunctionWhat it doesWhat it requires
Elevation changeFinds the rise or drop between two points, as a signed change and an absolute differenceRequires the starting elevation and the ending elevation
Ending elevationFinds the elevation reached after a known rise or dropRequires the starting elevation and the signed elevation change
Starting elevationFinds the elevation a climb or descent began fromRequires the ending elevation and the signed elevation change

Elevations and changes go in as ft, m or yd, each with its own unit, and the result unit is chosen separately. A point below sea level is entered as a negative number. Adding the optional horizontal distance in mi, km, ft, m or yd also gives the grade in percent, the slope angle and the straight slope distance between the two points.

Elevation Difference Formulas

ΔE = Eend − Estart
ΔESigned elevation change. Positive is a rise and negative is a drop
EendEnding elevation
EstartStarting elevation
|ΔE|Absolute difference, the change with its sign removed. It equals the higher elevation minus the lower one

An elevation is a height above or below a reference surface such as mean sea level, which surveyors call a vertical datum [1]. The subtraction only means something when both elevations are measured from the same datum. Mixed units are converted to meters first, with 1 ft = 0.3048 m and 1 yd = 0.9144 m [2].

Elevation change

The main formula applies directly. From 200 m up to 500 m the change is 500 − 200 = +300 m. From a depth of 518 ft below sea level to an altitude of 14,693 ft, the change is 14,693 − (−518) = 15,211 ft, because subtracting a negative elevation adds it. Swapping the two points gives −15,211 ft, a drop, and the same absolute difference.

Ending elevation

Eend = Estart + ΔE

A descent of 1,200 ft from a trailhead at 5,280 ft ends at 5,280 + (−1,200) = 4,080 ft.

Starting elevation

Estart = Eend − ΔE

A summit at 2,500 m reached after an 800 m climb means the climb began at 2,500 − 800 = 1,700 m.

Grade, slope angle and slope distance

Grade = 100 × ΔE ÷ run [3]

The run is the horizontal distance as measured on a map, not the distance walked along the slope [3]. The slope angle is the inverse tangent of ΔE ÷ run [3], and the straight slope distance is √(run² + ΔE²). A rise from 1,000 ft to 1,500 ft over 1 mile of map distance is a grade of 100 × 500 ÷ 5,280 = 9.47%, an angle of 5.41° and a slope distance of 5,303.6 ft.

Limits of This Estimate

  • Elevations taken from different sources can sit on different vertical datums, which can offset the difference. Two readings from the same map, survey or device avoid this.
  • The result compares two endpoints only. It is not the total climbing on a route that goes up and down between them.
  • Grade, angle and slope distance describe one straight line between the points. Real terrain is steeper in some places and flatter in others.

Sources

  1. NOAA National Ocean Service, What is a datum?: vertical datums as the reference surface for land elevations and water depths
  2. NIST, Guide for the Use of the International System of Units (SP 811), Appendix B.8: foot, yard and mile in meters
  3. U.S. Geological Survey, To Determine Percent of Slope and Angle of Slope: percent slope as rise over run times 100, the run as map distance, and the angle as an inverse tangent