 Note that the equations are exact both for spherical and ellipsoidal Earth model.Finding the great circle distance between two horizontal positions (assuming spherical Earth) is usually done by means of latitude and longitude.Three different expressions for this distance are common; the first is based on arccos, the second is based on arcsin, and the final is based on arctan.