Skip to main content

UK Postcodes: The Alphanumeric System Explained

UK postcodes use an alphanumeric format like SW1A 1AA that encodes region, district, sector, and delivery point.

## The UK Postcode Format

British postcodes follow an alphanumeric pattern split into two parts — the **outward code** (before the space) identifies the area and district, while the **inward code** (after the space) identifies the sector and delivery point.

## Structure Breakdown

| Component | Format | Example (SW1A 1AA) |
|-----------|--------|--------------------|
| Postcode area | 1-2 letters | SW (South West London) |
| Postcode district | 1-2 digits (+ optional letter) | 1A |
| Postcode sector | 1 digit | 1 |
| Postcode unit | 2 letters | AA |

The Royal Mail manages approximately **1.8 million postcodes** across the United Kingdom, organized into 124 postcode areas.

## Format Variations

UK postcodes come in six format patterns:

- A9 9AA (e.g., M1 1AA — Manchester)
- A9A 9AA (e.g., W1A 1HQ — BBC Broadcasting House)
- A99 9AA (e.g., M60 1NW — Manchester)
- AA9 9AA (e.g., CR2 6XH — Croydon)
- AA9A 9AA (e.g., SW1A 1AA — Buckingham Palace)
- AA99 9AA (e.g., EC1A 1BB — London)

## How Postcodes Differ from ZIP Codes

| Feature | UK Postcode | US ZIP Code |
|---------|-------------|-------------|
| Format | Alphanumeric | Numeric only |
| Precision | ~15 addresses | ~1,000-10,000 addresses |
| Length | 5-7 characters | 5 digits (or 9 with +4) |
| Authority | Royal Mail | USPS |
| Count | ~1.8 million | ~41,700 |

UK postcodes are far more granular — a single postcode typically covers about 15 addresses, compared to thousands for a US ZIP code.

## Famous UK Postcodes

- **SW1A 1AA** — Buckingham Palace
- **SW1A 2AA** — Houses of Parliament
- **W1A 1AB** — BBC, London
- **EH99 1SP** — Scottish Parliament
- **GIR 0AA** — The only non-geographic code (National Girobank, now retired)

Key Terms

Related Tools

Related Stories

Frequently Asked Questions

Where can I learn more about postal code systems?
ZipFYI's Stories section features in-depth articles about postal code systems worldwide, their history, how they work, and why they matter. Topics range from the origins of ZIP codes to how modern postal systems handle millions of packages daily.
How do postal code systems evolve over time?
Postal code systems evolve to accommodate population growth, urbanization, and changes in mail volume. New codes are created when areas develop, codes may be reassigned when delivery routes change, and entire systems can be reformed (as Ireland did with Eircode in 2015).
Why are postal codes important for businesses?
Businesses use postal codes for shipping and logistics, sales tax calculation, market analysis, customer demographics, delivery zone determination, insurance underwriting, and compliance with regulations. Accurate postal codes reduce delivery failures and improve customer experience.
How do postal codes relate to demographics?
In the US, the Census Bureau links demographic data to ZIP Code Tabulation Areas (ZCTAs). This enables analysis of population, income, education, housing, and commute patterns at the postal code level. Marketers, researchers, and policy makers rely on this data extensively.
What is geocoding and how does it relate to postal codes?
Geocoding converts addresses and postal codes into geographic coordinates (latitude/longitude). It enables mapping, distance calculations, delivery routing, and spatial analysis. Postal codes serve as a common input for geocoding services because they provide approximate location data.