Distance Between Two ZIP Codes
By Marko Visic · Updated Oct 7, 2026
Enter two US ZIP codes, click the map, or use GPS to calculate the distance. Shows miles, km, ZIP boundaries, population data, and estimated driving distance.
How to use the ZIP code distance calculator
What is the distance between two ZIP codes?
The distance between two ZIP codes is the straight-line (great-circle) distance between their geometric centroids. For the 33,782 ZIPs with a Census ZIP Code Tabulation Area (ZCTA), that coordinate is the geometric center of the ZCTA polygon defined by the US Census Bureau; the remaining USPS ZIPs (PO box, single-building, military) use the post-office point.
This is not driving distance. Straight-line distance is the shortest possible path between two points on Earth's surface. Driving distance is always longer — typically 1.2× to 1.5× the straight-line value — because roads curve, detour around terrain, and follow grid patterns.
Popular ZIP code distances
The table below shows straight-line distances between popular US ZIP code pairs. These are as-the-crow-flies distances — driving distances will be 20-50% longer.
| From ZIP | City | To ZIP | City | Distance |
|---|---|---|---|---|
| 10001 | New York, NY | 90001 | Los Angeles, CA | 2,448 mi |
| 60601 | Chicago, IL | 77002 | Houston, TX | 943 mi |
| 02108 | Boston, MA | 10001 | New York, NY | 188 mi |
| 33130 | Miami, FL | 30303 | Atlanta, GA | 606 mi |
| 75201 | Dallas, TX | 77002 | Houston, TX | 226 mi |
| 98101 | Seattle, WA | 97201 | Portland, OR | 146 mi |
| 80202 | Denver, CO | 85004 | Phoenix, AZ | 586 mi |
| 94102 | San Francisco, CA | 90001 | Los Angeles, CA | 352 mi |
| 20001 | Washington, DC | 10001 | New York, NY | 205 mi |
| 19103 | Philadelphia, PA | 10001 | New York, NY | 83 mi |
What people use ZIP code distance for
Shipping zone estimation
Carriers like USPS, UPS, and FedEx divide the US into shipping zones based on ZIP-to-ZIP distance. Zone 1 covers your local area (0-50 miles), Zone 8 spans coast-to-coast (1,800+ miles). This tool helps estimate which zone a package will fall into before you get a formal quote.
Relocation planning
When considering a move, the distance between your current ZIP and potential new locations helps you gauge moving costs, commute feasibility, and proximity to family. The population and county comparison shows how the two areas differ in size and demographics.
Service area and territory definition
Businesses use ZIP-to-ZIP distance to define delivery boundaries, sales territories, and service areas. Insurance companies use it for provider network adequacy analysis — ensuring patients can reach an in-network provider within a specified distance.
Direct mail and marketing campaigns
Marketers calculate distances between store locations and customer ZIP codes to target mailers efficiently. Combine this tool with Find ZIP Codes in Radius for bulk targeting or Population Within Radius for market sizing.
Military and government logistics
Government agencies use ZIP code distances for reimbursement calculations, determining duty station proximity, and planning supply chain logistics. The Department of Defense uses ZIP-based distance for PCS (Permanent Change of Station) move allowances.
Real estate market comparison
Compare two neighborhoods by ZIP code — see not just distance but also population, county, and state. Useful for understanding how similar or different two areas are when evaluating property values, school districts, or tax jurisdictions.
This tool vs. Google Maps
| Feature | SimpleMapLab | Google Maps |
|---|---|---|
| Method | Haversine great-circle (straight-line) | Turn-by-turn driving route |
| Input | ZIP codes | Addresses or place names |
| Result type | Distance + demographics + boundaries | Distance + directions + traffic |
| Coverage | 41,545 US ZIPs | Worldwide |
| Speed | Instant (server lookup) | 1-3 seconds (API call) |
| Sign-up | None | Google account |
| ZIP boundaries | Yes (ZCTA polygons on map) | No |
| Population data | Yes (Census ACS) | No |
How the distance is calculated
This tool uses the Haversine great-circle formula — the standard method for computing the shortest distance between two points on a sphere:
d = 2R × arcsin(√(sin²(Δlat/2) + cos(lat₁) × cos(lat₂) × sin²(Δlng/2)))Where R = 3,958.8 miles (Earth's mean radius), lat/lng are in radians.
The formula assumes a spherical Earth. Compared with the ellipsoidal (WGS84) distance, the haversine result is typically within about 0.5%. The estimated driving distance multiplies the result by 1.3 — a well-established approximation used in logistics planning.
For more accurate driving analysis, use our Drive Time Map, which follows actual road networks with the Valhalla routing engine.
Related tools
- Distance Between Cities — search by city name instead of ZIP code
- Distance Between Two Places — worldwide distance calculator for any point on Earth
- Multi-Stop Route Distance — total mileage across up to 25 ZIP-code stops with optional best-order optimization for ZIP-route planning
- Find ZIP Codes in Radius — list all ZIPs within a distance with CSV export
- Drive Time Map — see actual drive time coverage area following real roads
- Population Within Radius — total population and demographics within any radius
- Halfway Between Two Places — find the midpoint for meeting in the middle
- What ZIP Code Am I In? — detect your current ZIP code by GPS
- Map Radius Tool — draw a radius circle on any map
Glossary
- ZIP code
- A 5-digit postal code assigned by the US Postal Service for mail delivery routing. ZIP stands for "Zone Improvement Plan," introduced in 1963.
- ZCTA
- ZIP Code Tabulation Area — a Census Bureau polygon that approximates a ZIP code's geographic footprint. Used for statistical reporting and mapping.
- Geometric centroid
- The geographic center of a ZIP Code Tabulation Area (ZCTA) polygon — the balancing point of its shape, not weighted by population. This is the coordinate used for each ZIP that has a Census ZCTA; non-geographic ZIPs (PO box, single-building, military) use the post-office point.
- Haversine formula
- A trigonometric formula for computing the shortest distance between two points on a sphere. Accounts for Earth's curvature, unlike flat-plane distance.
- Great-circle distance
- The shortest path between two points on a sphere, following the surface. This is the "as the crow flies" distance.
- Bearing
- The compass direction from one point to another, measured in degrees clockwise from true north (0° = N, 90° = E, 180° = S, 270° = W).
- Shipping zone
- A distance-based tier used by carriers (USPS, UPS, FedEx) to set shipping rates. Zones are typically defined by ZIP-to-ZIP distance ranges.
ZIP code data: SimpleMaps US Zip Codes Database v1.95.1 (8 Jul 2026), free version under CC BY 4.0. Population: American Community Survey 2024 5-year estimates. Coordinates are the geometric centroids of Census ZIP Code Tabulation Areas (2010 ZCTA boundaries). ZIP boundaries: 2010 Census ZCTA shapefiles via OpenDataDE. Map tiles: OpenFreeMap. Distance formula: Haversine great-circle on WGS84 (R = 3,958.8 mi).