
Web Scripts & Software Mobile app
DEV3 Duneholt – Vacation Rental Marketplace Laravel Script with Nightly Pricing, iCal Sync & Guest/Host App
from $69$99
Loading…
Everyday tool
Free, no sign-up. Runs in your browser; nothing is uploaded. Buy the source code: $29 Regular / $69 Extended
London: 51.5085, -0.1257
New York City: 40.7143, -74.0060
Road distance is only an estimate (straight line x 1.25, typical for connected cities); real routes need map data and can be much longer across water or mountains. Flight time = distance / 850 km/h + 30 min per flight for taxi, climb and descent: winds and routing change it. Last place is 5 h behind the first. Midpoint: 52.370, -41.289. Ellipsoidal WGS-84 geodesic (Vincenty), agrees with the spherical value within about 0.5%.
| Leg | km | Bearing |
|---|---|---|
| London to New York City | 5,585.2 | 288° WNW |
| Total | 5,585.2 |
1 mile = 1.609344 km; 1 nautical mile = 1.852 km. City data © GeoNames (CC BY 4.0).
Need Distance Between Cities Calculator as a full mobile or web app? We build it in about a week. Built in about a week, from $99. Send your requirements or SOW; you get a fixed quote and a delivery date.
The distance between cities calculator stays free to use online. If you want the code to run, edit and ship in your own project, get the full source from the DEV3 Marketplace. Instant download, 6 months of support.
Get the full app behind this tool. Buy once, own the source, and try each one live first.

Web Scripts & Software Mobile app
from $69$99

Web Scripts & Software Mobile app
from $69$99

Web Scripts & Software
from $69$99


Web Scripts & Software
from $20$29

Web Scripts & Software Mobile app
from $69$99

Enterprise SaaS Starters
from $69$99

Enterprise SaaS Starters
from $69$99
This calculator gives the straight-line distance between two cities, or between any coordinates you type, and then adds the numbers travellers ask for: flight time, bearing, midpoint and the time difference.
Two methods are used. The haversine formula treats the Earth as a sphere of radius 6,371 km and is quick. Vincenty's inverse formula uses the WGS-84 ellipsoid, which is slightly flattened at the poles, and gives the more precise figure shown as the main result. The two usually agree within about half a percent.
The initial bearing is the compass heading at the start of the path, and the midpoint is the point halfway along the great circle. The time difference compares the current UTC offsets of the two places, so daylight saving is included.
Estimated time equals distance divided by cruise speed plus a fixed allowance for taxi, climb and descent. Short hops are therefore dominated by the allowance, and long flights by the cruise. Use it for planning, not for tickets.
Roads bend around rivers, mountains and borders, and ferries and bridges decide many routes. The tool multiplies the straight line by 1.25 as a rule of thumb and labels it an estimate. For exact driving distance and time use a map service.
The tool measures the shortest path over the surface of the Earth, called the great-circle or geodesic distance. It uses Vincenty's formula on the WGS-84 ellipsoid, which is accurate to about half a millimetre for most pairs, and falls back to a spherical formula for almost opposite points on the globe.
No. Driving distance needs road network data, which this free tool does not use. It shows a rough road estimate of 1.25 times the straight line, clearly labelled, but real routes can differ a lot, especially across water or mountains.
Flight time is the distance divided by a cruise speed you choose (850 km/h for a jet airliner) plus an allowance for taxi, climb and descent, 30 minutes by default. Winds, air traffic routing and delays change real times.
It is the compass direction, in degrees from north, you would head in at the start of the shortest path. On a long route the bearing changes along the way, so it differs at the destination.
Yes. Add up to eight places. The tool shows each leg, the total distance and a CSV download, and the share link keeps all stops.
City data is © GeoNames (CC BY 4.0): about 34,000 cities with 15,000 or more people. The list loads only when you first type, and your searches stay in your browser.