User Rating 0.0 โ˜…โ˜…โ˜…โ˜…โ˜…
Total Usage 0 times

Point A (Origin)

Point B (Destination)

Batch Processing (Optional)

Paste multiple pairs (Lat, Lon, Lat, Lon) or (Lat, Lon) to (Lat, Lon). One entry per line.

Is this tool helpful?

Your feedback helps us improve.

โ˜… โ˜… โ˜… โ˜… โ˜…

About

Geographic distance calculation differs significantly from Euclidean geometry due to the curvature of the Earth. A straight line on a map (Mercator projection) is rarely the shortest path between two points on a sphere. This tool employs the Haversine formula to compute the Great Circle Distance, which represents the shortest path over the earth's surface.

This utility is essential for developers working with geospatial data, logistics planners optimizing routes, and aviation enthusiasts. It includes a batch processor to handle bulk coordinate arrays and a parser capable of cleaning messy input formats (e.g., degrees/minutes/seconds symbols).

haversine geolocation latitude longitude geodesy bearing calculator

Formulas

The distance (d) is calculated using the Haversine formula, where ฯ† is latitude, ฮป is longitude, and R is the Earth's radius.

a = sin2(ฮ”ฯ†2) + cos(ฯ†1)โ‹…cos(ฯ†2)โ‹…sin2(ฮ”ฮป2)
c = 2 โ‹… atan2(โˆša, โˆš1โˆ’a)
d = R โ‹… c

Reference Data

MeasurementFormula / ValueDescription
Earth Radius (R)6371 kmVolumetric mean radius used in geodesy.
Haversine (hav)hav(ฮธ) = sin2(ฮธรท2)Fundamental trigonometric function.
Bearing0ยฐ to 360ยฐAzimuth or initial compass direction.
Walking Pace5 km/hAverage human walking speed estimate.
Flying Pace900 km/hCommercial jet cruising speed.

Frequently Asked Questions

Currently, the tool expects Decimal Degrees (e.g., 40.7128). You must convert DMS to decimal format before using this specific calculator, or use the format cleaner if the input is simply "messy" text containing standard coordinates.
This tool calculates "Great Circle" distance (as the crow flies). Google Maps calculates driving distance, which accounts for roads, turns, and terrain, making it significantly longer.
The formula assumes a perfect sphere (radius 6371km). Since Earth is an oblate spheroid, errors of up to 0.3-0.5% may occur compared to the more complex Vincenty formula.