In this paper we present a technique to extend distance computation algorithms that compute global distances from a series of local updates. This includes algorithms such as the fast marching method (FMM) and the chamfering algorithm for weighted distances. In addition to the value of a distance function or distance map, we derive formulas to compute the gradient and higher order partial derivatives of the distance function within the same framework. The approach is based on symbolic differentiation of the update scheme, which makes it general and straight forward to apply to almost any distance computation scheme. The main result is a novel set of ``derivative maps'' that are computed along with the ordinary distance maps. Apart from the theory itself, these maps and this technique may be used to compute skeletons and parameterizations such as Riemannian Normal Coordinates and Gauss Normal Coordinates.