Enter any city name worldwide to calculate accurate distances using the Haversine formula. Supports millions of cities with smart geocoding. Local database + API fallback for global coverage.
Enter the first city name
Enter any city worldwide. For common names, add state/country (e.g., "Cambridge, UK")
Enter the destination city name
Supports cities worldwide. Be specific for better results (e.g., "Portland, Oregon")
Using the Haversine formula for precise spherical distance calculations.
Mathematical precision for Earth's curvature
All calculations done in your browser
5 different measurement units supported
Millions of cities worldwide with smart geocoding
Accurate great-circle distance calculations
Local database with API fallback for global coverage
Kilometers, miles, nautical miles, meters, feet
Fuzzy matching and intelligent city name resolution
Fast calculations with helpful error messages