Overview
This calculator finds the direct geographic distance between two cities or locations from their coordinates. Enter the latitude and longitude of each point, choose the output unit, and get the distance and central angle instantly.
Formula
The haversine formula calculates distance on a spherical surface: distance = 2 × R × arcsin(√(sin²(Δφ/2) + cos φ₁ × cos φ₂ × sin²(Δλ/2))).
How it works
Enter the first point
Type the latitude and longitude of the first point in degrees.
Enter the second point
Type the second point's coordinates, then choose the output unit.
Read the distance
The direct distance, central angle and coordinate differences appear.
Worked examples
Riyadh to Jeddah
With coordinates 24.7136, 46.6753 and 21.4858, 39.1925, the direct distance is about 846 km.
London to Paris
With coordinates 51.5074, -0.1278 and 48.8566, 2.3522, the direct distance is about 344 km.
Frequently asked questions
Is this the same as road distance?
No. The calculator returns the direct geographic distance on Earth's surface, not the actual driving or walking distance.
What is the difference between latitude and longitude?
Latitude measures north or south of the equator, while longitude measures east or west of the Greenwich meridian.
Why does it differ slightly from GPS maps?
The calculator uses a simplified spherical model, while navigation systems use ellipsoidal models and account for actual routes.
This calculator is for educational and informational purposes only and is not a substitute for professional advice.