GPS Coordinate Distance Calculator
Find the great-circle distance between two GPS coordinates.
Inputs
Saved Scenarios
— select 2+ to compare| Metric | |
|---|---|
Distance (km)
343.56
Distance (miles)
213.48
Spark says
Formula
- R
- — Earth's mean radius, 6,371 km
- \varphi, \lambda
- — Latitude and longitude in radians
What is the GPS Coordinate Distance Calculator?
The haversine formula calculates great-circle distance between two points on a sphere from their latitude and longitude — the straight-line 'as the crow flies' distance, not driving distance.
How to use it
- 1 Enter the latitude and longitude of the first point.
- 2 Enter the latitude and longitude of the second point.
Worked examples
Limitations
- •Treats Earth as a perfect sphere (using its mean radius) — real driving/walking distance will always be longer, and highly precise geodesy work uses an ellipsoidal model instead.
Frequently asked questions
Why is this different from my GPS app's driving distance?
This is straight-line distance — actual travel distance follows roads and is almost always longer, sometimes considerably so.