MAP Quest Type feature or app to get miles

We track mile from our warehouses across the country to job sites. If there was an app that could calculate the miles for us and store the milage it would be a good feature. We then could calculate a delivery charge.