Find Your Postcode in the United Kingdom
A UK postcode narrows an address down to a handful of front doors, which is why it does so much work in forms and at checkouts. Press the button and your position becomes the postcode covering that spot, with the town so you can check it looks right.
Your location is only used to find your postcode.
Postcode
SW1A 1AA
United Kingdom

The Postcode Format
Format
An outward code and an inward code separated by a space (SW1A 1AA)
Example
SW1A 1AA
A UK postcode is two halves separated by a space. The half before the space is the outward code, between two and four characters long, and the half after it is the inward code, always exactly three: one digit followed by two letters.
SW1A 1AA is the worked example almost everyone has seen. SW1A is the outward code and 1AA is the inward code. Taken apart further, SW is the postcode area, SW1 is the district, SW1A 1 is the sector, and the final AA is the unit.
The space is part of the format, not decoration, and it is the single most common thing a form gets wrong. So is case: postcodes are written in capitals. A system that stores SW1A1AA or sw1a 1aa has stored something that still identifies the right place but no longer matches the official form, which matters the moment the value is compared against another system.
What Each Part of a Postcode Means
Read left to right, each part of a United Kingdom postcode narrows the destination down.
| Part | Identifies | What it means |
|---|---|---|
| Area | The leading letters | One or two letters standing for a postal area, usually taken from a town or city name โ SW for south-west London, PO for Portsmouth, EH for Edinburgh. |
| District | Area plus digits | The area followed by one or two characters, as in SW1 or PO15. This is the level most people recognise as naming a part of a town. |
| Outward code | Everything before the space | The whole first half. It gets an item to the delivery office responsible for that district. |
| Sector | District plus one digit | The district plus the first character of the inward code, as in SW1A 1. A sector is roughly the round a delivery office divides its work into. |
| Unit | The final two letters | The finest level. A unit postcode typically covers a short run of addresses on one street, and sometimes a single large building. |
How postcodes work in the United Kingdom
The UK system was built outward from sorting offices rather than drawn on a map, and that explains most of its behaviour. Postcodes were rolled out nationally over roughly fifteen years from the late 1950s, finishing in the mid-1970s, replacing an older scheme of postal districts that only covered the largest cities.
Each step of the code hands an item to a smaller group of people. The area gets it to a region. The district gets it to the delivery office that serves that district. The sector splits that officeโs work into rounds. The unit, the last two letters, picks out the short run of addresses a postman walks past together. Because the unit is so fine, a UK postcode plus a house number is usually enough to identify an address on its own, which is why address lookup in this country works the way it does and why so many forms ask for the postcode first.
The letters are mnemonic rather than systematic. SW really does mean south-west London and EH really is Edinburgh, but there is no rule that lets you work out an unfamiliar area from its letters, and the areas do not nest inside counties. A postcode area can straddle a county boundary, and plenty do, because the sorting office it was built around serves both sides.
A number of codes are not geography at all. Some belong to a single organisation that receives enough post to need its own, so the code names the recipient rather than a place. Others exist for non-geographic purposes such as the forces post office system, which routes mail to service personnel wherever they are stationed rather than to a street in the UK.
Units are also not permanent. Royal Mail creates them when new housing is built and retires them when delivery is reorganised, so a postcode that was correct for an address some years ago may no longer exist. The address is always the authority; the code is how the post office files it.
Why the UK postcode is unusually precise
Most countriesโ postal codes name a town, a district or a delivery area holding thousands of addresses. The UK unit postcode usually covers something closer to fifteen addresses, and that single fact shapes how British software is built.
It is why "enter your postcode and house number" is the normal way to fill in an address here, while in most of the world you type the street. It is why utilities, insurers and broadband providers can quote you a price from a postcode alone. And it is why a postcode is treated as semi-personal information in a way a five-digit code covering a whole town is not โ on its own it narrows you down to a short row of houses.
That precision cuts both ways for a location lookup. A GPS fix that is out by fifty metres is comfortably inside the margin of error of a code covering a whole suburb; it can easily be the wrong answer for a code covering one side of one street.
Postcode, zip code and the forms that confuse them
A great many checkouts are built for US addresses first and ask for a "ZIP code". For a UK address the answer is your postcode, written in full with its space, and nothing is lost by putting it in a field with an American label.
The trouble starts when the form validates the field as five digits. Some sites will reject SW1A 1AA outright, and the usual workarounds โ removing the space, or typing the numeric part only โ produce a record that the carrier cannot deliver against. If a form will not accept a real postcode, the honest fix is to find a different route to the same purchase rather than to invent a value that fits the box.
Going the other way, a UK form that asks for a postcode and is given a US ZIP will usually fail validation for the opposite reason. Neither system is wrong; they were designed for different postal networks and never intended to interchange.
Where a lookup and Royal Mail can disagree
This tool answers one question: which postcode covers the point your device reported? Royal Mail answers a different one: which postcode does it use for this address? Those usually agree and sometimes do not.
The commonest cause is simply precision. Your device works out where it is from satellites, Wi-Fi and mobile signals, and that estimate is less certain indoors, between tall buildings, or in dense terraced streets. With unit postcodes as small as they are in the UK, a modest error is enough to land in the one next door.
Boundaries are the other cause. A unit follows the delivery round, not the street layout, so the code can change halfway along a road or differ between the two sides of it. For a quick form field or a sanity check, a lookup is fast and usually right. For a legal document, an insurance application or anything where the wrong code costs you, confirm the address with Royal Mailโs own postcode finder.
Frequently Asked Questions
Can I find a postcode from an address here?
No. This site works only from your current position: your device reports where it is, and that point becomes the postcode covering it. There is no address database behind it. To search from an address, use Royal Mailโs own postcode finder.
Does the space in a postcode matter?
Yes, for correctness. The official format is an outward code, a space, then a three-character inward code. Most systems will cope without the space, but the version with it is the one that matches Royal Mailโs records, so it is the one worth storing.
How many addresses does one postcode cover?
Usually a short run of them on one street, which is far finer than the postal codes most countries use. Some units cover a single large building or one organisation, and some rural units cover rather more ground than a town unit would.
Why does a form ask for my ZIP code?
Because it was built for US addresses. Enter your UK postcode in full, including the space. If the field rejects it because it expects five digits, the form cannot handle a UK address properly and inventing a value that fits will only produce an undeliverable record.
Do postcodes line up with counties or councils?
Not reliably. Postcode areas were built around sorting offices, so they can cross county and council boundaries. Anything that needs an administrative area should be derived from the address, not from the postcode.
Is a postcode personal information?
It is more identifying here than in most countries, because a unit postcode narrows an address to a handful of homes. That is worth bearing in mind when a site asks for one alongside other details. This site does not store your position or the result it returns to you.
Keep Reading
- Postcode guides for United Kingdom
- What we do with your location
- Limits of a location-based lookup
- Postcode lookup for Australia
- Post Code lookup for Bangladesh
- Postal Code lookup for Canada
- PIN Code lookup for India
- Eircode lookup for Ireland
- Postal Code lookup for Kenya
- Poskod lookup for Malaysia
- Postcode lookup for New Zealand
- Digital Postcode lookup for Nigeria
- Postal Code lookup for Pakistan
- ZIP Code lookup for Philippines
- Postal Code lookup for Singapore
- Postal Code lookup for South Africa
- Postal Code lookup for Sri Lanka
- ZIP Code lookup for United States