UN M.49 region code lookup
The UN M.49 standard assigns a 3-digit numeric code to every country plus a tree of regions and sub-regions used to aggregate global statistics. Where ISO 3166 stops at the country level, M.49 adds codes for groupings like Europe (150), Sub-Saharan Africa (202), and the whole World (001). This tool lets you search the codes and see how they nest.
How it works
M.49 organises the planet into a hierarchy. At the top sits World (001). Below it are continental regions — Africa (002), Americas (019), Asia (142), Europe (150), and Oceania (009). Each region splits into sub-regions such as Western Europe (155), and some carry an intermediate region layer like Western Africa (011).
Individual country codes reuse the ISO 3166-1 numeric values exactly, so the United Kingdom is 826 and Japan is 392 in both systems. Every code is written as three digits with leading zeros (050, not 50) so that fixed-width parsing and alphabetical sorting behave predictably.
Tips and notes
- Always preserve the leading zeros when storing M.49 codes as strings; treating them as integers drops the zero and breaks joins.
- The grouping codes (regions, sub-regions) have no ISO 3166 equivalent — they exist only in M.49, which is precisely why it is useful for aggregation.
- The hierarchy is a strict tree: every country rolls up through exactly one sub-region or intermediate region to a region and finally to World.