UN M49
UN M49 or the Standard Country or Area Codes for Statistical Use is a standard for area codes used by the United Nations for statistical purposes, developed and maintained by the United Nations Statistics Division. Each area code is a 3-digit number which can refer to a wide variety of geographical and political regions, like a continent and a country. Codes assigned in the system generally do not change when the country or area's name changes, but instead change when the territorial extent of the country or area changes significantly, although there have been exceptions to this rule.
Some of these codes, those representing countries and territories, were first included as part of the ISO 3166-1 standard in its second edition in 1981, but they have been released by the United Nations Statistics Division since 1970.
Another part of these numeric codes, those representing geographical supranational regions, was also included in the IANA registry for region subtags for use within language tags, as specified in IETF's BCP 47.
Code lists
M.49 area codes- 001 World
- * 019 Americas :
- ** 003 North America
- *** 021 Northern America :,,,,
- *** 013
- *** 029
- **
- *** 013 Central America :,,,,,,,
- *** 029 Caribbean :,,,,,,,,,,,,,,,,,,,,,,,,,,,
- ** 419 Latin America and the Caribbean
- *** 013
- *** 029
- *** 005 South America :,,,,,,,,,,,,,,,
- * 150 Europe
- ** 154 Northern Europe :,,,,,,,,,,,,,,,
- ** 155 Western Europe :,,,,,,,,
- ** 151 Eastern Europe :,,,,,,,,,
- ** 039 Southern Europe :,,,,,,,,,,,,,,,
- * 142 Asia
- ** 145 Western Asia :,,,,,,,,,,,,,,,,,
- ** 143 Central Asia :,,,,
- ** 030 Eastern Asia :,,,,,,
- ** 034 Southern Asia :,,,,,,,,
- ** 035 South-eastern Asia :,,,,,,,,,,
- * 002 Africa
- **
- *** 015 Northern Africa :,,,,,,
- ** 202 Sub-Saharan Africa
- *** 011 Western Africa :,,,,,,,,,,,,,,,,
- *** 017 Middle Africa :,,,,,,,,
- *** 014 Eastern Africa : ,,,,,,,,,,,,,,,,,,,,,
- *** 018 Southern Africa ,,,,
- * 009 Oceania
- ** 054 Melanesia :,,,,
- ** 053 Australia and New Zealand :,, 166,,,
- ** 057 Micronesia :,,,,,,,
- ** 061 Polynesia :,,,,,,,,,
- * 010 Antarctica :
| Code | Area |
| 024 | Angola |
| 591 | Panama |
| 496 | Mongolia |
| 554 | New Zealand |
| 756 | Switzerland |
| 830 | Channel Islands |
Private-use codes and reserved codes
Beside the codes standardized above, the numeric codes 900 to 999 are reserved for private-use in ISO 3166-1 and in the UN M.49 standard. They may be used for any other groupings or subdivision of countries, territories and regions.Some of these private-use codes may be found in some UN statistics reports and databases, for their own specific purpose. They are not portable across databases from third parties, and may be changed without notice.
Note that the code 000 is reserved and not used for defining any region. It is used in absence of data, or for data in which no region is applicable. For unknown or unencoded regions, private-use codes should preferably be used.
For example, the Unicode Common Locale Data Repository uses 961 for its grouping Outlying Oceania.
Extensions to M.49
Early editions of M.49 used one- or two-digit affixes to designate economic regions rather than assigning 3-digit codes to them.The two-digit prefixes were designed to be used to easily aggregate data through the use of prefix matching, and regions could be specified collectively by using the 000 code as a base to which the prefix would be added. For example, by prefixing 13 to Algeria's code, 012, to create the five-digit code 13 012, Algeria could be identified as being in North Africa, which is itself in Africa.
One-digit suffixes were also permitted, to specify statistics of subdivisions of countries. For example, by suffixing 5 to the code for the United Kingdom 826 to create the four-digit code 826 5, Scotland could be represented as a subdivision of the United Kingdom.