Postcode

UK and Australian postal codes are known as postcodes. The term is also used in some other English-speaking countries, such as South Africa, New Zealand, and Singapore, although often with the alternative spelling post code.

UK Postcodes

UK postcodes are alphanumeric. These codes were introduced by the Royal Mail over a fifteen year period from 1959 to 1974. They have been widely adopted not just for their original purpose of automating the sorting of mail but for many other purposes - see Postcode lottery below.

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. Mail users who can deliver mail to the post office sorted by mailsort code receive discounts, whilst delivery by postcode provides no such incentive.

Format

The format of UK postcodes is generally:
LD DLL
LLD DLL
LDD DLL
LLDD DLL
LLDL DLL
LDL DLL

where L signifies a letter and D 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.

The part of the code before the space is the outward code used to direct mail from one sorting office to the destination sorting office (the alphabetic part identifying one of 124 postal districts), while the part after the space is the inward code used to sort the mail into individual postmen's delivery rounds, each separate code usually identifying the address to within 80 properties, although large businesses may have a unique code.

The letters in the outward code can only be one of a set of known combinations, which usually gives some clue to its geographical location (but see below). For example, BS indicates Bristol and G indicates Glasgow; see List of postal codes in the United Kingdom for a full list. Although BT indicates Belfast, it covers the whole of Northern Ireland. The letters in the inward code, however, are restricted to the set ABDEFGHJLNPQRSTUWXYZ (so cannot be one of CIKMOV), which generally do not resemble digits or each other when hand-written.

There is one exception (other than the overseas territories) to this format; the postcode for the formerly Post office-owned Girobank is GIR 0AA.

London postcodes

Main article: London postal district.

In the London area postcodes are slightly different, being based on the old system of 163 London postal districts and predating by many years the introduction of postcodes in the 1960s:

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

The London postal districts rarely coincide with the boundaries of the London boroughs (even the older, smaller metropolitan boroughs). The numbering system also 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 closest to the centre) they were numbered alphabetically by the name of the main sorting office.

The area covered by the London postal districts was somewhat larger than the County of London and included parts of Kent, Essex, Surrey, Middlesex and Hertfordshire. In 1965 the creation of Greater London caused this situation to be reversed as the boundaries of Greater London went far beyond the existing London postal districts.

Those places not covered by the existing districts received postcodes as part of the national coding plan such that the postcode areas of "EN" Enfield, "KT" Kingston upon Thames, "HA" Harrow, "UB" Uxbridge", "TW" Twickenham, "SM" Sutton, "CR" Croydon, "TN" Tonbridge, "DA" Dartford, "BR" Bromley, "RM" Romford and "IG" Ilford cross administrative boundaries and cover parts of neighbouring counties as well as parts of 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 unusual codes like EC1A 1AA.

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

Postcode lottery

Postcodes were devised solely for the purposes of sorting and directing mail and rarely coincide with political boundaries. However, over time they have become a geographical reference in their own right with postcodes and postcode groups becoming synonymous with certain towns and districts. Further to this, the postcode has been used by organisations for other applications including government statistics, marketing, calculation of car and household insurance premiums and credit referencing.

There are several groups, mostly on the fringes of major population centres, who are affected in one way or another by the associations of their postcode. There is a movement in Windsor and Maidenhead to change the first two characters of their postcodes from "SL" to "WM" for vanity as it is associated with Slough. A business man in Ilford wishes to have the postcode of IG1 changed to E19 as he claims customers do not realise his business based there is in London.

Residents of West Heath in SE2 wish to have their postcodes changed to that of adjacent Bexleyheath citing higher insurance premiums as reason to change. Some residents of Kingston Vale in SW15 wish to have their postcodes changed to adjacent Kingston upon Thames for the same reasons. Residents of Denham, Buckinghamshire have postcodes associated with Uxbridge which causes confusion to delivery drivers.

In all these cases Royal Mail has said that there is "virtually no hope" of changing their postcode referring to their policy of only changing postcodes to match changes in their operations. However, under this policy residents of Wirral had their postcodes changed from the "L" (Liverpool) to "CH" (Chester) group when a new sorting office was opened.

Some postcode areas straddle England's border with Wales and Scotland. Examples of such postcodes include CH4, HR3, SY10, NP16 and TD15. This has led to Sky Television subscribers receiving the wrong BBC and ITV regions, and newly-licensed radio amateurs being given incorrect callsigns.

Other cities' postcodes

Until the 1960s, cities such as Belfast, Birmingham, Edinburgh, Glasgow, Leeds, Liverpool, Manchester, Newcastle upon Tyne and Sheffield were divided into different postal districts, each with a number, e.g. Toxteth in Liverpool was Liverpool 8. When the national postcode system was introduced, these were incorporated into it, so that postcodes in Toxteth would start with L8, followed by the rest of the postcode. A similar system is still used in the Republic of Ireland for Dublin's postal districts.

Validation

The consequence of the complexity outlined above is that for almost every rule concerning UK postcodes, an exception can be found which breaks that rule. 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. Validation is usually performed against a copy of the "Postcode Address File" (PAF), which is generated by the Royal Mail and contains about 27 million UK commercial and residential addresses. However, even the PAF can not 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 following rules:

  • The postcode must be of 5, 6, 7, or 8 characters in length.
  • The outward code (the set of characters to the left of the space) must be 2, 3 or 4 characters in length
  • The first character of the outward code must be alphabetic.
  • The inward code (the set of characters to the right of the space) must always be 3 characters in length.
  • The first character of the inward code must be numeric.
  • The second and third characters of the inward code must be alphabetic.

A Regular expression that validates the format rather loosely is


/^[A-Z]{1,2}[0-9]{1,2}[A-Z]? ?[0-9][ABDEFGHJLNPQRSTUWXYZ]{2}$/i

All valid postcodes (except GIR 0AA and some of the Overseas Territories postcodes) will match this, but several invalid postcodes will also match.

Whilst, a more complete Regular expression is:


^([A-PR-UWYZ][A-HK-Y0-9][AEHMNPRTVXY0-9]?[ABEHMNPRVWXY0-9]? {1,2}[0-9][ABD-HJLN-UW-Z]{2}|GIR 0AA)$

Application

The PAF 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 references of postcodes in the address database, the postcode can be used automatically to pinpoint a postcode area on a map. See for an example of this in practice.

Northern Ireland

Northern Ireland was the last part of the UK to be postcoded, between 1970 and 1974. While Belfast was already divided into postal districts, rural areas, known as townlands, posed an additional problem, as many roads were not named, and houses were, similarly, not numbered. Consequently, many people living in such areas shared the same postal address, which still occurs in the Republic of Ireland.

Crown Dependencies

The Channel Islands (Jersey and Guernsey) and the Isle of Man established their own separate postal administrations 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.

Overseas Territories

Some of the UK's overseas territories have their own postcodes:

Unlike UK postcodes, these are used for all addresses in those territories. The reason why they were introduced is because mail was often sent to the wrong place, e.g: St Helena to St Helens, Merseyside, and even Ascension Island to Asunción, Paraguay. 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.

Postcode history

A Royal Mail Information Sheet (see External links below) describes how postcode trials were conducted in Norwich and Croydon. (It is possible that these two towns were selected because they had the letter O in their names at positions where the designers were thinking of using a digit. For example they may have had in mind for Norwich the Canadian format of LDL DLD.) Norwich was completely re-coded but the scheme tested in Croydon was sufficiently close to the final design for it to be retained.

Another early adopter of postcodes was Newport. Here, Newport itself was allocated NPT, in a similar way to Norwich and Croydon, with the surrounding towns allocated NP1-NP8. This lasted into the mid '80s when for operational reasons (NPT being non-standard, and too similar to NP7) it was finally recoded.

The legacy of the Croydon trial can still be seen today:

  • CR0 was the only postal district with a zero in that position when all others started at 1. This caused one of the PAF (see above) software products produced by the Royal Mail themselves to misbehave slightly! Subsequently, the "zeroth" district has been used in some other postcode areas, such as Blackburn and Harrow.
  • 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 the digit '0' and letter 'O' are often identical.

Australian Postcodes

Australian postcodes are numeric, consisting of four digits. They were introduced in the early 1970s by the Postmaster-General's Department (PMG), the predecessor of Australia Post.

See List of postal codes in Australia for more information.

See also


Looe   Index

This page is based on the Wikipedia article ''Postcode''. It is licensed under the GNU free documentation license.


Home