Distance Between ZIP Codes
Enter two US ZIP codes for the straight-line distance, initial bearing and midpoint — with both ZIP centroids pinned on the map.
By Aryan Khan, Founder & Editor · Updated October 2026
For example, ZIP 10001 (New York) to 90210 (Beverly Hills) measures approx. 2,453 miles (3,948 km) between centroids — while 10001 to 60601 (Chicago) is a shorter 710 miles.
How to use Distance Between ZIP Codes
ZIPs are areas, not points — this tool is honest about the convention it uses. Three steps:
Distance Between ZIP Codes measures the straight-line distance between any two US ZIP codes, using the published centroid of each code. Enter two 5-digit ZIPs and read the distance in miles and kilometres with the initial bearing and the midpoint, both centroids pinned on the map for a visual check.
- 1Type two 5-digit US ZIP codes.
- 2Press 'Measure distance'.
- 3Read distance, bearing and midpoint.
What people use Distance Between ZIP Codes for
1. Shipping and delivery estimates
Zone-based pricing starts with centroid distance. It will not price a parcel, but it sorts a rate table's zones into a defensible order before exact addresses exist.
2. Territory and coverage checks
Is a customer's ZIP inside your patch? Measure it against the branch ZIP. For every customer at once, the ZIP Codes Within a Radius tool lists them instead.
3. Relocation comparisons
A new home's ZIP against the office ZIP, the school ZIP and the family ZIP — three honest numbers that survive every change of route and traffic.
4. Data validation
In a spreadsheet of addresses, a ZIP-to-ZIP distance that disagrees wildly with the rest of the row exposes the transposed digits before they cost a mailing.
Worked examples
10001 (New York) ↔ 90210 (Beverly Hills): approx. 3,948.2 km (2,453.3 mi), initial bearing 274°. The two most famous ZIPs in America are a continent apart — the bearing, just north of west, is the detail people get wrong.
02108 (Boston) ↔ 10001 (New York): approx. 302.5 km (187.9 mi). At this range the centroid convention is tight — both codes are compact urban ZIPs, so the answer is close to a city-centre measurement.
Popular ZIP pairs
Centroid-to-centroid distances computed on the site model from published ZIP centroids — approx. figures; rural ZIPs cover wide areas, so treat their results as area-to-area.
| Pair | Miles | Kilometres | Initial bearing |
|---|---|---|---|
| 10001 (New York) ↔ 90210 (Beverly Hills) | 2,453.3 | 3,948.2 | 274° |
| 10001 ↔ 60601 (Chicago) | 710.4 | 1,143.3 | 281° |
| 02108 (Boston) ↔ 10001 (New York) | 187.9 | 302.5 | 235° |
| 20001 (Washington DC) ↔ 10001 | 204.5 | 329.2 | 51° |
| 94103 (San Francisco) ↔ 90210 | 338.9 | 545.4 | 137° |
| 30303 (Atlanta) ↔ 33101 (Miami) | 605.8 | 974.9 | 154° |
| 60601 (Chicago) ↔ 30303 (Atlanta) | 588.8 | 947.6 | 162° |
| 10001 ↔ 94103 (San Francisco) | 2,565.2 | 4,128.3 | 282° |
Bearings are initial great-circle headings from the first ZIP's centroid. Centroids are representative points published for each ZIP, not geometric centres of the boundary.
How ZIP-to-ZIP distance is measured
Enter two US ZIP codes and this tool geocodes each to its mapped centroid — the point near the area's population or post-office centre — then measures the great-circle distance between them, in miles first and every other unit one click away. Adding the city name ('94107 San Francisco') resolves special or newly created ZIPs more reliably. The same flow accepts postcodes from other countries wherever OpenStreetMap geocoding covers them, so cross-border checks often work too.
ZIP-to-ZIP distance is the quick metric behind delivery surcharges, service availability checks, sales territory sizing and 'how far is my new job' questions. Two honest caveats keep it trustworthy: a ZIP is an area, so the centroid is a representative point rather than a street address, and the figure is straight-line — road distance, which couriers actually drive, runs longer and is available in the driving calculator. Within those labelled limits the lookup is fast, free and private: your ZIPs are geocoded on the fly and never stored.
How to interpret the result
The most common errors come from using a correct result to answer the wrong geographic question. Keep these points in mind for Distance Between ZIP Codes:
- Always confirm which distance you need before quoting one: straight-line for physical questions, road distance for driving, and network time for schedules. The three can differ by half again in mountainous or island geography, and quoting the wrong one is the most common distance mistake in reports.
- Remember that bearings are true-north by default. If you are transferring a bearing to a magnetic compass, add (or subtract) your local declination — it exceeds 10° in many inhabited regions and flips hemispheres of behaviour.
Limits & appropriate use
The honest limits here are about category, not quality: great-circle math is near-exact, but it answers 'how far over the surface', not 'how far as driven, flown or walked'. Airline distances follow airways and winds; odometers follow detours; hikers follow switchbacks. Quoting a straight-line number into a fuel budget is the classic misuse, which is why the tools keep the ladder visible — crow-flies, road, time — and label each rung. A second limit is definitional: 'city to city' means mapped centre to mapped centre, and a suburb-to-airport question is a different measurement wearing the same sentence.
Within those bounds the numbers are durable: reproducible from coordinates alone, stable across tools that use the same radius convention, and accurate to a fraction of a percent of geodetic truth. The escalation path is short and rarely needed — ellipsoidal libraries (Karney's algorithms) for survey-grade millimetres, the routing engine for network truth, and the airline's schedule for invoice truth. Knowing which authority owns which number is the entire craft of distance literacy.
- Survey-grade millimetres → ellipsoidal geodesic libraries, not sphere math.
- Fuel and schedule planning → road routing plus your congestion buffer.
- Airline invoicing → carrier distance tables (airways ≠ great circles).
Data & methodology
US ZIP coordinates are retrieved from Zippopotam.us and compared with a spherical great-circle distance, bearing and midpoint. Representative points do not describe the entire ZIP.
For source details, licences and model limitations, see Data Sources and Methodology.
Key terms worth knowing
- Geodesic
- The ellipsoid-true shortest path; haversine approximates it within ~0.3%.
- Great circle
- A circle centred on Earth's centre; its arcs are the shortest surface paths.
Editorial guidance: MapBench explains the method and limitations so the tool can be used as a transparent reference, not as a black-box answer. For legal boundaries, safety-critical routing, surveying, engineering, regulated decisions or official statistics, verify the result with the responsible authority or a qualified professional.
Category: Distance & Bearing. Results are intended for everyday analysis and planning unless a page explicitly states otherwise.
Method, assumptions & limits
- This tool’s method
- US ZIP coordinates are retrieved from Zippopotam.us and compared with a spherical great-circle distance, bearing and midpoint. Representative points do not describe the entire ZIP.
- Before relying on the answer
- Keep the endpoints and measurement mode fixed when comparing results. A surface separation, a compass bearing and a road distance are different outputs.
- What the result cannot establish
- A rounded coordinate or a city-centre search changes the endpoints. Do not interpret displayed decimal places as survey accuracy.
Coverage: US focused. Search, basemap and external data requests may use third-party services; browser-based does not mean every operation is offline. Read the source and licence notes, calculation methodology and privacy policy. If a result looks inconsistent, report a correction with the inputs and mode used.
Frequently asked questions
Clear answers about the calculation, accuracy and appropriate use.
How is the distance measured?
Haversine (great-circle) distance between the two ZIP-code centroids — driving distance will be longer.
Where do the ZIP coordinates come from?
The free Zippopotam.us database — place name, state and centroid per ZIP.
What if a ZIP is not found?
You will get a clear error — check the digits; only valid 5-digit US ZIP codes work.
What is the 'M' pin?
The great-circle midpoint — the point exactly halfway along the shortest path between the two ZIPs.
How accurate is this distance?
The geometric calculation is suitable for planning and comparison, but the answer is only as accurate as the coordinates you provide. Road, terrain and legal distances can differ.
What exactly is a ZIP centroid?
The representative point published for that ZIP code — roughly its populated centre. Distances are measured between centroids, which is why the tool calls its results area-to-area rather than door-to-door.
Why is my ZIP not found?
ZIPs are added, split and retired by USPS over time, and a few are non-geographic (PO-box or single-organisation codes). Try the neighbouring residential ZIP; the dataset covers standard geographic codes.
What is the 'M' pin on the map?
The midpoint of the two centroids — the same halfway calculation as the dedicated midpoint tools, drawn so you can see where 'halfway between the ZIPs' actually falls.
Can I use ZIP+4?
Enter the 5-digit base ZIP. The +4 extension refines delivery within the same area and does not change an area-to-area distance.
How accurate is it for rural ZIPs?
Rural ZIPs can span many miles, so a centroid distance can differ from any specific address pair inside them by that much. For exact addresses, measure the two points in Distance Between Two Places.
Does it work for Canadian postal codes or UK postcodes?
No — this tool is US ZIPs only. The UK equivalent is the UK Postcode Distance Calculator, built on postcodes.io data.
Is this road distance?
No — straight-line between centroids, the consistent screening measure. Road figures for the winning pair belong in the Driving Distance Calculator.
Related tools and resources
The UK cousin is the UK Postcode Distance Calculator; list every ZIP inside a range with ZIP Codes Within a Radius; and measure exact addresses instead of centroids in Distance Between Two Places.
More free tools
Sources, methodology & editorial trust
- ✓ Browser-first processing where supported
- ✓ External sources are documented
- ✓ No account required for public tools
- ✓ Review data sources
Calculations are documented with their assumptions, limitations and source context rather than presented as unexplained answers.
Reviewed and maintained by Aryan Khan, Founder & Editor of MapBench.
Part of our distance calculators hub
Distance Between ZIP Codes sits in the distance calculators cluster, alongside 28 other tools that answer neighbouring questions with different methods or datasets.
You may also need
When this answer is only part of the job, these clusters cover the next step.
Read the guide behind this tool
Distance Calculation: Haversine, Geodesics & When It Matters — Why flat map arithmetic fails over large distances, what the haversine formula does, and when a full ellipsoidal geodesic is the better choice.