UN M49, formally known as the Standard Country or Area Codes for Statistical Use (Series M, No. 49), is a standard for area codes used by the United Nations for statistical purposes, developed and maintained by the United Nations Statistics Division (UNSD).
Each area code is a three-digit number that can refer to a wide variety of geographical and political regions, including continents, subregions, countries, and territories. The codes are designed to remain stable over time: they generally do not change when a country or area's name changes (unlike ISO 3166-1 alpha-2 or alpha-3 codes), but instead change only when the territorial extent of the country or area changes significantly.
The standard was first released in 1970 as a print publication (Series M, No. 49). The last print edition was issued in 1999. The system is now maintained and published online by UNSD.
Key characteristics:
- Numeric codes: Unlike ISO 3166, which uses alphabetical codes (e.g., "US" for the United States), UN M49 uses three-digit numeric codes (e.g., 840 for the United States). Numeric codes are considered more resistant to changes arising from geopolitical conflicts or name changes.
- Hierarchical structure: The system organizes the world into hierarchical groupings. For example, the code 001 represents the World; 019 represents the Americas; 003 represents North America; 013 represents Central America; 029 represents the Caribbean; and 005 represents South America.
- Usage: The codes are used extensively by UN agencies and other international organizations for statistical data compilation and reporting. They are also referenced in the IANA registry for region subtags in language tags (BCP 47 / RFC 5646) and by the Unicode Common Locale Data Repository (CLDR) for territory containment.
Relationship to ISO 3166: Some of the UN M49 codes representing countries and territories were incorporated into the ISO 3166-1 standard in its second edition in 1981. However, UN M49 also includes codes for supranational regions (continents and subregions) that are not part of ISO 3166-1.
The UNSD notes that the assignment of countries or areas to specific groupings is for statistical convenience and does not imply any political or other affiliation.