All Topics  
UK postcodes

 

   Email Print
   Bookmark   Link






 

UK postcodes



 
 
UK
United Kingdom

The United Kingdom of Great Britain and Northern Ireland, commonly known as the United Kingdom , the UK or Britain,is a sovereign state located off the northwestern coast of continental Europe....
 postal code
Postal code

A postal code is a series of letters and/or numerical digits appended to a address for the purpose of sorting mail.Germany was the first country to introduce a postal code system, in 1941....
s are known as postcodes.

UK postcodes are alphanumeric
Alphanumeric

Alphanumeric is a portmanteau of alphabetic and numeric and is used to describe the collection of Latin alphabet and Arabic numerals used by much of western society....
. These codes were introduced by the Royal Mail
Royal Mail

Royal Mail is the national mail of the United Kingdom. Royal Mail Holdings plc owns Royal Mail Group Limited, which in turns operates the brands Royal Mail , Parcelforce and General Logistics Systems....
 over a 15-year period from 1959 to 1974 — the full list is now available electronically from the Royal Mail as the Postcode Address File
Postcode Address File

The Postcode Address File is a data file available from Royal Mail.Every house and business in the United Kingdom has been given a postal address by Royal Mail....
 (PAF). They have been widely adopted not just for their original purpose of automating the sorting of mail but for many other purposes such as insurance premium calculations and as a way to describe United Kingdom
United Kingdom

The United Kingdom of Great Britain and Northern Ireland, commonly known as the United Kingdom , the UK or Britain,is a sovereign state located off the northwestern coast of continental Europe....
 locations to route planning software
Route planning software

Route planning software is a computer software programme, designed to plan a route between two geographical locations using a Journey Planner, typically specialised for Road networks as a Route planner....
, and as the lowest level of aggregation in census
Census

A census is the procedure of systematically acquiring and recording information about the members of a given population. It is a regularly occurring and official count of a particular population....
 enumeration.

However, as the format of the codes does not achieve its objective of primarily identifying the main sorting office and sub-office they have been supplemented by a newer system of five-digit codes called Mailsort
Mailsort

Mailsort is a five-digit address-coding scheme used by the Royal Mail and its business customers for the automatic direction of mail. Mail users who can present mail sorted by Mailsort code and in quantities of 4,000 upwards receive a discounted postal rate....
 — but only for mailings of 'a minimum of 4,000 letter-sized items'.






Discussion
Ask a question about 'UK postcodes'
Start a new discussion about 'UK postcodes'
Answer questions from other users
Full Discussion Forum



Encyclopedia


UK
United Kingdom

The United Kingdom of Great Britain and Northern Ireland, commonly known as the United Kingdom , the UK or Britain,is a sovereign state located off the northwestern coast of continental Europe....
 postal code
Postal code

A postal code is a series of letters and/or numerical digits appended to a address for the purpose of sorting mail.Germany was the first country to introduce a postal code system, in 1941....
s are known as postcodes.

UK postcodes are alphanumeric
Alphanumeric

Alphanumeric is a portmanteau of alphabetic and numeric and is used to describe the collection of Latin alphabet and Arabic numerals used by much of western society....
. These codes were introduced by the Royal Mail
Royal Mail

Royal Mail is the national mail of the United Kingdom. Royal Mail Holdings plc owns Royal Mail Group Limited, which in turns operates the brands Royal Mail , Parcelforce and General Logistics Systems....
 over a 15-year period from 1959 to 1974 — the full list is now available electronically from the Royal Mail as the Postcode Address File
Postcode Address File

The Postcode Address File is a data file available from Royal Mail.Every house and business in the United Kingdom has been given a postal address by Royal Mail....
 (PAF). They have been widely adopted not just for their original purpose of automating the sorting of mail but for many other purposes such as insurance premium calculations and as a way to describe United Kingdom
United Kingdom

The United Kingdom of Great Britain and Northern Ireland, commonly known as the United Kingdom , the UK or Britain,is a sovereign state located off the northwestern coast of continental Europe....
 locations to route planning software
Route planning software

Route planning software is a computer software programme, designed to plan a route between two geographical locations using a Journey Planner, typically specialised for Road networks as a Route planner....
, and as the lowest level of aggregation in census
Census

A census is the procedure of systematically acquiring and recording information about the members of a given population. It is a regularly occurring and official count of a particular population....
 enumeration.

However, as the format of the codes does not achieve its objective of primarily identifying the main sorting office and sub-office they have been supplemented by a newer system of five-digit codes called Mailsort
Mailsort

Mailsort is a five-digit address-coding scheme used by the Royal Mail and its business customers for the automatic direction of mail. Mail users who can present mail sorted by Mailsort code and in quantities of 4,000 upwards receive a discounted postal rate....
 — but only for mailings of 'a minimum of 4,000 letter-sized items'. Mail users who can deliver mail to the post office sorted by Mailsort code receive discounts but [bulk] delivery by postcode provides no such incentive.

Postcode history


The major cities of the UK have much older postcodes, now incorporated into the current system, than other areas. In the mid-19th century, central London postal districts were divided between east central (EC) and west central (WC); broadly speaking the City and the West End, while the perimeter of inner London were split into N, NW, NE, S, SW, SE, W, and E. This first system of ten London postal district
London postal district

The London postal district is the area in England, currently of 241 square miles, to which mail addressed to the LONDON post town is delivered....
s was devised by Sir Rowland Hill
Rowland Hill (postal reformer)

Sir Rowland Hill Order of the Bath Fellow of the Royal Society was a United Kingdom teacher and reform movement. He campaigned for a comprehensive reform of the postal system, based on the concept of Uniform Penny Post, and later served as a government postal official....
 and introduced in 1857 and 1858. S and NE were later dropped and are now used for Sheffield and Newcastle. The numbered subdivisions (W1, W2 etc) were a war-time measure and date from 1917. The 1917 subdivisions remain important, because they form the first part of the two-part modern postcode (so N1 1AA is an address in the old N1 district), and because they continue to be used by Londoners to refer to their districts.

The Post Office experimented with electromechanical sorting machines in the late 1950s. These devices would present an envelope to an operator, who would press a button indicating which bin to sort the letter into. Postcodes were suggested to increase the efficiency of this process, by removing the need for the sorter to remember the correct sorting for as many places.

In January 1959 the Post Office analysed the results of a survey on public attitudes towards the use of postal codes. The next step would be choosing a town in which to experiment with coded addresses. The envisaged format was to be a six character alphanumeric code with three letters designating the geographical area and three numbers to identify the individual address. On 28 July Ernest Marples
Ernest Marples

Ernest Marples, Baron Marples was a United Kingdom Conservative Party politician, who served as United Kingdom Postmaster General and Secretary of State for Transport....
, the Postmaster General
United Kingdom Postmaster General

The Postmaster General in the United Kingdom is a defunct Minister of the Crown position in HM Government. Aside from maintaining the postal system, the Telegraph Act of 1868 established the Postmaster General's right to exclusively maintain electric Telegraphys....
, announced that Norwich
Norwich

Norwich , is a city status in the United Kingdom in Norfolk, East Anglia which is in Eastern England. It is the regional administrative centre and county city of Norfolk....
 had been selected, and that each of the 150,000 private and business addresses would receive a code by October. Norwich had been selected as it already had eight automatic mail sorting machines in use. The codes were in the form NOR followed by two digits and a letter.

When this modern postcode system was introduced for London in 1960s, the numerals were added such that the areas nearest central London were allocated the number “1” (W1, SW1, etc.). Afterwards, numbers were allocated alphabetically, not by geography, and with complete disregard to the boundaries of London’s boroughs.

In October 1965 it was confirmed that postal coding was to be extended to the rest of the country in the "next few years". On 1 May 1967 post codes were introduced in Croydon
Croydon

Croydon is a large town and major commercial centre in South London, and the principal settlement of the London Borough of Croydon. It is south of Charing Cross, and is one of the major metropolitan centres identified in the London Plan....
. The codes for central Croydon started with the letters CRO, and those of the surrounding post town
Post town

A post town is a required part of all postal addresses in the United Kingdom, and a basic unit of the postal delivery system. Including the correct post town in the address increases the chances of a letter or parcel being delivered on time....
s with CR2, CR3 and CR4. This was to be the beginning of a ten year plan, costing an estimated £24 million. Within two years it was expected that coding would be used in Aberdeen
Aberdeen

Aberdeen is Scotland's third most populous City status in the United Kingdom and one of Scotland's 32 Local government in Scotland Council areas of Scotland....
, Belfast
Belfast

Belfast is the capital city of Northern Ireland and the seat of Devolution#United Kingdom Northern Ireland Executive and legislative Northern Ireland Assembly in Northern Ireland....
, Brighton
Brighton

Brighton is a city on the south coast of England and, with its neighbours Hove and Portslade, forms the Brighton and Hove.The ancient settlement of Brighthelmston dates from before the Domesday Book , but it emerged as a health resort during the 18th Century and became a destination for day-trippers after the arrival of the railway in...
, Bristol
Bristol

Bristol is a City status in the United Kingdom, unitary authority area and Ceremonial counties of England in South West England, west of London, and east of Cardiff....
, Bromley
Bromley

Bromley is an urban centre in the London Borough of Bromley and is listed as a metropolitan centre in the London Plan. It is situated 9.3 miles south east of Charing Cross....
, Cardiff
Cardiff

Cardiff is the Capital , largest city and most populous Unitary authority#Wales in Wales. The city is Wales' chief commercial centre, the base for many national cultural and sport institutions, the Welsh national media, and the seat of Welsh Assembly Government ....
, Coventry
Coventry

Coventry is a City status in the United Kingdom and metropolitan borough in the county of West Midlands in England. With a population of 303,475 at the United Kingdom Census 2001 , Coventry is the 9th largest city in England and the 11th largest in the United Kingdom....
, Manchester
Manchester

Manchester is a city and metropolitan borough of Greater Manchester, England. Manchester was granted City status in the United Kingdom in 1853....
, Newcastle upon Tyne
Newcastle upon Tyne

Newcastle upon Tyne is a City status in the United Kingdom and metropolitan borough of Tyne and Wear, in North East England. Situated on the north bank of the River Tyne, the city developed from a Roman Empire settlement called Pons Aelius, though it owes its name to the Newcastle Castle built in 1080, by Robert Curthose, the eldest son of...
, Newport
Newport

Newport is a City status in the United Kingdom and Administrative divisions of Wales in Wales, in the United Kingdom. Standing on the banks of the River Usk, located roughly between Cardiff and Bristol, it is the cultural capital and largest urban area in the Historic counties of Wales of Monmouthshire and is governed by the unitary authori...
, Reading
Reading, Berkshire

Reading is a town in England, located at the confluence of the River Thames and River Kennet, midway between London and Swindon off the M4 motorway....
, Sheffield
Sheffield

Sheffield is a city status in the United Kingdom and metropolitan borough in South Yorkshire, England. It is so named because of its origins in a field on the River Sheaf that runs through the city....
, Southampton
Southampton

Southampton is the largest City status in the United Kingdom in the ceremonial county of Hampshire, on the south coast of England, and is sited around 100 km south-west of London and 30 km north-west of Portsmouth....
 and the western district of London. By 1967 codes had been introduced to Aberdeen, Southampton, Brighton
Brighton

Brighton is a city on the south coast of England and, with its neighbours Hove and Portslade, forms the Brighton and Hove.The ancient settlement of Brighthelmston dates from before the Domesday Book , but it emerged as a health resort during the 18th Century and became a destination for day-trippers after the arrival of the railway in...
 and Derby
Derby

Derby is a city status in the United Kingdom in the East Midlands region of England in the United Kingdom. It lies upon the banks of the River Derwent, Derbyshire and is located in the south of the non-metropolitan county of Derbyshire....
. In 1970 codes were introduced to the Western and North West
NW postcode area

The NW postcode area, also known as the London NW postcode area, is a group of postal districts in north west London, England. It is the successor of the NW sector, originally created as part of the London postal district in 1856....
 London areas. In December 1970 Christmas mail was franked with the message "Remember to use the Postcode", although codes were only used to sort mail in a handful of sorting offices.

During 1971 occupants of addresses began to receive notification of their postcode. Asked in the House of Commons about the completion of the coding exercise, the Postmaster General, Sir John Eden
John Eden, Baron Eden of Winton

John Benedict Eden, Baron Eden of Winton Privy Council of the United Kingdom is a Conservative Party ....
 stated it was expected to be completed during 1972.

The scheme was finalised in 1974 when Norwich was completely re-coded but the scheme tested in Croydon was sufficiently close to the final design for it to be retained. Newport was originally allocated NPT, in a similar way to Norwich and Croydon, with the surrounding towns allocated NP1-NP8. This lasted into the mid 1980s when for operational reasons (NPT being non-standard, and too similar to NP7) it was recoded.

The legacy of the Croydon trial can still be seen today:
  • CR0 was the only postal district with a zero in that position: all others start with 1. This caused some of the Royal Mail's software to misbehave slightly. Subsequently, the "zeroth" district has been used in some other postcode areas, such as Bolton
    BL postcode area

    The BL postcode area, also known as the Bolton postcode area, is a group of postal districts around the towns of Bolton and Bury in Greater Manchester, England....
    , Harrow, Slough
    SL postcode area

    The , also known as the 'Slough postcode area', is a group of postal districts around Ascot, Berkshire, Bourne End, Buckinghamshire, Gerrards Cross, Iver, Maidenhead, Marlow, Buckinghamshire, Slough and Windsor, Berkshire in England....
    , Chelmsford and Southend on Sea
    SS postcode area

    The , also known as the 'Southend on Sea postcode area', is a group of postal districts around Basildon, Benfleet, Canvey Island, Hockley, Leigh-on-Sea, Rayleigh, Essex, Rochford, Southend-on-Sea, Stanford-le-Hope, Westcliff-on-Sea and Wickford in England....
    .
  • A separate postal "district", CR9 is used for large users and PO Box holders. This policy has been used elsewhere, with normal postcodes "growing" upwards from district 1 and large-user postcodes "growing" downwards from district 99.
  • The CR0 district contains far more addresses than any other postal district in the country.
  • CR1 has never been used — possibly left spare for rationalisation. (The other CR districts, CR2 etc. were coded later and conform to the general standards.)
  • There was at one point a movement to change all CR0 postcodes to CR1, but this was rejected.
  • CR0 is often incorrectly written as CRO, although in some type faces and handwriting the digit '0' and letter 'O' are identical -- the problem is exacerbated as it is often pronounced 'Sea Arr Oh' rather than 'Sea Arr Zero'.


Format

The format of UK postcodes is generally:

A9 9AA
A99 9AA
A9A 9AA
AA9 9AA
AA99 9AA
AA9A 9AA


where A signifies a letter and 9 a digit. It is a hierarchical system, working from left to right — the first letter or pair of letters represents the area, the following digit or digits represent the district within that area, and so on. Each postcode generally represents a street, part of a street, or a single premises. This feature makes the postcode useful to route planning software
Route planning software

Route planning software is a computer software programme, designed to plan a route between two geographical locations using a Journey Planner, typically specialised for Road networks as a Route planner....
.

The part of the code before the space is the outward code or out code used to direct mail from one sorting office to the destination sorting office, while the part after the space is the inward code or in code used to sort the mail into individual delivery rounds. The outward code can be split further into the area part (letters identifying one of 124 postal areas) and the district part (usually numbers); similarly, the inward code is split into the sector part (number) and the unit part (letters). Each postcode identifies the address to within 100 properties (with an average of 15 properties per postcode), although a large business may have a single code
Name Location Component format for YO31 1EB Number of live codes Number of terminated codes Other Codes
(GIR 0AA, SAN TA1, BX)
Total
postcode area out code YO 124 0 3 127
postcode district out code YO31 2,971 103 4 3,078
sector in code YO31 1 10,631 1,071 4 11,706
unit in code YO31 1EB 1,762,464 650,417 4 2,412,885
Postcode Addresses
Postcode Address File

The Postcode Address File is a data file available from Royal Mail.Every house and business in the United Kingdom has been given a postal address by Royal Mail....
 
approx. 27,000,000    


The letters in the outward code may give some clue to its geographical location (but see London below). For example, L indicates Liverpool
Liverpool

Liverpool [] is a city and metropolitan borough of Merseyside, England, along the eastern side of the Mersey Estuary. It was founded as a History of borough status in England and Wales in 1207 and was granted City status in the United Kingdom in 1880....
, EH indicates Edinburgh
Edinburgh

Edinburgh ; is the Capital city of Scotland, a position it has held since 1437. It is the seventh largest city in the United Kingdom and the second largest Scottish City status in the United Kingdom after Glasgow....
 and AB indicates Aberdeen
Aberdeen

Aberdeen is Scotland's third most populous City status in the United Kingdom and one of Scotland's 32 Local government in Scotland Council areas of Scotland....
; see List of postcode areas in the United Kingdom for a full list. Although BT indicates Belfast
Belfast

Belfast is the capital city of Northern Ireland and the seat of Devolution#United Kingdom Northern Ireland Executive and legislative Northern Ireland Assembly in Northern Ireland....
, it covers the whole of Northern Ireland
Northern Ireland

conventional_long_name = Northern Ireland|native_name= Tuaisceart ?ireannNorlin Airlann|motto =|image_map = Europe location N-IRL2.png...
. The letters in the inward code, however, are restricted to the set ABDEFGHJLNPQRSTUWXYZ (excluding CIKMOV), which generally do not resemble digits or each other when hand-written.

There are at least two exceptions (other than the overseas territories) to this format:
  • the postcode for the formerly Post Office
    Post office

    A post office is a facility authorized by a postal system for the posting, receipt, sorting, handling, transmission or delivery of mail. Post offices offer mail-related services such as post office boxes, postage and packaging supplies....
    -owned Girobank
    Girobank

    Girobank was a United Kingdom financial institution founded in 1968. It started as Post Office Giro but went through several name changes: National Giro, National Girobank and, finally, Girobank....
     is GIR 0AA.
  • the postcode for correctly addressed letters to Father Christmas
    Father Christmas

    Father Christmas is the name used in many English language speaking countries for the gift-bringing figure of Christmas. A similar figure with the same name exists in several other countries, including France Spain , Portugal , Italy and Romania ....
     is SAN TA1


In addition to postcodes, Delivery Point Suffixes (DPS) have been developed to uniquely identify each delivery point (a letterbox) within a single postcode. A DPS is two-character (a digit and a letter) code optionally appended to postcode. Use of DPS codes is mandatory for Mailsort
Mailsort

Mailsort is a five-digit address-coding scheme used by the Royal Mail and its business customers for the automatic direction of mail. Mail users who can present mail sorted by Mailsort code and in quantities of 4,000 upwards receive a discounted postal rate....
 barcodes generation.

Greater London postcodes


In the London Postal Area postcodes are slightly different, being based on the 1856 system of Postal Districts which was refined in 1917 by numbering the 163 Sub-Districts; predating by many years the introduction of postcodes in the 1960s:

  • In parts of central London, WC and EC (West Central and East Central)
  • In the rest of the London Postal Area, N, NW, SW, SE, W and E.


The London postal districts rarely coincide with the boundaries of the London borough
London borough

The administrative area of Greater London contains thirty-two London boroughs. Inner London comprises twelve of these boroughs plus the City of London....
s (even the former, smaller Metropolitan Boroughs). The numbering system appears arbitrary on the map: for example, NW1 is close to central London, but NW2 is a long way out. This is because, after starting with 1 for the area containing the main sorting office of the larger district, the numbers were allocated alphabetically according to the name of the smaller sorting office that formed each new sub-district's hub.

The area covered by the London postal districts was somewhat larger than the County of London
County of London

The County of London was a ceremonial counties of England and administrative counties of England of England from 1889 to 1965. It bordered Middlesex to the north and west, Essex to the north east, Kent to the south east and Surrey to the south....
, and included parts of Kent
Kent

Kent is a Counties of England in southeast England, and is one of the home counties. It borders East Sussex, Surrey and Greater London and has a defined boundary with Essex in the middle of the River Thames estuary....
, Essex
Essex

Essex is a counties of England in the East of England England. The county town is Chelmsford, and the highest point of the county is Chrishall Common near the village of Langley, Essex, close to the Hertfordshire border, which reaches ....
, Surrey
Surrey

Surrey is a counties of England in the South East England of England and is one of the Home Counties. The county borders Greater London, Kent, East Sussex, West Sussex, Hampshire, and Berkshire....
, Middlesex
Middlesex

Middlesex , from the Old English Middelseaxe , is one of the 39 Historic counties of England of England and the List of counties of England by area in 1831....
 and Hertfordshire
Hertfordshire

Hertfordshire is a Ceremonial counties of England and Metropolitan and non-metropolitan counties of England Counties of England in the East of England region of England....
. In 1965 the creation of Greater London
Greater London

Greater London is the top-level administrative subdivision covering London, England. The administrative area was officially created in 1965 and covers the City of London , the City of Westminster and the other 31 London boroughs....
 caused this situation to be reversed as the boundaries of Greater London went beyond most of the existing London postal districts.

Those places not covered by the existing districts received postcodes as part of the national coding plan, so the postcode areas of "EN" Enfield
London Borough of Enfield

The London Borough of Enfield is the most northerly London borough and forms part of Outer London....
, "KT" Kingston upon Thames
Kingston upon Thames

Kingston upon Thames is the principal settlement of the Royal Borough of Kingston upon Thames in south-west London.It was the ancient market town where Anglo-Saxons kings were crowned and is now a suburb situated south west of Charing Cross....
, "HA" Harrow
Harrow, London

Harrow is a town in the London Borough of Harrow, North West London. It is a suburb situated 12.2 miles west northwest of Charing Cross. It is one of the major metropolitan centres identified in the London Plan....
, "UB" Uxbridge
Uxbridge

Uxbridge is a university town in the London Borough of Hillingdon in West London, England. It is a suburban development situated west north-west of Charing Cross and near to the boundary with Buckinghamshire which is locally the River Colne, Hertfordshire....
", "TW" Twickenham
Twickenham

Twickenham is a town in west London, England.It is the principal town, by population, within the London Borough of Richmond upon Thames....
, "SM" Sutton
Sutton, London

Sutton is the principal town in the London Borough of Sutton. It is situated 10.6 miles south-southwest of Charing Cross. It is one of the major metropolitan centres identified in the London Plan....
, "CR" Croydon
Croydon

Croydon is a large town and major commercial centre in South London, and the principal settlement of the London Borough of Croydon. It is south of Charing Cross, and is one of the major metropolitan centres identified in the London Plan....
, "DA" Dartford
Dartford

Dartford is the principal town in the Dartford . It is situated in the northwest corner of Kent, England, 16 miles east south-east of central London....
, "BR" Bromley
Bromley

Bromley is an urban centre in the London Borough of Bromley and is listed as a metropolitan centre in the London Plan. It is situated 9.3 miles south east of Charing Cross....
, "RM" Romford
Romford

Romford is a large suburban town in East London, England, England and the principal settlement of the London Borough of Havering. It is located north east of Charing Cross and is one of the major metropolitan centres identified in the London Plan....
 and "IG" Ilford
Ilford

Ilford is a district of the London Borough of Redbridge. It is a suburban development situated east north-east of Charing Cross and one the major metropolitan centres identified in the London Plan....
 cross administrative boundaries and cover parts of neighbouring counties as well as parts of Greater London.

A further complication is that in some of the most central London areas, a further gradation has been necessary to produce enough postcodes, giving codes like EC1A 1AA.

While most postcodes are allocated by administrative convenience, a few are deliberately chosen. For example in Westminster
Westminster

Westminster is an area of Central London, within the City of Westminster. It lies on the north bank of the River Thames, southwest of the City of London and southwest of Charing Cross....
:
  • SW1A 0AA - House of Commons
    British House of Commons

    The House of Commons is the lower house of the Parliament of the United Kingdom, which also comprises the British monarchy and the House of Lords ....
  • SW1A 0PW - House of Lords
    House of Lords

    The House of Lords is the second house of the Parliament of the United Kingdom and is also commonly referred to as "the Lords". The Parliament comprises the British monarchy, the British House of Commons , and the Lords....
    , Palace of Westminster
    Palace of Westminster

    The Palace of Westminster, also known as the Houses of Parliament or Westminster Palace, in London, is where the two Houses of the Parliament of the United Kingdom meet....
  • SW1A 1AA - Buckingham Palace
    Buckingham Palace

    Buckingham Palace is the official London residence of the British monarch. Located in the City of Westminster, the palace is a setting for state occasions and royal entertaining, and a major tourist attraction....
  • SW1A 2AA - 10 Downing Street
    10 Downing Street

    Number 10 Downing Street is the residence and office of the First Lord of the Treasury and Prime Minister of the United Kingdom. The headquarters of Her Majesty's Government, it is situated on Downing Street in the City of Westminster in London, England....
    , Prime Minister
    Prime Minister of the United Kingdom

    The Prime Minister of the United Kingdom of Great Britain and Northern Ireland is the political leader of the United Kingdom and the head of government Her Majesty's Government....
     and First Lord of the Treasury
    First Lord of the Treasury

    The First Lord of the Treasury is the head of the Government agency exercising the ancient office of Lord High Treasurer in the United Kingdom, and is usually?but not always?also the Prime Minister of the United Kingdom....
  • SW1A 2AB - 11 Downing Street
    11 Downing Street

    11 Downing Street , is the official residence of the Second Lord of the Treasury in Britain, who in modern times has always been the Chancellor of the Exchequer....
    , Chancellor of the Exchequer
    Chancellor of the Exchequer

    The Chancellor of the Exchequer is the title held by the British Cabinet of the United Kingdom Minister who is responsible for all economic and financial matters....
  • SW1A 2HQ - HM Treasury
    HM Treasury

    HM Treasury, in full Her Majesty's Treasury, informally The Treasury, is the United Kingdom government department responsible for developing and executing the British government's public finance policy and economic policy....
     headquarters
  • W1A 1AA - Broadcasting House
    Broadcasting House

    Broadcasting House is the headquarters and registered office of the BBC in Portland Place, London, England.Architect George Val Myer designed the building in collaboration with the BBC's civil engineer, M T Tudsbery....
  • W1A 1AB - Selfridges
    Selfridges

    Selfridges is a chain of department stores in the United Kingdom. It was founded by Harry Gordon Selfridge. The flagship store in London's Oxford Street is the second largest shop in the UK and was opened on 15 March 1909....
  • N81 1ER - Electoral Reform Society
    Electoral Reform Society

    The Electoral Reform Society is a campaign group based in the United Kingdom which promotes electoral reform. It was founded in January 1884 as the Proportional Representation Society by John Lubbock, 1st Baron Avebury, the name was changed to Electoral Reform Society in 1958....
     (the whole of N81 is reserved for the ERS)


Other areas' postcodes

Until the 1960s, Postal Areas such as Belfast
Belfast

Belfast is the capital city of Northern Ireland and the seat of Devolution#United Kingdom Northern Ireland Executive and legislative Northern Ireland Assembly in Northern Ireland....
, Birmingham
Birmingham

Birmingham is a city status in the United Kingdom and metropolitan borough in the West Midlands of England. Birmingham is the most populous of England's English Core Cities Group, and is the List of United Kingdom cities by population British city after London, with a population of 1,010,200 ....
, Bradford
Bradford

Bradford lies at the heart of the City of Bradford, a metropolitan borough of West Yorkshire, England. It is situated in the foothills of the Pennines, west of Leeds, and northwest of Wakefield....
, Brighton
Brighton

Brighton is a city on the south coast of England and, with its neighbours Hove and Portslade, forms the Brighton and Hove.The ancient settlement of Brighthelmston dates from before the Domesday Book , but it emerged as a health resort during the 18th Century and became a destination for day-trippers after the arrival of the railway in...
, Bristol
Bristol

Bristol is a City status in the United Kingdom, unitary authority area and Ceremonial counties of England in South West England, west of London, and east of Cardiff....
, Edinburgh
Edinburgh

Edinburgh ; is the Capital city of Scotland, a position it has held since 1437. It is the seventh largest city in the United Kingdom and the second largest Scottish City status in the United Kingdom after Glasgow....
, Glasgow
Glasgow

Glasgow is the largest city in Scotland and List of largest United Kingdom settlements by population in the United Kingdom. The city is situated on the River Clyde in the country's Scottish Lowlands....
, Hove
Hove

Hove is a town on the south coast of England, immediately to the west of its larger neighbour Brighton, with which it forms the unitary authority Brighton and Hove....
, Leeds
Leeds

Leeds is located on the River Aire in West Yorkshire, England. It is the urban core and administrative centre of the wider metropolitan borough of the City of Leeds....
, Liverpool
Liverpool

Liverpool [] is a city and metropolitan borough of Merseyside, England, along the eastern side of the Mersey Estuary. It was founded as a History of borough status in England and Wales in 1207 and was granted City status in the United Kingdom in 1880....
, Manchester
Manchester

Manchester is a city and metropolitan borough of Greater Manchester, England. Manchester was granted City status in the United Kingdom in 1853....
, Salford
Salford

Salford lies at the heart of the City of Salford, a metropolitan borough of Greater Manchester, in North West England. Salford is located by a meander of the River Irwell, which forms its boundary with the city of Manchester to the east....
, Newcastle upon Tyne
Newcastle upon Tyne

Newcastle upon Tyne is a City status in the United Kingdom and metropolitan borough of Tyne and Wear, in North East England. Situated on the north bank of the River Tyne, the city developed from a Roman Empire settlement called Pons Aelius, though it owes its name to the Newcastle Castle built in 1080, by Robert Curthose, the eldest son of...
 and Sheffield
Sheffield

Sheffield is a city status in the United Kingdom and metropolitan borough in South Yorkshire, England. It is so named because of its origins in a field on the River Sheaf that runs through the city....
 were divided into numbered Postal Districts, e.g. Toxteth
Toxteth

Toxteth is an inner-city area of Liverpool, Merseyside, England. It is located to the south of the city, bordered by Liverpool city centre, Edge Hill, Liverpool, Wavertree and Dingle, Liverpool....
 in Liverpool was Liverpool 8. When the national postcode system was introduced, these were incorporated into it, so that postcodes in Toxteth start with L8. A similar system is still used in the Republic of Ireland
Republic of Ireland

Ireland is an Island country in north-western Europe. The modern Sovereignty state occupies about five-sixths of the island of Ireland, which was partitioned by the British on 3 May 1921....
 for Dublin
Dublin

Dublin is both the largest city and capital of Republic of Ireland. It is located near the midpoint of Ireland's east coast, at the mouth of the River Liffey and at the centre of the Dublin Region....
's postal districts
Dublin postal districts

Dublin postal districts are used by Republic of Ireland's postal service, known as An Post, to sort mail in Dublin. The system is similar to that used in cities in other European countries until they adopted national postal code systems in the 1960s and '70s....
.

Some Birmingham codes were sub-divided, with a letter, such as Great Barr, Birmingham 22 or Birmingham 22a - as can still be seen on many older street-name signs.

A single numbering sequence was split between Manchester and Salford. Letters would be addressed to Manchester 1 or Salford 4. However in the 1960s, all the districts in both Manchester and Salford gained "M" postcodes, so "Salford 4" became M4, etc., much to the chagrin of Salfordians. The old coding lives on in a handful of street signs which are still embossed with "Salford 4" etc, at the bottom.

Glasgow shared with London a distinction from all other UK cities as it had compass postal districts due to its claimed status as the Second City of the British Empire, i.e., C, W, NW, N, E, S, SW, SE. When postcodes were introduced these were mapped into the new 'G' postcode area thus: C1 became G1, W1 became G11, N1 became G21, E1 became G31, S1 became G41, SW1 became G51, and so on.

Validation

The consequence of the complexity outlined above is that for almost every rule concerning UK postcodes, an exception can be found. Automatic validation of postcodes on the basis of pattern feasibility is therefore almost impossible to design, and the system contains no self-validating feature such as a check digit. Completely accurate validation is only possible by attempting to deliver mail to the address, and verifying with the recipient.

Validation is usually performed against a copy of the "Postcode Address File
Postcode Address File

The Postcode Address File is a data file available from Royal Mail.Every house and business in the United Kingdom has been given a postal address by Royal Mail....
" (PAF), which is generated by the Royal Mail
Royal Mail

Royal Mail is the national mail of the United Kingdom. Royal Mail Holdings plc owns Royal Mail Group Limited, which in turns operates the brands Royal Mail , Parcelforce and General Logistics Systems....
 and contains about 27 million UK commercial and residential addresses, covered by more than 1.7 million postcodes. However, even the PAF cannot be relied on as it contains errors, and because new postcodes are occasionally created and used before copies of the PAF can be distributed to users.

It is possible to validate the format of a postcode using the rules described in British Standard BS 7666. In general, the format is one of "A9 9AA", "A99 9AA", "AA9 9AA", "AA99 9AA", "A9A 9AA" or "AA9A 9AA", where A is an alphabetic character and 9 is a numeric character. There are restrictions on the set of alphabetic characters dependent on the position they are in.

As can be seen, the first character is always alphabetical and the final three characters are always a numeric character followed by two alphabetic characters.

A regular expression
Regular expression

In computing, regular expressions provide a concise and flexible means for identifying strings of text of interest, such as particular characters, words, or patterns of characters....
 is given in the comments of the schema, which implements full checking of all the stated BS 7666 postcode format rules. That regular expression can be restated as a "traditional" regular expression:

(GIR 0AA|[A-PR-UWYZ]([0-9]|([A-HK-Y][0-9]|[A-HK-Y][0-9]([0-9]|[ABEHMNPRV-Y]))|[0-9][A-HJKS-UW]) [0-9][ABD-HJLNP-UW-Z])

The BS 7666 rules do not match British Forces Post Office
British Forces Post Office

The British Forces Post Office is an agency that provides a postal service to Military of the United Kingdom, separate from that provided by Royal Mail in the United Kingdom....
 postcodes, which have the format "BFPO NNN" or "BFPO c/o NNN", where NNN is 1 to 4 numerical digits.

A regular expression to implement the BS 7666 rules:

(GIR 0AA)|((([A-Z-[QVX]][0-9][0-9]?)|(([A-Z-[QVX]][A-Z-[IJZ]][0-9][0-9]?)|(([A-Z-[QVX]][0-9][A-HJKSTUW])|([A-Z-[QVX]][A-Z-[IJZ]][0-9][ABEHMNPRVWXY])))) [0-9][A-Z-[CIKMOV]])

Alternative short regular expression from BS7666 Schema is:

[A-Z][0-9R][0-9A-Z]? [0-9][A-Z-[CIKMOV]]

Note that the preceding two regular expressions rely on an extended method of specifying character classes and are not guaranteed to work in most regular expression engines.

Non-geographic postcodes


Almost all postcodes map directly to a geographic area, but there are some which are used simply for routing, mostly for the purposes of direct marketing
Direct marketing

Direct marketing is a sub-discipline and type of marketing. There are two main definitional characteristics which distinguish it from other types of marketing....
, and cannot be used for navigation or distance-finding applications.

These codes include BS98, BS99, BT58, E98, NE98, NE99 and WC99.

There is an additional entirely non-geographic outward code BX, from which postcodes can be allocated entirely independently of the geographic location of the recipient (and which can be retained in the event of the customer moving)

Within Royal Mail, outward codes beginning XY are used internally as routing codes to route mis-addressed mail, and to route international outbound mail.

Girobank
Girobank

Girobank was a United Kingdom financial institution founded in 1968. It started as Post Office Giro but went through several name changes: National Giro, National Girobank and, finally, Girobank....
's headquarters in Bootle
Bootle

Bootle is a town within the Metropolitan Borough of Sefton, in Merseyside, England. It is 4 miles  to the north of Liverpool city centre, and has a total resident population of 77,640....
 used the non-geographic postcode GIR 0AA, which is still used today by Girobank's eventual owners, Alliance and Leicester (Note that Alliance and Leicester have now been taken over by Santander).

Application

The PAF
Postcode Address File

The Postcode Address File is a data file available from Royal Mail.Every house and business in the United Kingdom has been given a postal address by Royal Mail....
 is commercially licenseable and is often incorporated in address management software packages. The capabilities of such packages allow an address to be constructed solely from the postcode and house number for most addresses. By including the map reference
Ordnance Survey

Ordnance Survey is an executive agency of the United Kingdom government. It is the national mapping agency for Great Britain, and one of the world's largest producers of maps....
s of postcodes in the address database, the postcode can be used automatically to pinpoint a postcode area on a map. See http://www.streetmap.co.uk for an example of this in practice. The PAF is constantly updated with around 4,000 postcodes added each month and 2,000 existing postcodes terminated.

Northern Ireland

Northern Ireland
Northern Ireland

conventional_long_name = Northern Ireland|native_name= Tuaisceart ?ireannNorlin Airlann|motto =|image_map = Europe location N-IRL2.png...
 was the last part of the UK to be postcoded with all postcodes beginning BT, between 1970 and 1974. While Belfast was already divided into postal districts, rural areas known as townland
Townland

Believed to be of Gaelic origin, a townland is a term for a small geographical unit of land used in Ireland; the term was at one time also used in Scotland....
s posed an additional problem, as (at the time) many roads were not named, and houses were not numbered. Consequently, many people living in such areas shared the same postal address, which still occurs in the Republic of Ireland
Postal addresses in Ireland

Postal addresses in Ireland are similar to those in many other parts of the world. Currently there is no national postal code system. However, Dublin is divided into Dublin postal districts, under a system which was similar to that used in cities elsewhere in Europe until the introduction of postcode systems in the 1960s and 70s....
. Today the majority of roads in Northern Ireland are named (notable exceptions are in Fermanagh) and most houses (even in rural areas) are allocated a number. Those that are not allocated numbers can be uniquely identified by a house name.

Crown dependencies

The Channel Islands
Channel Islands

The Channel Islands are a group of islands in the English Channel, off the France coast of Normandy. They include two separate bailiwicks: the Bailiwick of Guernsey and the Bailiwick of Jersey....
 (Jersey
Jersey

The Bailiwick of Jersey is a British Crown dependency off the coast of Normandy, France. As well as the island of Jersey itself, the bailiwick includes the nearly uninhabited islands of the Minquiers, ?cr?hous, the Pierres de Lecq and other rocks and reefs....
 and Guernsey
Guernsey

The Bailiwick of Guernsey is a British Isles Crown dependency in the English Channel off the coast of Normandy.As well as the island of Guernsey itself, it also includes Alderney, Sark, Herm, Jethou, Brecqhou, Burhou, Lihou and other islets....
) and the Isle of Man
Isle of Man

The Isle of Man , or Mann , is a self-governing Crown dependency, located in the Irish Sea at the geographical centre of the British Isles....
 established their own postal administrations separate from the UK in 1969, and did not adopt postcodes until the early 1990s. Their postcodes follow the UK format, with Jersey being postcode area JE, Guernsey GY, and Isle of Man IM.

In the Isle of Man some choose to use EV as opposed to IM. EV stands for , the name of the Isle of Man in the Manx language
Manx language

Manx , also known as Manx Gaelic, is a Goidelic languages spoken on the Isle of Man. The last native speaker, Ned Maddrell, died in 1974, but in recent years it has been the subject of language revival efforts, and it is now the medium of education at the , a primary school for four- to eleven-year-olds in St....
, and is sometimes used when an address is written in Manx
Manx language

Manx , also known as Manx Gaelic, is a Goidelic languages spoken on the Isle of Man. The last native speaker, Ned Maddrell, died in 1974, but in recent years it has been the subject of language revival efforts, and it is now the medium of education at the , a primary school for four- to eleven-year-olds in St....
.

British Forces Post Office (BFPO)

The British Forces Post Office
British Forces Post Office

The British Forces Post Office is an agency that provides a postal service to Military of the United Kingdom, separate from that provided by Royal Mail in the United Kingdom....
 (BFPO) is an agency that provides a postal service to HM Forces, separate from that provided by Royal Mail in the United Kingdom. BFPO addresses are used for the delivery of mail in the UK and around the world. BFPO codes such as BFPO 801 serve the same function as postal codes for civilian addresses.

Overseas territories

Some of the UK's overseas territories have their own postcodes, which are used for all addresses in those territories:
Postcode Location
AI-2640 Anguilla
Anguilla

Anguilla is a British overseas territories in the Caribbean, one of the most northerly of the Leeward Islands in the Lesser Antilles. It consists of the main island of Anguilla itself, approximately 26 km long by 5 km wide at its widest point, together with a number of much smaller islands and cays with no permanent population....
ASCN 1ZZ Ascension Island
Ascension Island

Ascension Island is an isolated island of volcanic origin in the South Atlantic Ocean, around from the coast of Africa, and from the coast of South America....
BBND 1ZZ British Indian Ocean Territory
British Indian Ocean Territory

The British Indian Ocean Territory or Chagos Islands is an British overseas territory of the United Kingdom situated in the Indian Ocean, halfway between Africa and Indonesia....
BIQQ 1ZZ British Antarctic Territory
British Antarctic Territory

The British Antarctic Territory is a sector of Antarctica claimed by the United Kingdom. It is situated in Antarctica from the South Pole to 60th parallel south between longitudes 20th meridian west and 80th meridian west....
FIQQ 1ZZ Falkland Islands
Falkland Islands

The Falkland Islands are an archipelago in the South Atlantic Ocean, located from the coast of Argentina, west of the Shag Rocks , and north of the British Antarctic Territory ....
PCRN 1ZZ Pitcairn Islands
Pitcairn Islands

The Pitcairn Islands , officially named the Pitcairn, Henderson Island , Ducie Island and Oeno Island Islands, are a group of four volcano islands in the southern Pacific Ocean....
SIQQ 1ZZ South Georgia and the South Sandwich Islands
South Georgia and the South Sandwich Islands

South Georgia and the South Sandwich Islands is a British overseas territory in the southern Atlantic Ocean. It is a remote and inhospitable collection of islands, consisting of South Georgia ? which measures approximately by and is by far the largest island in the territory ? and a chain of smaller islands known as the South Sand...
STHL 1ZZ Saint Helena
Saint Helena

Saint Helena , named after Helena of Constantinople, is an island of volcano origin and a British overseas territory in the South Atlantic Ocean....
TDCU 1ZZ Tristan da Cunha
Tristan da Cunha

Tristan da Cunha is a remote volcanic group of islands in the south Atlantic Ocean, 2,816 km from South Africa and 3,360 km from South America....
TKCA 1ZZ Turks and Caicos Islands
Turks and Caicos Islands

The Turks and Caicos Islands are a British Overseas Territory consisting of two groups of tropical islands in the West Indies, the larger Caicos Islands and the smaller Turks Islands, known for tourism and as an offshore financial centre....


These were introduced because mail was often sent to the wrong place, e.g: St Helena to St Helens, Merseyside
St Helens, Merseyside

St Helens is a large town in Merseyside, England. It is the largest settlement of the Metropolitan Borough of St Helens with a population of just over 100,000 of an urban area with a total population of 176,843 at the time of the United Kingdom Census 2001....
, and Ascension Island to Asunción
Asunción

Asunci?n , population 1,212,112 , is the Capital and largest city of Paraguay. The "Ciudad de Asunci?n" is an autonomous capital district not part of any department....
, Paraguay
Paraguay

Paraguay, officially the Republic of Paraguay , is one of the only two landlocked countries in South America . It lies on both banks of the Paraguay River and is bordered by Argentina to the south and southwest, Brazil to the east and northeast, and Bolivia to the northwest....
. In addition, many online companies would not accept addresses without a postcode. Mail from the UK continues to be treated as international, not inland, and sufficient postage must be used.

Bermuda
Bermuda

Bermuda is a British overseas territory in the Atlantic Ocean. Located off the east coast of the United States, it is situated around 1770 kilometres northeast of Miami, Florida, and 1350 kilometres south of Halifax Regional Municipality, Canada....
, the UK's most populous remaining overseas territory, has developed its own, entirely separate, postcode system, with unique postcodes for street and PO Box addresses, as have the Cayman Islands
Cayman Islands

The Cayman Islands are a British overseas territory located in the western Caribbean Sea, comprising the islands of Grand Cayman, Cayman Brac, and Little Cayman....
.

The British Virgin Islands
British Virgin Islands

The British Virgin Islands is a British overseas territory, located in the Caribbean to the east of Puerto Rico. The islands make up part of the Virgin Islands, the remaining islands constituting the United States Virgin Islands....
 and Montserrat
Montserrat

Montserrat is British overseas territory located in the Leeward Islands, part of the chain of islands called the Lesser Antilles in the Caribbean Sea....
 do not have postcodes, although a postcode system is under consideration in Gibraltar
Gibraltar

Gibraltar is a British overseas territory located near the southernmost tip of the Iberian Peninsula overlooking the Strait of Gibraltar. The territory shares a border with Spain to the north....
.

Postcodes are not used in the Turks and Caicos Islands and the TKCA 1ZZ designation is generally unknown.

See also

  • List of postal districts in the United Kingdom
    List of postal districts in the United Kingdom

    This is a list of the post towns of the United Kingdom – it appears in UK postcodes sequence.Every post town has one or more postcode districts, for example PE2....
  • List of postcode areas in the United Kingdom
  • List of postal codes
    List of postal codes

    This list shows an overview of postal code notation schemes for all countries that have postal or ZIP code systems.For lists by country, see :Category:Lists_of_postal_codes....
     for worldwide postal code definitions.
  • ACORN (geodemography)
  • ADDRESS-POINT
    ADDRESS-POINT

    Address Point is a mapping/GIS data product supplied by Great Britain's national mapping agency, Ordnance Survey. It is based on the UK?s postal mail organisation, the Royal Mail, list of postal addresses, Postcode Address File ....
  • Australia Post
    Australia Post

    Australia Post is trading name of the Government of Australia-owned Australian Postal Corporation, the mail with a monopoly in Australia....
  • Postcode lottery
    Postcode lottery

    In the United Kingdom, the term postcode lottery refers to the way the allocation of postcodes, which often bears little relation to local government boundaries, can affect such things as insurance prices....
  • RM4SCC
    RM4SCC

    RM4SCC is the name of the barcode symbology used by the Royal Mail for its Cleanmail service. It enables UK postcodes to easily be read by a machine at high speed....
     — a machine readable barcode version of the postcode
  • ZIP Code
    ZIP Code

    File:UseZipCode.JPGThe ZIP code is the system of postal codes used by the United States Postal Service . The letters ZIP, an acronym for Zone Improvement Plan, are properly written in capital letters and were chosen to suggest that the mail travels more efficiently, and therefore more quickly, when senders use the code....
    s — the postal code system in the United States of America


External links

  • [https://www.royalmail.com/portal/rm/postcodefinder?pageId=pol_login&catId=400145&cs=1 Postcode finder in the United Kingdom]
  • from the UK Government Data Standards Catalogue
  • - this PDF
    Portable Document Format

    Portable Document Format is a file format created by Adobe Systems in 1993 for document exchange. PDF is used for representing two-dimensional documents in a manner independent of the application software, hardware, and operating system....
     document from the Universal Postal Union
    Universal Postal Union

    The Universal Postal Union is an international organization that coordinates postal policies among member nations, and hence the world-wide postal system....
     explains the system and shows all allowable UK postcode formats
  • - A community effort to build a public domain database of UK postcodes against GPS coordinates.
  • - Geographical Post Code information and web site integration techniques
  • - A community effort to build a public domain database of UK postcodes via clicks on maps from the 1950s (for those who don't have a GPS device).
  • - Find the distance between two postcodes in the UK and see the route between them on a map.
  • A free website where you can search for a postcode and see a map of the surrounding area including place names and attractions. You can link directly to a page by appending a postcode to the url for example
  • A free service where you can find people and information based on a UK postcode.
  • of British postcode areas