Contour crossings between elevations
With the example inputs, the result is 4 levels above lower endpoint through upper endpoint.
Map distances use horizontal ground measurements unless the tool asks for slope distance. Check the scale and contour interval in the map legend before replacing the example values.