AFAIK they use as the crow flies miles or great circle calculations. The actual flight paths shouldn't matter at all, even though airport traffic might well make the distance slightly greater in one direction, or in certain weather conditions, etc......