ONS coding system
|
The Office for National Statistics coding system is a hierarchical code used in the United Kingdom for tabulating census and other statistical data.
Contents |
Authorities, wards, and census areas
The code is constructed top down from a 4 character code representing a unitary authority or administrative county & district, eg:
00EC | Middlesbrough (unitary) |
or | |
---|---|
12 | Cambridgeshire county |
12UB | Cambridge district |
Local Government wards have a two-letter code within their local authority, and census Output Areas an additional 4 digits within a ward. Output Areas are the smallest unit for which census data is published - they contain at least 40 households (preferably 100), and are built up from postcode blocks after the census data is available, with a view to being socially as homogeneous as possible. A new set of Output Areas will be created for each decennial census. Census 2001 was the first to use this system - previously census data was published for larger Enumeration Districts which were delineated before the census was conducted. Enumeration Districts are still used for the collection of data but not for publication.
12UB | Cambridge district |
12UBGA | Petersfield Ward |
12UBGA0001 | Output Area: Gwydir Street (north of junction with Hooper St) |
The authority and ward codes are recognised by Eurostat as Local administrative unit code levels 1 & 2 within the NUTS system.
Civil parishes
An overlapping system encodes Civil Parish areas. Parishes are represented by an additional 3 digits within their local authority:
12UD | Fenland district |
12UD010 | Tydd St. Giles parish |
ONS codes for counties & districts
Also showing NUTS(3) codes thus: (UKH12)
Single-tier districts
- Special area
00AA (UKI11)
City of London
- London boroughs
00AB (UKI21)
Barking and Dagenham00AC (UKI23)
Barnet00AD (UKI21)
Bexley00AE (UKI23)
Brent00AF (UKI22)
Bromley00AG (UKI11)
Camden00AH (UKI22)
Croydon00AJ (UKI23)
Ealing00AK (UKI21)
Enfield00AL (UKI21)
Greenwich00AM (UKI12)
Hackney00AN (UKI11)
Hammersmith and Fulham00AP (UKI12)
Haringey00AQ (UKI23)
Harrow00AR (UKI21)
Havering00AS (UKI23)
Hillingdon00AT (UKI23)
Hounslow00AU (UKI12)
Islington00AW (UKI11)
Kensington and Chelsea00AX (UKI22)
Kingston upon Thames00AY (UKI12)
Lambeth00AZ (UKI12)
Lewisham00BA (UKI22)
Merton00BB (UKI12)
Newham00BC (UKI21)
Redbridge00BD (UKI23)
Richmond upon Thames00BE (UKI12)
Southwark00BF (UKI22)
Sutton00BG (UKI12)
Tower Hamlets00BH (UKI21)
Waltham Forest00BJ (UKI11)
Wandsworth00BK (UKI11)
Westminster
- Greater Manchester districts
- Merseyside districts
- South Yorkshire districts
- Tyne and Wear districts
00CH (UKC22)
Gateshead00CJ (UKC22)
Newcastle-upon-Tyne00CK (UKC22)
North Tyneside00CL (UKC22)
South Tyneside00CM (UKC23)
Sunderland
- West Midlands districts
00CN (UKG31)
Birmingham00CQ (UKG33)
Coventry00CR (UKG34)
Dudley00CS (UKG34)
Sandwell00CT (UKG32)
Solihull00CU (UKG35)
Walsall00CW (UKG35)
Wolverhampton
- West Yorkshire districts
00CX (UKE41)
Bradford00CY (UKE43)
Calderdale00CZ (UKE43)
Kirklees00DA (UKE42)
Leeds00DB (UKE43)
Wakefield
- Unitary authorities - North East England region
00EB (UKC11)
Hartlepool00EC (UKC12)
Middlesbrough00EE (UKC12)
Redcar and Cleveland00EF (UKC11)
Stockton-on-Tees00EH (UKC13)
Darlington
- Unitary authorities - North West England region
00ET (UKD21)
Halton00EU (UKD21)
Warrington00EX (UKD41)
Blackburn with Darwen00EY (UKD42)
Blackpool
- Unitary authorities - Yorkshire and the Humber region
00FA (UKE11)
Kingston upon Hull00FB (UKE12)
East Riding of Yorkshire00FC (UKE13)
North East Lincolnshire00FD (UKE13)
North Lincolnshire00FF (UKE21)
York
- Unitary authorities - East Midlands region
00FK (UKF11)
Derby00FN (UKF21)
Leicester00FP (UKF22)
Rutland00FY (UKF14)
Nottingham
- Unitary authorities - West Midlands region
00GA (UKG12)
Herefordshire00GF (UKG21)
Telford and Wrekin00GL (UKG23)
Stoke-on-Trent
- Unitary authorities - South West England region
00HA (UKK12)
Bath and North East Somerset00HB (UKK11)
Bristol00HC (UKK12)
North Somerset00HD (UKK12)
South Gloucestershire00HG (UKK41)
Plymouth00HH (UKK42)
Torbay00HN (UKK21)
Bournemouth00HP (UKK21)
Poole00HX (UKK14)
Swindon
- Unitary authorities - East of England region
00JA (UKH11)
Peterborough00KA (UKH21)
Luton00KF (UKH31)
Southend-on-Sea00KG (UKH32)
Thurrock
- Unitary authorities - South East England region
00LC (UKJ41)
Medway00MA (UKJ11)
Bracknell Forest00MB (UKJ11)
West Berkshire00MC (UKJ11)
Reading00MD (UKJ11)
Slough00ME (UKJ11)
Windsor and Maidenhead00MF (UKJ11)
Wokingham00MG (UKJ12)
Milton Keynes00ML (UKJ21)
Brighton and Hove00MR (UKJ31)
Portsmouth00MS (UKJ32)
Southampton00MW (UKJ34)
Isle of Wight
- Welsh authorities
00NA (UKL11)
Isle of Anglesey00NC (UKL12)
Gwynedd00NE (UKL13)
Conwy00NG (UKL13)
Denbighshire00NJ (UKL23)
Flintshire00NL (UKL23)
Wrexham00NN (UKL24)
Powys00NQ (UKL14)
Ceredigion00NS (UKL14)
Pembrokeshire00NU (UKL14)
Carmarthenshire00NX (UKL18)
Swansea00NZ (UKL17)
Neath Port Talbot00PB (UKL17)
Bridgend00PD (UKL22)
Vale of Glamorgan00PF (UKL15)
Rhondda Cynon Taff00PH (UKL15)
Merthyr Tydfil00PK (UKL16)
Caerphilly00PL (UKL16)
Blaenau Gwent00PM (UKL16)
Torfaen00PP (UKL21)
Monmouthshire00PR (UKL21)
Newport00PT (UKL22)
Cardiff
- Scottish districts
00QA (UKM10)
Aberdeen00QB (UKM10)
Aberdeenshire00QC (UKM21)
Angus00QD (UKM31/43)
Argyll and Bute00QE (UKM24)
Scottish Borders00QF (UKM22)
Clackmannanshire00QG (UKM31)
West Dunbartonshire00QH (UKM32)
Dumfries and Galloway00QJ (UKM21)
Dundee00QK (UKM33)
East Ayrshire00QL (UKM31)
East Dunbartonshire00QM (UKM23)
East Lothian00QN (UKM35)
East Renfrewshire00QP (UKM25)
Edinburgh00QQ (UKM26)
Falkirk00QR (UKM22)
Fife00QS (UKM34)
Glasgow00QT (UKM41/42/43)
Highland00QU (UKM35)
Inverclyde00QW (UKM23)
Midlothian00QX (UKM10/42)
Moray00QY (UKM33/43)
North Ayrshire00QZ (UKM36)
North Lanarkshire00RA (UKM45)
Orkney Islands00RB (UKM27)
Perth and Kinross00RC (UKM35)
Renfrewshire00RD (UKM46)
Shetland Islands00RE (UKM37)
South Ayrshire00RF (UKM38)
South Lanarkshire00RG (UKM27)
Stirling00RH (UKM28)
West Lothian00RJ (UKM44)
Eilean Siar (Western Isles)
Two-tier counties & districts
01-07
obsolete, were London & the Metropolitan Counties08
obsolete, was Avon09 (UKH22)
Bedfordshire09UC
Mid Bedfordshire09UD
Bedford09UE
South Bedfordshire
10
obsolete, was Berkshire11 (UKJ13)
Buckinghamshire11UB
Aylesbury Vale11UC
Chiltern11UE
South Bucks11UF
Wycombe
12 (UKH12)
Cambridgeshire12UB
Cambridge12UC
East Cambridgeshire12UD
Fenland12UE
Huntingdonshire12UG
South Cambridgeshire
13 (UKD22)
Cheshire13UB
Chester13UC
Congleton13UD
Crewe and Nantwich13UE
Ellesmere Port and Neston13UG
Macclesfield13UH
Vale Royal
14
obsolete, was Cleveland15 (UKK30)
Cornwall and Scilly15UB
Caradon15UC
Carrick15UD
Kerrier15UE
North Cornwall15UF
Penwith15UG
Restormel15UH
Isles of Scilly
16
Cumbria16UB (UKD11)
Allerdale16UC (UKD11)
Barrow-in-Furness16UD (UKD12)
Carlisle16UE (UKD11)
Copeland16UF (UKD12)
Eden16UG (UKD12)
South Lakeland
17
Derbyshire17UB (UKF13)
Amber Valley17UC (UKF12)
Bolsover17UD (UKF12)
Chesterfield17UF (UKF13)
Derbyshire Dales17UG (UKF13)
Erewash17UH (UKF13)
High Peak17UJ (UKF12)
North East Derbyshire17UK (UKF13)
South Derbyshire
18 (UKK43)
Devon18UB
East Devon18UC
Exeter18UD
Mid Devon18UE
North Devon18UG
South Hams18UH
Teignbridge18UK
Torridge18UL
West Devon
19 (UKK22)
Dorset19UC
Christchurch19UD
East Dorset19UE
North Dorset19UG
Purbeck19UH
West Dorset19UJ
Weymouth and Portland
20 (UKC14)
County Durham20UB
Chester-le-Street20UD
Derwentside20UE
Durham20UF
Easington20UG
Sedgefield20UH
Teesdale20UJ
Wear Valley
21 (UKJ22)
East Sussex21UC
Eastbourne21UD
Hastings21UF
Lewes21UG
Rother21UH
Wealden
22 (UKH33)
Essex22UB
Basildon22UC
Braintree22UD
Brentwood22UE
Castle Point22UF
Chelmsford22UG
Colchester22UH
Epping Forest22UJ
Harlow22UK
Maldon22UL
Rochford22UN
Tendring22UQ
Uttlesford
23 (UKK13)
Gloucestershire23UB
Cheltenham23UC
Cotswold23UD
Forest of Dean23UE
Gloucester23UF
Stroud23UG
Tewkesbury
24 (UKJ33)
Hampshire24UB
Basingstoke and Deane24UC
East Hampshire24UD
Eastleigh24UE
Fareham24UF
Gosport24UG
Hart24UH
Havant24UJ
New Forest24UL
Rushmoor24UN
Test Valley24UP
Winchester
25
obsolete, was Hereford and Worcester26 (UKH23)
Hertfordshire26UB
Broxbourne26UC
Dacorum26UD
East Hertfordshire26UE
Hertsmere26UF
North Hertfordshire26UG
St Albans26UH
Stevenage26UJ
Three Rivers26UK
Watford26UL
Welwyn Hatfield
27
obsolete, was Humberside28
obsolete, was Isle of Wight county29 (UKJ42)
Kent29UB
Ashford29UC
Canterbury29UD
Dartford29UE
Dover29UG
Gravesham29UH
Maidstone29UK
Sevenoaks29UL
Shepway29UM
Swale29UN
Thanet29UP
Tonbridge and Malling29UQ
Tunbridge Wells
30 (UKD43)
Lancashire30UD
Burnley30UE
Chorley30UF
Fylde30UG
Hyndburn30UH
Lancaster30UJ
Pendle30UK
Preston30UL
Ribble Valley30UM
Rossendale30UN
South Ribble30UP
West Lancashire30UQ
Wyre
31 (UKF22)
Leicestershire31UB
Blaby31UC
Charnwood31UD
Harborough31UE
Hinckley and Bosworth31UG
Melton31UH
North West Leicestershire31UJ
Oadby and Wigston
32 (UKF30)
Lincolnshire32UB
Boston32UC
East Lindsey32UD
Lincoln32UE
North Kesteven32UF
South Holland32UG
South Kesteven32UH
West Lindsey
33 (UKH13)
Norfolk33UB
Breckland33UC
Broadland33UD
Great Yarmouth33UE
King's Lynn and West Norfolk33UF
North Norfolk33UG
Norwich33UH
South Norfolk
34 (UKF23)
Northamptonshire34UB
Corby34UC
Daventry34UD
East Northamptonshire34UE
Kettering34UF
Northampton34UG
South Northamptonshire34UH
Wellingborough
35 (UKC21)
Northumberland35UB
Alnwick35UC
Berwick-upon-Tweed35UD
Blyth Valley35UE
Castle Morpeth35UF
Tynedale35UG
Wansbeck
36 (UKE22)
North Yorkshire36UB
Craven36UC
Hambleton36UD
Harrogate36UE
Richmondshire36UF
Ryedale36UG
Scarborough36UH
Selby
37
Nottinghamshire37UB (UKF15)
Ashfield37UC (UKF15)
Bassetlaw37UD (UKF16)
Broxtowe37UE (UKF16)
Gedling37UF (UKF15)
Mansfield37UG (UKF15)
Newark and Sherwood37UJ (UKF16)
Rushcliffe
38 (UKJ14)
Oxfordshire38UB
Cherwell38UC
Oxford38UD
South Oxfordshire38UE
Vale of White Horse38UF
West Oxfordshire
39 (UKG22)
Shropshire39UB
Bridgnorth39UC
North Shropshire39UD
Oswestry39UE
Shrewsbury and Atcham39UF
South Shropshire
40 (UKK23)
Somerset40UB
Mendip40UC
Sedgemoor40UD
South Somerset40UE
Taunton Deane40UF
West Somerset
41 (UKG24)
Staffordshire41UB
Cannock Chase41UC
East Staffordshire41UD
Lichfield41UE
Newcastle-under-Lyme41UF
South Staffordshire41UG
Stafford41UH
Staffordshire Moorlands41UK
Tamworth
42 (UKH14)
Suffolk42UB
Babergh42UC
Forest Heath42UD
Ipswich42UE
Mid Suffolk42UF
St. Edmundsbury42UG
Suffolk Coastal42UH
Waveney
43 (UKJ23)
Surrey43UB
Elmbridge43UC
Epsom and Ewell43UD
Guildford43UE
Mole Valley43UF
Reigate and Banstead43UG
Runnymede43UH
Spelthorne43UJ
Surrey Heath43UK
Tandridge43UL
Waverley43UM
Woking
44 (UKG13)
Warwickshire44UB
North Warwickshire44UC
Nuneaton and Bedworth44UD
Rugby44UE
Stratford-on-Avon44UF
Warwick
45 (UKJ24)
West Sussex45UB
Adur45UC
Arun45UD
Chichester45UE
Crawley45UF
Horsham45UG
Mid Sussex45UH
Worthing
46 (UKK15)
Wiltshire46UB
Kennet46UC
North Wiltshire46UD
Salisbury46UF
West Wiltshire
47 (UKG12)
Worcestershire47UB
Bromsgrove47UC
Malvern Hills47UD
Redditch47UE
Worcester47UF
Wychavon47UG
Wyre Forest
Northern Ireland districts
95A (UKN04)
Derry95B (UKN04)
Limavady95C (UKN04)
Coleraine95D (UKN04)
Ballymoney95E (UKN04)
Moyle95F (UKN03)
Larne95G (UKN03)
Ballymena95H (UKN05)
Magherafelt95I (UKN05)
Cookstown95J (UKN04)
Strabane95K (UKN05)
Omagh95L (UKN05)
Fermanagh95M (UKN05)
Dungannon and South Tyrone95N (UKN03)
Craigavon95O (UKN05)
Armagh95P (UKN05)
Newry and Mourne95Q (UKN03)
Banbridge95R (UKN03)
Down95S (UKN02)
Lisburn95T (UKN03)
Antrim95U (UKN02)
Newtownabbey95V (UKN02)
Carrickfergus95W (UKN02)
North Down95X (UKN03)
Ards95Y (UKN02)
Castlereagh95Z (UKN01)
Belfast
Non-hierarchical codes for summary data in metropolitan areas
1B
Inner London1C
Outer London2A
Greater Manchester2B
Merseyside2C
South Yorkshire2D
Tyne and Wear2E
West Midlands2F
West Yorkshire
External links
- ONS Beginners' Guide to UK Geography (http://www.statistics.gov.uk/geography/beginners_guide.asp)