TOOLTRIO
VERIFIED: JAN 2026

ZIP to State

Find the state name and abbreviation for any US ZIP code.

⚡ Optimized for USA Addresses🆓 Free & Fast🔒 No Data Stored
Popular:
🗺️

Full State Name + Abbrev

Returns both 2-letter USPS abbreviation and full state name instantly.

    📍

    Territory Identification

    Essential first step for sales tax, compliance, and territory management.

      100ms Response

      Lookups complete in under 100ms — perfect for real-time form auto-fill.

        50 + DC + 6 territories
        Total US states with ZIP codes
        Texas (~1,935)
        State with most ZIP codes
        Delaware (~58)
        State with fewest ZIP codes
        <20 (extremely rare)
        ZIP codes crossing state lines
        📊

        US States by Number of ZIP Codes (Top 8)

        More ZIP codes reflect larger area, higher population, or both

        Texas
        1,935 ZIPs
        California
        1,771 ZIPs
        New York
        1,595 ZIPs
        Pennsylvania
        1,548 ZIPs
        Ohio
        1,258 ZIPs
        Illinois
        1,218 ZIPs
        Michigan
        1,188 ZIPs
        Florida
        1,105 ZIPs

        ZIP to State — How US ZIP Codes Map to States and Territories

        Finding the state for a US ZIP code is one of the most fundamental postal data operations — critical for address form auto-fill, sales tax calculation, shipping rate determination, regulatory compliance, and data validation across virtually every industry that handles US addresses. Our ZIP to State tool returns the two-letter USPS state abbreviation and full state name for any 5-digit US ZIP code in milliseconds, covering all 50 states, Washington DC, and all inhabited US territories.

        How ZIP Codes Are Organized by State

        The first digit of a US ZIP code identifies a broad national delivery region, and the first three digits together identify a Sectional Center Facility (SCF) — a regional mail processing hub that handles all mail entering and leaving a multi-ZIP area. Because SCFs are built to serve geographic regions that often align with state boundaries, ZIP codes tend to cluster within specific numeric ranges by state.

        The 0xxxx range covers northeastern states: Connecticut (060–069), Maine (039–049), Massachusetts (010–027), New Hampshire (030–038), New Jersey (070–089), Rhode Island (028–029), Vermont (050–059), and parts of New York (100–149), plus Puerto Rico (006–009) and the US Virgin Islands (008). The 1xxxx–2xxxx range covers Mid-Atlantic states including New York (100–149), Pennsylvania (150–196), Delaware (197–199), Maryland (206–219), Virginia (220–246), West Virginia (247–268), and North Carolina (270–289). The 3xxxx range covers the Southeast: South Carolina (290–299), Georgia (300–319), Florida (320–349), Alabama (350–369), Tennessee (370–385), Mississippi (386–397). The 4xxxx range covers the Great Lakes states: Kentucky (400–427), Indiana (460–479), Michigan (480–499), Ohio (430–458). The 5xxxx range covers the Upper Midwest: Iowa (500–528), Minnesota (550–567), Wisconsin (530–549), South Dakota (570–577), North Dakota (580–588), Nebraska (680–693). The 6xxxx–7xxxx range covers South-Central states: Illinois (600–629), Missouri (630–658), Kansas (660–679), Arkansas (716–729), Oklahoma (730–749), Texas (750–799), Louisiana (700–714). The 8xxxx range covers the Mountain West: Colorado (800–816), Wyoming (820–831), Utah (840–847), Arizona (850–865), New Mexico (870–884), Nevada (889–898), Idaho (832–839), Montana (590–599). The 9xxxx range covers the Pacific region: California (900–961), Oregon (970–979), Washington (980–994), Alaska (995–999), Hawaii (967–968), and Pacific territories.

        Why You Cannot Reliably Determine State from the First Digit Alone

        While the first digit gives a regional clue, numerous exceptions prevent reliable single-digit state lookup. Puerto Rico (00600–00988) shares the 0 prefix with New England states. Military overseas mail (APO AE 090–098, APO AP 962–966, APO AA 340) uses ranges that overlap with civilian US ZIPs. And a small number of ZIP codes near state borders have been assigned to a neighboring state SCF for logistical efficiency, meaning their first digits suggest one state but their actual state is different. Always use a full ZIP database lookup for accurate state determination.

        ZIP to State for Form Validation and Auto-Fill

        The most widespread web development use of ZIP-to-state conversion is populating the state field automatically when a user enters their ZIP code. This reduces checkout friction, prevents state field typos, and ensures database consistency. Beyond the user experience benefit, auto-populated state data is more reliable than user-typed state names because users frequently abbreviate, misspell, or select the wrong option from a dropdown.

        For a robust implementation: fire the ZIP lookup after the 5th character is entered, return state abbreviation and full name in the response, update both the state field value and any hidden state_code input, and mark the field as programmatically set so your front-end validation layer knows not to re-flag it as empty. Allow user override — some edge-case ZIP codes genuinely serve addresses in two states.

        ZIP to State for Tax Calculation

        Sales tax in the United States is state-administered, and rates vary dramatically: from 0% in states with no sales tax (Oregon, Montana, New Hampshire, Delaware, Alaska at the state level) to over 10% when state plus local rates are combined in places like Louisiana, Tennessee, and Arkansas. Determining the correct state from the billing ZIP is the first step in any sales tax calculation workflow. After resolving the state, a tax service such as TaxJar, Avalara, or the Vertex platform applies the combined state + county + city + special district rate for the exact delivery address.

        Compliance and Regulatory Use Cases

        Many regulated industries have state-specific restrictions. Insurance products are licensed by state. Financial products are regulated at the state level. Healthcare marketing must comply with state-specific patient privacy laws that go beyond federal HIPAA minimums. In all these cases, the ZIP-to-state resolution is the first step in the compliance chain: identify the state, then apply the rule set for that state. ZIP codes that span two states (extremely rare, fewer than 20 documented cases nationally) require special handling — our tool flags these and returns both states.

        Storing ZIP Codes: VARCHAR vs INT

        A recurring data quality issue is the loss of leading zeros in ZIP codes stored as integers. ZIP code 02134 (Boston, MA) stored as an integer becomes 2134 — a ZIP that does not exist and fails all lookups. This error cascades: ZIP-to-state lookups return null, address validation fails, form auto-fill breaks, and records become unsegmentable by state. The fix is simple but requires discipline: always declare ZIP code columns as VARCHAR(5) or TEXT in databases, and format ZIP cells as Text in spreadsheets before entering data. In JavaScript, treat ZIP codes as strings from the moment they arrive — never run parseInt() on a ZIP code.

        Historical ZIP Code Geography and State Assignments

        USPS SCF boundaries were drawn in the early 1960s for operational efficiency, not to mirror state political boundaries precisely. Over 60 years, population shifts and postal route reorganizations have caused a small number of ZIP codes to be reassigned across SCFs — but the state-level assignment for the vast majority of ZIP codes has remained stable. The approximately 42,074 active US ZIP codes cover every inhabited corner of the continental US, Alaska, Hawaii, and US territories, with state assignments that reflect current USPS operational regions.

        Frequently Asked Questions

        Real questions from users — answered with detail and precision.

        ZIP 86044 returns Arizona — but my customer says they are in Utah. Who is right?
        ZIP 86044 serves the Navajo Nation reservation area, which spans parts of Arizona, Utah, and New Mexico. The USPS preferred state for 86044 is Arizona because the post office serving that route is in Arizona. However, some delivery points within that ZIP may physically be in Utah territory. For the Navajo Nation specifically, boundary overlaps are common. Trust the ZIP lookup for mailing purposes — USPS routes mail correctly using their internal assignments regardless of which state the physical land is in.
        I store ZIP codes as integers in MySQL and all my New England states are missing. What happened?
        Your leading zeros were stripped. ZIP codes for Connecticut (060xx), Maine (039xx-049xx), Massachusetts (010xx-027xx), New Hampshire (030xx-038xx), New Jersey (070xx-089xx), Rhode Island (028xx-029xx), and Vermont (050xx-059xx) all begin with 0. MySQL INT type silently drops it: '02134' → 2134, a 4-digit number that does not match any ZIP. Fix: ALTER TABLE addresses MODIFY zip VARCHAR(5); UPDATE addresses SET zip = LPAD(zip, 5, '0') WHERE LENGTH(zip) < 5; Then re-validate with the ZIP to State tool to confirm the restored ZIPs return the correct states.
        Does ZIP code range directly correspond to state? Can I determine state from the first 3 digits?
        Approximately yes, with important exceptions. Most states have predictable ZIP prefix ranges (California: 900-961, Texas: 750-799, New York: 100-149). But you cannot reliably determine state from prefix alone because: Puerto Rico (006-009) shares the 0xx prefix with New England. Military APO codes overlap civilian ranges. A small number of border ZIPs are served by SCFs in neighboring states. Always use a full ZIP-to-state database lookup — never parse the prefix as a state proxy in production.
        How many states have a single ZIP code prefix range versus multiple ranges?
        Most smaller states have a single contiguous prefix range. Exceptions include: New York (100-149 in downstate, 120-149 in upstate, plus 006-009 overlapping with Puerto Rico prefix in some NYC outer borough contexts). Texas has ZIPs in both 750-799 and additional ranges. Alaska has 995-999. Hawaii has 967-968. The cleanest way to build state → ZIP prefix mapping is using USPS official SCF (Sectional Center Facility) territory list, which defines which prefixes each processing center handles.
        My form auto-populates state from ZIP. A user in ZIP 38632 (Coldwater, MS) complains the state shows 'Tennessee' — why?
        This is a data source issue, not our tool. ZIP 38632 is definitively Mississippi (MS). If your state auto-fill shows Tennessee, you are using an incorrect or outdated ZIP database. The 386xx prefix range serves northwestern Mississippi. Tennessee ZIPs are in the 370xx-385xx range. Check your data source — it may have a corrupted or stale mapping. Our ZIP to State lookup correctly returns Mississippi for 38632.
        What are the ZIP codes for Washington DC and how do I distinguish them from Maryland and Virginia?
        DC ZIP codes are 20001-20099 (residential/business), 20200-20599 (federal agencies). Maryland ZIP codes start with 206-219. Northern Virginia ZIP codes start with 220-246. The clearest distinguisher: state abbreviation returned by the ZIP lookup. DC returns 'DC', Maryland returns 'MD', Virginia returns 'VA'. Geographically, DC ZIPs are in a compact area surrounded by MD and VA, so users near the border should always be verified by ZIP rather than assumed from city name.
        Can ZIP code lookup help me determine which state sales tax rate to charge?
        Yes — ZIP to State is the first step. State is required to look up the base state sales tax rate. However, sales tax in the US combines state + county + city + special district rates — the ZIP alone is insufficient for the complete rate. After getting state from ZIP, get county (FIPS code) from our ZIP to County tool, then pass ZIP + FIPS to a tax calculation API (TaxJar, Avalara, Vertex). For states with no sales tax (Oregon, Montana, New Hampshire, Delaware, Alaska statewide), the ZIP to State lookup lets you immediately identify those customers.
        Does ZIP to State work for military APO/FPO addresses?
        Military ZIP codes return a military postal region designation, not a US state. APO AE (090xx-098xx) returns 'Armed Forces Europe'. APO AP (962xx-966xx) returns 'Armed Forces Pacific'. APO AA (340xx) returns 'Armed Forces Americas'. The 2-letter codes are AE, AP, AA respectively. These are not US states — use them in your state field but handle them specially in tax, shipping, and compliance workflows since different rules apply.
        I am building a geofencing app that triggers alerts when a user enters a new state. Can ZIP-to-state help?
        ZIP-to-state is useful for coarse state detection but not for precise real-time geofencing. For geofencing apps, use GPS coordinates combined with state boundary polygon data (Census TIGER/Line state shapefiles). ZIP-to-state is better for: validating that a form address matches the expected state, segmenting a customer database by state, and applying state-specific rules to records in batch processing.
        What is the state code for Puerto Rico and US territories in USPS and Census data?
        Puerto Rico: PR (ZIP prefix 006-009). US Virgin Islands: VI (008xx). Guam: GU (969xx). American Samoa: AS (96799). Northern Mariana Islands: MP (969xx). These are US territories — they use USPS mail service and US state abbreviation codes, but they are not US states and have different tax, legal, and regulatory frameworks. Handle them as special cases in any state-based compliance or rate calculation logic.
        Why would I get different state results for the same ZIP from two different data providers?
        Possible reasons: (1) One provider has stale data — a ZIP that was reassigned to a different SCF and effectively 'moved' states in a USPS update. (2) Cross-state ZIPs — the rare ZIPs serving addresses in two states may be assigned differently by different providers. (3) Data entry error in one provider database. When results conflict, the USPS AMS is the authoritative source. Our tool syncs with USPS quarterly releases.
        Is the ZIP to State tool on TOOLTRIO free?
        Yes — completely free, no account required. TOOLTRIO (Tool Trio / ToolTrio / Trio Tools) at tooltrio.com provides ZIP to State as part of 35+ free ZIP code tools.
        🧰

        TOOLTRIO — Free ZIP Code Tool Suite

        TOOLTRIO (also searched as Tool Trio, ToolTrio, Trio Tools) is a free suite of 35+ US ZIP code tools. No signup, no rate limits. Every tool is free forever on tooltrio.com.