Compute shortest surface paths between latitude-longitude pairs accurately. Review bearings, arc length, model differences clearly. Visualize routes and export findings for reliable planning reports.
The chart compares spherical and ellipsoidal distances and shows their absolute difference.
| Route | Start Coordinate | End Coordinate | Typical Use |
|---|---|---|---|
| New York to London | 40.7128, -74.0060 | 51.5074, -0.1278 | Long-haul travel estimate |
| Tokyo to Sydney | 35.6762, 139.6503 | -33.8688, 151.2093 | Intercontinental comparison |
| Cairo to Nairobi | 30.0444, 31.2357 | -1.2921, 36.8219 | Regional route planning |
| São Paulo to Buenos Aires | -23.5505, -46.6333 | -34.6037, -58.3816 | South American distance study |
This calculator supports two distance models. The spherical model uses the haversine relation for great-circle distance. The ellipsoidal model uses Vincenty inverse equations on the WGS84 ellipsoid for higher Earth-surface precision.
Haversine:
a = sin²(Δφ / 2) + cos(φ1) × cos(φ2) × sin²(Δλ / 2)
c = 2 × atan2(√a, √(1 − a))
d = R × c
Where:
φ = latitude in radians
λ = longitude in radians
Δφ = φ2 − φ1
Δλ = λ2 − λ1
R = sphere radius
d = geodesic distance
Vincenty improves accuracy by modeling Earth as an oblate ellipsoid instead of a perfect sphere. That makes it especially useful for surveying, mapping, aviation, and high-precision spatial work.
Geodesic distance is the shortest path between two points measured along a curved surface. On Earth, it follows the surface geometry instead of a straight line through the planet.
Haversine assumes Earth is a sphere, while Vincenty uses an ellipsoid. The ellipsoidal model better reflects Earth’s flattening, so it usually provides more accurate long-distance results.
Choose Vincenty when precision matters for mapping, aviation, surveying, or logistics. Choose haversine for faster spherical estimates, educational use, or generalized route comparisons.
Use decimal degrees. Latitudes must stay between -90 and 90. Longitudes must stay between -180 and 180. Negative values represent south and west positions.
Yes. The sphere radius field lets you change the spherical model assumption. This is useful for theoretical studies, other celestial bodies, or custom approximation scenarios.
The initial bearing is the forward azimuth at the starting point. It shows the compass direction you begin traveling before the curved path gradually changes orientation.
Some nearly antipodal point pairs can challenge Vincenty’s iterative process. When convergence fails, the spherical result still appears so you can continue evaluating the route.
Yes. The page includes CSV and PDF export buttons after calculation. They help you save computed values, bearings, midpoint details, and model comparisons for documentation.
This page is designed with a white theme, a single-column page flow, and a responsive input grid that uses three columns on large screens, two on medium screens, and one on mobile screens.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.