A: 40.7128, -74.0060B: 34.0522, -118.2437Runs entirely in your browser — your inputs never leave this page.
How this tool works
- 1
Resolves city centroids and queries distance matrix endpoints for accurate center-to-center measurements.
Common uses
- Relocation planning
- Mileage reimbursement tables
- Flight vs drive decision analysis
Frequently asked questions
Measurements reference the administrative centroid recognized by official gazetteers.
More in Distance & Driving
- Distance Between 2 PlacesMeasure great-circle geodesic distance (crow-flies) alongside turn-by-turn driving distance, travel duration, and detour percentage.
- Crow-Flies vs DrivingVisualize the direct geodesic arc compared side-by-side with road network routing, showing terrain detour factors.
- Multi-Stop Route OptimizerPlan trips with up to 25 waypoints. Drag stops to reorder, optimize for fastest driving path, toggle round-trip, and export to CSV.
- Distance Matrix GridCompute an N x N distance and travel time matrix for 2 to 50 locations. Visualize with interactive heatmap and export CSV.
- Halfway Point FinderFind the exact geographic or driving midpoint between two people. Discover cities, hotels, and restaurants to meet in the middle.
- Map Radius ToolDraw accurate geodesic distance circles around any location from 100 feet to 3,000 miles. Layer multiple radius rings with custom colors.
- Drive Time IsochronesGenerate 10, 15, 30, 45, 60, and 90-minute reachable travel time polygons for driving, bicycling, or walking.
- Map Area CalculatorClick to draw any polygon on the map to calculate land area in acres, square feet, hectares, square miles, or square kilometers.
- Bearing & CompassCalculate initial bearing, final bearing, rhumb line heading, and magnetic declination between any two global coordinates.
- Horizon DistanceCalculate how far away the physical Earth horizon is based on observer eye elevation above sea level, accounting for atmospheric refraction.
- Distance From MeSelect any target destination and watch your live GPS update your real-time crow-flies distance, heading arrow, and travel speed continuously.
Chicago to Milwaukee: ZIP to ZIP in About 92 Highway Miles
A sales rep based in downtown Chicago, ZIP 60601, is planning a day trip to a new client in downtown Milwaukee, ZIP 53203. At this stage she does not need street-level precision; she needs the honest size of the trip to plan her morning, her fuel, and her meeting time. She enters the two ZIP codes and lets the tool do the lookup in one step, the way she will reuse it for every prospect in her territory. Her patch holds a dozen such pairs, and guessing each one from memory has already embarrassed her once in front of a client who knew the drive better than she did.
It returns both measures, clearly labeled. The straight-line distance between the two ZIP code centroids, running along the western shore of Lake Michigan, is about 81 miles (130 km). The highway figure on I-94 is about 92 miles (148 km). The detour is easy to verify: 92 minus 81 is 11 miles, and 11 divided by 81 is roughly 0.14, so the road adds only about 14 percent, modest because the interstate between the two cities runs fairly direct with no serious terrain in the way. The same two skylines would produce a very different percentage if a mountain range, a wide bay, or a border crossing sat between them.
From those numbers the whole plan builds itself. At a highway average near 60 mph, 92 miles divided by 60 is about 1.53 hours, call it an hour and a half of driving. Her car returns about 30 mpg, so 92 divided by 30 is roughly 3.1 gallons each way, just over 6 gallons for the round trip, a figure she can put straight into the expense estimate. She also knows to leave a margin for the tollway sections and city traffic at the Milwaukee end before she promises the client a 9 a.m. arrival. The return trip gets the same treatment in reverse, since the afternoon direction carries its own traffic pattern, and the tool lets her sanity-check both legs before she commits the day.
When the client confirms the meeting, she re-runs the same tool with the two exact street addresses. Door to door adds a few city miles at each end compared with the centroid-to-centroid figure, and that final number is the one she quotes the client and claims on her report. The ZIP lookup gave her the planning estimate in seconds; the address lookup gives the billing number, and keeping the two roles separate keeps every figure she sends defensible. Clients forgive a long drive; they do not forgive surprises about the long drive.
Common mistakes to avoid
- Mixing the two numbers in one budget. Quoting 81 straight-line miles to your manager and 92 highway miles on your expense claim makes both figures look invented. Label which measure every number is, straight line or road, every time you write one down.
- Forgetting that ZIP results start at a centroid. A ZIP-to-ZIP figure measures from the center of each ZIP area, not from your driveway or the client's door. Large rural ZIPs can shift the answer by many miles before anyone starts driving, which is fine for estimates and wrong for final quotes. Treat the centroid figure as a sketch, not a signature.
- Assuming every city pair behaves the same. Pairs separated by bays, borders, lakes, or mountain ranges carry much bigger detours than this flat lakeside run. Always read both values the tool returns for your specific pair instead of generalizing from a route you know.
Pro tips
- Start with ZIP-to-ZIP for quick comparisons across many prospects, then switch to exact addresses for the final plan and quote.
- Add city driving at both ends to the highway figure before promising an arrival time, especially into a downtown core.
- Save your frequent city pairs so every quote you send uses the same consistent numbers, measured the same way., week after week and client after client, so nobody can accuse the numbers of drifting.
Distances, Routes & Drive Times: How Mapping Math Works
Why the Earth refuses to be flat, how calculators measure true distances, how road networks find your route, and what those drive-time blobs on the map really mean. Written for Distance Between Cities / ZIP Codes and the everyday mapping tasks around it.
The Earth Is Not Flat (and Your Math Must Know It)
For a walk to the corner store, flat math is fine. For a drive from Chicago to Denver, it is not. The Earth bulges at the equator and flattens at the poles — an oblate ellipsoid about 13 miles wider than it is tall. Ignore that shape and long distances come out wrong by miles.
Surveyors model the planet with the WGS84 ellipsoid: an equatorial radius of 3,963 miles and a polar radius of 3,950 miles. Every serious distance tool, including the ones on this site, measures along this curved surface rather than through the planet's interior.
The practical rule is simple. Under about 10 miles, flat-map math and true geodesic math agree to within a few feet. Past 100 miles, the gap grows fast. A flight from New York to London measured on a flat map would miss by over 200 miles — which is why aviation never uses flat math.
Haversine vs. Vincenty: Two Ways to Measure
The Haversine formula treats the Earth as a perfect sphere. It is a few lines of code, runs instantly, and gets within about 0.5% of the true distance. For store locators and "places near me" features, that is plenty. Most web maps use it under the hood.
Vincenty's method goes further. It walks the actual WGS84 ellipsoid, iterating until the answer converges, and lands within millimeters on distances of thousands of miles. The cost is complexity: the math needs a dozen steps and can fail to converge for nearly antipodal points, though modern implementations handle that gracefully.
Which should you trust? For driving estimates and everyday questions, both agree closely enough that you will never notice. For surveying, aviation, and scientific work, Vincenty or its modern successor Karney's algorithm is the standard. This site uses ellipsoidal math wherever precision matters.
One more subtlety: "distance" has flavors. Great-circle distance is the shortest path over the surface. Rhumb-line distance holds one compass bearing the whole way — longer, but easier to steer by hand, which is why sailors used it for centuries.
This page shows the first two chapters. Read the complete Distance & Drive Time field guide →