How to build US shipping zones using zip code prefixes

US zip codes roughly run east to west by first digit, so you can group customers into regions with prefixes like 941** or ranges like 90001-96162, then add one rate per regional zone and test the border codes.
US zip codes are numbered roughly from east to west. That means the first digits of a code are a quick way to group customers into regions without listing thousands of codes.
The first digit, in rough terms
| First digit | General area |
|---|---|
| 0 | Northeast |
| 1 | New York, Pennsylvania, Delaware |
| 2 and 3 | Mid-Atlantic and Southeast |
| 4 and 5 | Great Lakes and upper Midwest |
| 6 and 7 | Central and south-central |
| 8 | Mountain states |
| 9 | Pacific coast |
This is a general guide only. Boundaries do not follow state lines exactly, so always test the codes that matter to you.
Two ways to match
- Prefix:
941**matches codes starting with 941. - Range:
90001-96162matches every code in that range.
Build regional zones
- Decide how many zones you need. Three to five is usually enough.
- Create a zone for each region, such as "East", "Central" and "West".
- Add the prefixes or ranges for each region.
- Add a rate per zone based on your carrier cost.
- Test codes near each border.
Exact prefixes and ranges are easy to check in the Test-a-zip checker. Try ten codes you know before you go live.
Learn more in our matching guide, or add weight tiers with this tutorial. You can start on the free plan from the Shopify App Store.
Frequently asked questions
How many zones should a US store have?
Three to five regional zones is usually enough to start.
What does 941** mean?
It matches every zip code that starts with 941.
Are zip code regions exact?
No. They roughly follow geography, so always test codes near borders.
We believe human support is best. Our team helps on every plan, including Free and Shopify Basic.
Set up zip-code shipping in minutes
Start on the free plan. Add zones, test any zip code, and go live when you are ready.
Install free on Shopify
