Distance Calculator
Measure the distance between two cities or coordinates using the haversine formula — the shortest path over the Earth’s surface.
Distance
1,203 km
In miles
748 mi
In nautical miles
650 nmi
Flying time (≈ 800 km/h)
1.5 hours
Driving time (≈ 80 km/h)
15.04 hours
How this was worked out
- Formulaa = sin²(Δφ/2) + cos φ₁ × cos φ₂ × sin²(Δλ/2); d = 2R × asin(√a)
- Step 1Δφ = -10.82°, Δλ = -0.2755°
- Step 2d = 2 × 6,371 km × asin(√a) = 1,203.09 km
This is the straight-line (great-circle) distance. Actual road or flight distances are longer because routes are not straight.
Formula
d = 2R · asin(√(sin²(Δφ/2) + cos φ₁ · cos φ₂ · sin²(Δλ/2))), R = 6,371 km
Example
Input
Lusaka → Johannesburg
Result
≈ 1,265 km
Frequently asked questions
It measures the shortest path over the Earth’s surface, while roads follow terrain and existing routes.
The haversine formula is accurate to about 0.5% for a spherical Earth model.
Related tools
Keep going — these tools solve the problems that usually come next.