Need Help to Calculate Distance

Is there any Extension or Method available here which helps me to calculate distance between 2 points or 2 cities? Same like Google Map Does?

I’m Creating Car Rental App, So This feature is must. I’m Very thankful if anybody help me regarding this issue.