Distance between coordinates
Estimate great-circle distance with a declared Earth model.
How to use Distance between coordinates
Distance between coordinates calculates the great-circle distance in kilometers between two latitude and longitude points using the haversine formula. It models Earth as a sphere with a mean radius of 6371.0088 km. Latitudes must be between -90 and 90 and longitudes between -180 and 180, in decimal degrees.
- Enter the requested values in the settings panel.
- Set first latitude, first longitude, second latitude, second longitude.
- Run distance between coordinates, review the output, then use the available copy or download controls.
What this tool supports
Estimate great-circle distance with a declared Earth model.
- First latitude
- Range: -90 to 90
- First longitude
- Range: -180 to 180
- Second latitude
- Range: -90 to 90
- Second longitude
- Range: -180 to 180
Limits and processing
Local bounded calculations. Numeric inputs must be finite and within the visible ranges. Lists and tables have operation-specific limits. Models, estimates and supplied rates must be checked against your intended use.
Frequently asked questions
How do I calculate the distance between two GPS coordinates?
Enter the first and second latitude and longitude in decimal degrees. The result is the great-circle distance in kilometers along the surface of a spherical Earth.
Is the distance between coordinates the driving distance?
No. It is the straight great-circle distance over the Earth surface, not road distance, so actual travel routes are usually longer.
What Earth radius does the distance calculator use?
It uses a spherical Earth with a mean radius of 6371.0088 km. Results can differ slightly from tools that use an ellipsoidal model.
Where is my input processed?
This operation processes its source in your browser. Copy and download are explicit actions; source input is not saved in an account or history.
What are the input limits?
Local bounded calculations. Numeric inputs must be finite and within the visible ranges. Lists and tables have operation-specific limits. Models, estimates and supplied rates must be checked against your intended use.