Calculate distance between any two cities instantly. Get km, miles, and estimated travel time with our free distance calculator. Works worldwide.
SnapDistance helps you calculate the straight-line distance between two locations anywhere in the world. Every result includes kilometers, miles, nautical miles, estimated flight time, estimated driving time, and timezone context.
The calculator uses the Haversine formula to measure great-circle distance, which is the shortest path over the Earth's surface. This makes the tool useful for travel research, route comparison, logistics planning, education, and general curiosity.
You can also explore popular route pages, browse all distances from major cities, and review country-level route hubs to discover more destinations and related travel guides.
Every distance on SnapDistance is computed with the Haversine formula, which measures the great-circle distance between two points on a sphere. The formula uses the latitude and longitude of each city — sourced from OpenStreetMap and Photon — and returns the shortest path along the Earth's surface. This is the same technique used by aviation route planners, maritime navigators, and most modern mapping APIs.
Results are returned in kilometres, miles, and nautical miles. SnapDistance also estimates flight time using a representative cruise speed of approximately 900 km/h plus 30 minutes of taxi, takeoff, and landing overhead. Driving time is approximated by multiplying the great-circle distance by 1.3 (a typical road-network detour factor) and dividing by an average highway speed. These estimates are designed for planning, not for operational navigation.
Because all calculations run client-side in your browser, no city pair you enter is ever sent to a SnapDistance server. The only network requests made by the calculator are to the Photon geocoding API for autocomplete, and (with your consent) to Google Analytics for anonymous usage statistics.
Straight-line distance is the shortest possible separation between two locations. It is the same number you would draw with a ruler on a globe, ignoring roads, oceans, mountains, and political borders. For comparing two cities, two airports, or two coordinates, it is the most consistent and source-of-truth figure.
Real-world routing — the path a car, train, ship, or commercial flight actually follows — is almost always longer. Roads detour around terrain, flights follow air-traffic-control corridors and jet-stream-friendly tracks, and trains follow fixed rights-of-way. As a rule of thumb, driving routes are 1.2–1.5× the straight-line distance, and commercial flights are 1.02–1.10× the great-circle distance for routes longer than 1,000 km.
Knowing both numbers helps you frame a trip correctly: use straight-line distance to compare options at a glance, then switch to a routing service like Google Maps or a flight-search engine when you need exact times.
Distances are computed with the Haversine formula and city coordinates from OpenStreetMap, so the great-circle figure is accurate to within a few hundred metres for almost any city pair. Flight and driving time estimates are deliberate approximations — flight time uses a representative cruise speed and adds taxi/takeoff overhead, and driving time multiplies straight-line distance by 1.3 to approximate real road routing. Always confirm with a routing service before booking.
Great-circle distance is the shortest path between two points along the surface of the Earth, treating the planet as a sphere. Driving distance follows actual roads, which add detours around terrain, water, and political borders. On most continents, the driving distance is roughly 1.2–1.5× the great-circle distance.
Yes. The calculator, every city-hub page, every country page, the comparison tool, and all guides are free and require no account. There are no usage limits, no paywalls, and no ads.
No. All distance calculations run inside your browser, so the city pairs you enter are never sent to a SnapDistance server. The only data the site can see is anonymous Google Analytics traffic, and only if you accept the analytics cookie when you first visit.
Yes. SnapDistance is a Progressive Web App. Once you have visited the site, you can add it to your home screen on iOS or Android, or install it as a desktop app on Chrome and Edge. The cached pages and the calculator continue to work without an internet connection.
These city-to-city distance pages were refreshed in our latest update with new bearing, halfway-point, time-zone, and currency data.