How do UK postcodes work?
UK postcodes are short codes of letters and numbers, such as SW1A 1AA, that identify small groups of addresses. Each postcode has two parts: an outward code for the area and district, and an inward code for a small group of addresses.
Postcodes were first tested in Norwich in 1959 and were introduced across the whole country by 1974. They help Royal Mail sort and deliver post quickly.
The outward code
The first part, the outward code, begins with one or two letters showing the postcode area, usually based on a major town or city. For example, B stands for Birmingham, M for Manchester and LS for Leeds.
London postcodes use compass points, such as N, E, SW and W, along with EC for the City and WC for the West End.
The letters are followed by one or two numbers, and sometimes a letter, showing the district.
The inward code
The second part always has a number followed by two letters. It narrows the location down to a street, part of a street or even a single large building.
On average, a postcode covers around 15 addresses.
Famous postcodes
Buckingham Palace has the postcode SW1A 1AA.
Other uses
Postcodes are used for satellite navigation, finding nearby services, calculating insurance prices and planning deliveries.
The phrase postcode lottery is used when services or opportunities differ greatly depending on where people live.
There are around 1.8 million postcodes in the UK.