We're proud to offer a simple, accurate and up-to-date database of US Zip Codes. It's been built from the ground up using authoritative sources including the U.S. Postal Service, U.S. Census Bureau, and National Weather Service. It is:
Databases | Free | Pro |
|---|---|---|
| Commercial use | Allowed | Allowed |
| File format | CSV | CSV, Excel |
| Attribution | Backlink required | Not necessary |
| Fast email support | Not available | Included |
| Updates | Not guaranteed | Included for 3 years |
| Redistribution | Restricted | Restricted |
| Refund policy | N/A | 30-day guarantee |
| One-time fee | None | $49 |
| Buy Now! |
Here is a sample of rows from the database with some commonly used fields:
zip |
The 5-digit zip code assigned by the U.S. Post Office. |
lat |
The latitude of the zip code (learn more). |
lng |
The longitude of the zip code (learn more). |
city |
The official USPS city name. |
state |
The official USPS state. |
zcta |
TRUE if the zip code is a Zip Code Tabulation area (learn more). |
parent_zcta |
TRUE if the zip code is inside of a Zip Code Tabulation area (learn more). |
county_fips |
The primary county that contains the zip code in the FIPS format. |
county_name |
The name of the county_fips. |
county_weight |
The percentage of the zip code that is within the county (by population). |
all_county_weights |
A JSON dictionary listing all counties and weights associated with the zip code. |
imprecise |
TRUE if the lat/lng has been geolocated using the city (very rare). |
military |
TRUE if the zip code is used by the US Military (lat/lng not available). |
What is a ZCTA (Zip Code Tabulation Area)?
US ZIP codes were created by the USPS for mail delivery. This means that they don't always cover a continuous geographical area. What's convenient for delivery purposes (e.g. delivering on one side of the street except for large businesses) doesn't always lend itself to mapping or statistics. Since zip codes are often used for these purposes, the US Census Bureau calculates the approximate boundaries of zip code areas. These areas are called Zip Code Tabulation Areas.
Are all zip codes ZCTAs (Zip Code Tabulation Areas)?
No. Some zip codes are for PO boxes only, unique to an organization, or used by the military. Such zip codes are not areas and therefore are not represented by ZCTAs. When possible, our database uses parent_zcta to let you know if a zip code resides within an established ZCTA. This allows you to use the ZCTA as a proxy for additional information.
How are latitude and longitude calculated?
We've used GIS software to calculate the centroid for every ZIP code categorized as a ZCTA. A centroid is the average position of all of the points in a shape. This is best way to convert an area into a point. For zip codes that represent discrete points, we've used authoritative sources such as the National Weather Service to geocode them into latitude and longitude.
Why doesn't latitude and longitude exist for some zip codes?
Some zip codes, such as those used the military, do not represent a discrete point or a ZCTA area. In these cases, it's not possible to convert a zip code to a geographical point.
Am I allowed to redistribute the database?
No. You are not allowed to sell the database or make it publicly available. However, you can make copies and backups of the data. You are also allowed to query the database to power publicly facing applications such as a store locator.
How often do you release updates?
It depends. We frequently monitor the USPS for updates to zip codes. If there are any changes, we will release a new version.
Why should I trust this data?
This database was aggregated from authoritative sources and carefully processed by SimpleMaps. We've been developing and selling interactive maps to Fortune 500 companies and prominent international organizations for over 6 years. Over this time, we've learned a lot about geographic data. To get a sense of the expertise and support we offer, check out some of the testimonials from our happy customers.
If I use the free database, what type of attribution is required?
If you use the free database, you must link back to this page:
http://simplemaps.com/data/us-zips
from a public webpage where you are using the data. If you want to use the data internally, you must link back to this page from your firm's website on a page that can be easily found though links on the root domain. The link must be clearly visible to the human eye.
Why do other databases contain more zip codes?
Unlike other databases, we only include one entry per zip code and we only include active USPS zip codes and ZCTAs. Our goal is to create an accurate database that is easy to use, not artificially inflate the size of our database.
How do I calculate the distance between two zip codes?
We've published free formulas in popular programming languages. Check them out.
Home | License | Privacy | Releases | Testimonials | Resources | Documentation | Order Lookup | All Maps
Formerly FlashUSAmap.com and FlashWorldMap.com
© SimpleMaps.com 2010-2018