In the United Kingdom, the Office for National Statistics maintains a series of codes to represent a wide range of geographical areas of the UK, for use in tabulating census and other statistical data. These codes are referred to as ONS codes or GSS codes referring to the Government Statistical Service of which ONS is part.
The previous hierarchical system of codes has been replaced as from January 2011 by a nine-character code for all types of geography, in which there is no relation between the code for a lower-tier area and the corresponding parent area. The older coding system has now been phased out.
Information from the 2011 Census is published for a wide variety of geographical units. These areas include:
Super Output Areas (SOAs) are a set of geographical areas developed following the 2001 census, initially to facilitate the calculation of the Indices of Deprivation 2004 and subsequently for a range of additional Neighbourhood Statistics (NeSS). The aim was to produce a set of areas of consistent size, whose boundaries would not change (unlike electoral wards), suitable for the publication of data such as the Indices of Deprivation. They are an aggregation of adjacent Output Areas with similar social characteristics. Lower Layer Super Output Areas (LSOAs) typically contain 4 to 6 OAs with a population of around 1500. Middle Layer Super Output Areas (MSOAs) on average have a population of 7,200. The hierarchy of Output Areas and the two tiers of Super Output Areas have become known as the Neighbourhood Statistics Geography.
The older ONS code was constructed top down:
12 for Cambridgeshire.
12UB for Cambridge district or
12UD for Fenland.
12UBGA for Petersfield Ward within Cambridge district.
12UDfor Fenland district, the parish of Tydd St. Giles was coded
The current system replaces these codes with a fixed length code of nine characters. The first three characters indicate the level of geography and the six digits following define the individual unit. For example, the Royal Borough of Greenwich is coded as
E09000011, Middlesbrough is
E07000008 and Fenland
|E00||W00||S00||N00||-||Census Output Area (OA); Small Areas (N)|
|E01||W01||S01||–||-||Lower layer Super Output Area (LSOA); Data Zone (S)|
|E02||W02||S02||–||-||Middle layer Super Output Area (MSOA); Intermediate Zone (S)|
|-||W03||-||–||-||Upper layer Super Output Area (USOA)|
|E04||W04||S35||–||-||Civil Parish (E/S); Community (W)|
|E05||W05||S13||N08||-||Ward or Electoral Division|
|E07||–||–||–||-||Non-Metropolitan District (two-tier)|
|E14||W07||S14||N06||-||Westminster Parliamentary Constituency|
|E15||W08||S15||N07||-||European Electoral Region|
|E18||-||-||-||L00 / M00||Strategic Health Authorities|
|E23||W15||S23||N23||-||Police Force Areas|
|-||-||-||N24||-||Police Force Districts|
|E32||W09||S16||–||-||London Assembly; Welsh Assembly; Scottish parliament constituency|
|–||W10||S17||–||-||Welsh Assembly; Scottish Parliament Electoral Region|
|E30||W22||S22||N12||K01||Travel to Work Areas|
|E34||W37||-||-||K05||Built Up Areas|
|E35||W38||-||-||K06||Built Up Area Sub-Divisions|
|E38||-||-||-||-||Clinical Commissioning Groups|
For a full and up-to-date listing of GSS names and codes, please follow the link to ONS Geography's Code History Database, below.