Postcodes

    Postcode Structure Explained

    Learn how postcodes are built: hierarchical parts that narrow from a region to a street, and how numeric and letter formats differ.

    Updated 14 October 2026 · 3 min read

    Most postcodes are built like a funnel. The first characters point to a large region, and each additional character or group narrows the area until it covers only a small number of delivery points.

    The hierarchy idea

    A well-designed code is hierarchical. Reading from left to right you typically get:

    • a broad region, such as a province, state or large city area
    • a smaller area, such as a district or sorting zone
    • a delivery zone, such as a group of streets or a single street section
    • in some systems, a specific building or delivery point

    The details differ from country to country, but the principle of broad-to-narrow is common. It lets sorting equipment make a rough decision from the first characters and refine it later.

    One block or two

    Some systems use a single unbroken run of digits. Others split the code into two parts, often separated by a space or hyphen. In two-part systems the first block handles routing between centres, and the second handles local delivery. See outward and inward codes explained for this style.

    Characters used

    Codes may be digits only, or may mix letters and digits. Digits-only formats are simple to type on any keyboard. Alphanumeric formats can encode more detail in fewer characters. The trade-offs are covered in numeric vs alphanumeric postcodes.

    Fixed or variable length

    Many countries use a fixed length, which makes validation easy. Others allow different lengths depending on the area. A form that assumes one length for every country will reject valid codes, which is why postcode formats in online forms deserve care.

    Optional extensions

    Some national systems allow an extra group after the basic code to add precision, a concept explained in ZIP+4 and extended postal codes.

    Not a coordinate

    Even though a code narrows an area, it is not a map position. A postcode names a delivery zone defined by the postal operator; it does not give latitude and longitude. See postcode vs address vs coordinates.

    For comparison, a UPCS code has its own structure: a two-letter country prefix followed by two blocks, for example PK-1A2B-3C4D, which refers to a 3 m by 3 m cell. It is a separate system and complements the official postcode.

    Frequently asked questions

    Do all postcodes have the same structure?

    No. Each country designs its own format, so length, characters and punctuation vary widely.

    Do the characters in a postcode have meaning?

    Usually yes. In most systems each position or group narrows the area, from a broad region to a small delivery zone.