# Calculate distance between two cordinates on earth: See requested Title

 All requests > Calculate distance between two cordin... > Request new recommendation > Featured requests > No recommendations

## Calculate distance between two cordinates on earth #distance

by William Wallace - 7 years ago (2015-05-18)

### See requested Title

 +3 I have two points on earth. What is the distance between them? Obviously it is not sqrt(pow(long1 - long2,2) + pow(lat1 - lat2,2) )

## PHP Calculate Distance: Find the distance between points using Haversine

 +2 by Anthony Amolochitis package author - 7 years ago (2015-05-27) CommentThis class should make it easy for you. It calculates the distance between two points on the earth sphere. The example shows how easy it is to use as well. I hope this helps.

## GPS Coordinates Distance: Calculate distance between geographic coordinates

 0 by Dave Smith - 7 years ago (2015-05-18) CommentThis class will calculate the distance between two points and perform a conversion from miles to whatever unit you are after. If I am reading it correctly, the formula (which is in the class) is for a straight line and does not take into account the curvature of the earth, so it may be off slightly.

Recommend package
 Package: Explanation:
For more information send a message to `info at phpclasses dot org`.