Distance between two ZIP codes or postcodes
Choose two ZIP codes, postcodes or places in the same country. You get the straight-line distance in miles and in kilometres, and both points on a map. Free, with no sign-up, and what you type stays in your browser.
You can also click the map to set point A, then point B. A third click starts again at A. The line on the map is a plain line between the two points; the distance is measured over the surface of the Earth. Postcode data: GeoNames (CC BY 4.0). Map data © OpenStreetMap contributors.
Distance
| From (A) | |
|---|---|
| To (B) | |
| Miles | |
| Kilometres |
This is the straight-line (as the crow flies) distance between the centre points of the two areas. It is not the driving distance. See delivery zones by drive time if you need an area defined by the road.
How to find the distance between two ZIP codes
- Choose the country. Both points must be in the same country. The list has about 120 countries.
- Type the first ZIP code, postcode or place name in From and pick a match from the list. Do the same in To. You can also click the map to set the points.
- Press Measure distance. The distance is shown in miles and in kilometres, and the map zooms to fit both points.
Change either point and the distance is worked out again.
How the distance is measured
The distance is a straight line over the surface of the Earth, from the centre point of the first area to the centre point of the second (as the crow flies, also called the great-circle distance). It is not driving distance. The road between two places is almost always longer than the straight line, and it can be much longer across a river, a bay or a mountain range. For an area defined by travel time, see delivery zones by drive time.
Each ZIP code or postcode is one point, the centre of its area. Two addresses in the same ZIP code give a distance of 0, and a large rural area can reach well beyond its centre point.
What this is useful for
- Checking how far a customer is from your shop before you quote delivery or a travel fee. The delivery fee calculator does the same for a whole area.
- Working out how far apart two branches, depots or events are.
- Seeing whether two ZIP codes fall inside the radius you serve. The radius map draws the circle.
- Comparing shipping zones, which are often counted in distance bands.
Where the data comes from
The postcode centre points come from the GeoNames postal code files (licence: Creative Commons Attribution 4.0), downloaded on 15 November 2026. They cover about 120 countries. For the United States these are ZIP codes. For the United Kingdom and Canada they are the first part of the postcode (the district, such as SW1A, or the first three characters, such as M5V). For Australia and New Zealand they are postcodes. Other countries use the codes as published by GeoNames, and some only partly. For many postcodes GeoNames estimates the position, so treat distances as close approximations, not survey measurements. The map is drawn from OpenStreetMap data by our own tile server.
Questions
Is this the driving distance?
No. It is the straight-line distance. Driving distance needs a road network and depends on the route. If you need “everything within 20 minutes by car”, that is a drive-time area: see delivery zones by drive time.
Why does it only work inside one country?
The postcode files are separate for each country, and the same code can mean different places in different countries. Choose the country first. To measure across a border, click each point on the map.
Can I search for a street address?
No. This tool finds ZIP codes, postcodes and place names. It does no street-address lookup. Checking a customer’s full address against your area is what the website checker above does.
Does it cost anything, and is what I type stored?
It is free and needs no account. The postcode files and the calculation run in your browser, so what you type is not sent to us, and the page sets no cookies. Your browser does load map tiles from our tile server, which sees the part of the map you look at but not what you type.
Why is the distance 0 for two different codes?
Some countries publish one point for several codes, or for a whole town. Then the two codes share the same centre point and the distance is 0.