Distance between ZIP codes

Straight-line miles between any two ZIPs, drawn as a flight path.

A
B

Paste ZIPs (commas, spaces or lines). Sorted nearest first, up to 1,000.

Two ZIPs, one line

  1. 1

    Pick A and B

    Type a ZIP or a city name in each box. A starts on your approximate ZIP so you can just fill in B.
  2. 2

    Read the distance

    Miles, kilometers and direction, plus flight time, walking time and the time difference between the two.
  3. 3

    Go bulk

    Paste a list of ZIPs to rank them all by distance from A, then copy or download a CSV.

The US is big

Straight-line distances between ZIP centers:

2,454 mi

10001 New York → 90210 Beverly Hills

2,731 mi

33101 Miami → 98101 Seattle

corner to corner

5,055 mi

04217 Maine → 96701 Hawaii

4.0 mi

10001 Manhattan → 11201 Brooklyn

one river apart

How ZIP distance is calculated

Every ZIP gets one point: the center of its Census ZIP Code Tabulation Area, or the town a PO Box ZIP serves. The distance is the great-circle distance between the two points on a round Earth (radius 3,958.8 miles), which is the shortest path a plane could fly.

  • Direction is the starting compass bearing from A toward B.
  • Flight time assumes 500 mph cruising, with no taxi or climb. Real gate-to-gate times run longer.
  • Everything runs in your browser from a static list of 41,637 ZIPs, so a pasted list never leaves your device.

Want every ZIP within a set distance instead? Draw it on the ZIP code radius map.

Questions people actually ask

How do I calculate the distance between two ZIP codes?

Type the first ZIP (or a city) in A and the second in B. The straight-line distance shows in miles and kilometers right away, with the compass direction, and the map draws the route as a flight path. Use the swap button to flip them.

Is this driving distance?

No, it’s the straight-line (as the crow flies) distance between the centers of the two ZIP areas. Driving is usually 15–40% longer, more in mountains or around water. For road directions, use a maps app.

Can I get distances for a list of ZIP codes?

Yes. Paste ZIPs into “From A to a whole list”, separated by commas, spaces or lines. You get each one’s distance from A, nearest first, and can copy or download it as a CSV. Up to 1,000 at a time.

How accurate is the ZIP code distance?

Distances use the center point of each Census ZIP area and the great-circle formula, so they are exact between those points. A large rural ZIP can be 20+ miles across, so the distance to a specific address inside it can differ.

How is the time difference worked out?

Each ZIP center is matched to its time zone, and the two current UTC offsets are compared, so daylight saving time is included where it applies.

Updated 2026-11-10 · Where the data comes from