Inverse haversine. The last part of this video compares distance.