US ZIP Code Statistics: 40,977 Codes Measured
40,977 ZIP codes, 911 prefixes, 3,147 counties: computed US postal statistics — state extremes, prefixes that cross state lines, most duplicated town names.
By VincentPublished August 23, 2026Last updated August 23, 20269 min read

Most ZIP code trivia online is copied from other trivia. This page is different in one specific way: every number below is computed directly from the GeoNames US postal dataset [geonames], the same CC BY 4.0 file that drives the state pages and the random address generator on this site. That means each figure has a denominator you can check and a computation you can rerun — and when two figures on this site use different denominators, this page says so.
The headline numbers
| Measure | Count |
|---|---|
| Five-digit ZIP codes | 40,977 |
| Three-digit prefixes | 911 |
| Counties with at least one code | 3,147 |
| Distinct place names | 18,573 |
| Place names unique to one state | 14,554 (78%) |
| Prefixes that cross a state line | 5 |
One reconciliation up front, because two true numbers look like a contradiction. This page counts 911 prefixes across the 50 states and DC; other pages on this site cite 917 state-prefix pairs (a prefix serving three states counts three times) and 926 prefixes across the full file including territories and military codes. Same dataset, three denominators — the kind of footnote a statistic needs if anyone is going to cite it.
State extremes: a 29-to-1 spread
| Rank | State | ZIP codes |
|---|---|---|
| 1 | Texas | 2,600 |
| 2 | California | 2,593 |
| 3 | Pennsylvania | 2,176 |
| 49 | Hawaii | 137 |
| 50 | Delaware | 96 |
| 51 | Rhode Island | 90 |
Texas edges out California by just seven codes, and Rhode Island holds the floor at 90 — a 29-to-1 spread between the extremes. Code count follows sorting territory rather than population, which is why the ordering only loosely tracks the census: Pennsylvania outranks Florida and New York despite having fewer people than either.
Density is a different league table. Massachusetts packs 48.9 codes into each of its 14 counties — the highest ratio among states — while South Dakota (5.8) and Georgia (6.1) sit at the bottom because they carry enormous county counts over modest code totals. The one true outlier is the District of Columbia: one county-equivalent, 277 codes. At the single-county level, Los Angeles County alone holds 508 codes — more than eleven entire states.
Five prefixes cross state lines
The first three digits of a ZIP code identify a sorting facility, and a sorting facility serves geography, not politics. In the 50 states and DC, exactly five prefixes serve more than one state:
| Prefix | States served |
|---|---|
| 063 | Connecticut, New York |
| 205 | DC, Maryland, Virginia |
| 726 | Arkansas, Missouri |
| 739 | Oklahoma, Texas |
| 834 | Idaho, Wyoming |
These five rows are the entire exception list to "the prefix implies the state" — which is precisely what makes them valuable as test fixtures. A prefix-to-state lookup table passes every test you write against the other 906 prefixes and then rejects a real address in the capital region, where 205 covers Washington, DC plus exactly one code each in Maryland and Virginia. Add the Massachusetts 055 anomaly — two IRS codes in Andover sitting inside Vermont's range — and you have the complete set of places where prefix arithmetic betrays you.
The boundary values: 00501 and 99950
The lowest assigned ZIP code is 00501 — not a town but an IRS processing facility in Holtsville, New York, a single-organization code with its own five digits. The highest is 99950 in Ketchikan, Alaska. Both boundaries matter to anyone generating test ZIP codes: 00000 and 99999 are unassigned and always will be, which makes them the canonical invalid values, while 00501 is the awkward real code that a range check starting at 01000 wrongly rejects.
Franklin, 27 times
| Place name | States |
|---|---|
| Franklin | 27 |
| Clinton | 26 |
| Madison | 26 |
| Washington | 26 (25 states + DC) |
| Chester | 24 |
| Greenville | 24 |
| Salem | 24 |
| Springfield | 24 |
Franklin tops the duplication table at 27 jurisdictions. Washington's 26 hide the dataset's best joke: the District files 271 codes under the name, 25 states have one too, and Washington state has none at all. Meanwhile 78% of the 18,573 distinct place names exist in exactly one state — so name collisions are concentrated in a short head of founder-era names, and any importer that resolves a bare city name to a state works fine right up until it meets one of these.
The first digit is a map
| First digit | Codes | Region anchor |
|---|---|---|
| 0 | 3,004 | New England, NJ |
| 1 | 4,423 | NY, PA |
| 2 | 4,556 | DC, VA, Carolinas |
| 3 | 4,552 | Southeast |
| 4 | 4,489 | Great Lakes |
| 5 | 4,145 | Upper Midwest |
| 6 | 4,099 | Central Plains |
| 7 | 4,715 | TX, South Central |
| 8 | 2,794 | Mountain West |
| 9 | 4,200 | West Coast, AK, HI |
ZIP codes ascend roughly east to west — 0 starts in New England, 9 ends in the Pacific [pub28]. The digit-8 Mountain West block is the thinnest at 2,794 codes, and digit-7 the fattest at 4,715, mostly on the strength of Texas. This is also why 25 of the 51 jurisdictions can be validated as a single contiguous prefix range while the other 26, Illinois and Georgia among them, need a set.
Reproducing these numbers
Everything above comes from one pass over the GeoNames US postal file [geonames], filtered to the 50 states and DC, grouping on the code, prefix, state, county and place-name columns. The per-state breakdowns live on the individual state pages, each with its own chart; the aggregation method is documented on the methodology page, and the same data is queryable through the free API. County definitions follow the Census Bureau's state geography guides [census-geo]. If you cite a figure, cite the denominator with it — and if you rerun the computation on a newer GeoNames snapshot and get a slightly different count, that is the dataset moving, not the method.
References & sources
- GeoNames postal code dataset, US file (CC BY 4.0) — GeoNames
- Publication 28 — Postal Addressing Standards — USPS
- Guides to State and Local Census Geography — US Census Bureau
Frequently asked questions
How many ZIP codes are there in the US?+
It depends on what you count. The GeoNames postal dataset — the source for every figure on this page — lists 40,977 five-digit codes across the 50 states and DC. USPS's own totals differ because they include PO-box-only, military and unique single-organization codes that geographic datasets omit. Any count without a named source and date is not a statistic, it is a rumor.
Which state has the most ZIP codes?+
Texas, with 2,600 in the GeoNames dataset, narrowly ahead of California's 2,593 and Pennsylvania's 2,176. Rhode Island has the fewest at 90, below Delaware's 96 and Hawaii's 137. The ratio between the extremes is about 29 to 1.
Do ZIP code prefixes ever cross state lines?+
Yes — five of the 911 three-digit prefixes in the 50 states and DC serve more than one state: 063 (Connecticut and New York), 205 (DC, Maryland and Virginia), 726 (Arkansas and Missouri), 739 (Oklahoma and Texas) and 834 (Idaho and Wyoming). A validator that maps prefix to state as an absolute rule rejects real addresses in all five regions.
What are the lowest and highest ZIP codes?+
The lowest is 00501, an IRS facility in Holtsville, New York — a single-organization code, so the lowest residential-area codes start higher. The highest is 99950 in Ketchikan, Alaska. Neither 00000 nor 99999 is assigned, which makes both classic invalid-boundary test values.
What is the most common place name in US addresses?+
Franklin, which appears as a postal place name in 27 states — ahead of Clinton, Madison and Washington at 26 each. Of the 18,573 distinct place names in the dataset, 14,554 (78%) exist in exactly one state, which is why city-plus-state, never city alone, is the minimum key for resolving a US place.