ISO 3166-1 Numeric Country Codes — Language-Independent Identifiers

Guide to ISO 3166-1 numeric three-digit country codes. Understand why they exist, where they are used, and how they relate to alpha-2 and alpha-3 codes.

Standards

Detailed Explanation

Why Numeric Codes Exist

ISO 3166-1 numeric codes are three-digit country identifiers that solve a fundamental problem: they work regardless of the script or alphabet used. While alpha-2 and alpha-3 rely on Latin characters, numeric codes are universally readable.

Structure and Assignment

Numeric codes are assigned by the UN Statistics Division and range from 004 (Afghanistan) to 894 (Zambia). They follow these rules:

  • Always three digits (leading zeros are significant: 004, not 4)
  • Not derived from the country name
  • Grouped loosely by geographic region
  • Codes 900-999 are reserved for user-defined purposes

Regional Groupings

Range Region Example
004-060 Afghanistan to Bermuda (mixed)
100-199 Includes Bulgaria, Cambodia, Cameroon
200-299 Includes Czechia, Egypt, Ethiopia
300-399 Includes Greece, India, Iran
400-499 Includes Japan, Kenya, Korea
500-599 Includes Mexico, Nepal, Pakistan
600-699 Includes Peru, Philippines, Qatar
700-799 Includes Singapore, Thailand, Turkey
800-899 Includes Uganda, Ukraine, USA

Where Numeric Codes Are Used

  1. UN statistics — Official demographic and economic data
  2. Customs and trade — Harmonized System (HS) codes reference numeric country codes
  3. Financial systems — ISO 4217 numeric currency codes (840 = USD, 826 = GBP)
  4. Barcode systems — GS1 prefixes map to numeric country codes
  5. Non-Latin script environments — Japanese, Chinese, Arabic systems
  6. Database systems — Integer storage is more efficient than VARCHAR

Numeric vs Alpha Codes

Feature Numeric Alpha-2 Alpha-3
Script independent Yes No No
Human readable Low Medium High
Storage (bytes) 2 (int16) 2 3
Sort order Geographic Alphabetical Alphabetical
Stability Very stable Stable Stable

Numeric codes are extremely stable. Even when alpha codes change (e.g., Burma to Myanmar), the numeric code (104) remained the same, ensuring database continuity.

Use Case

A global customs declaration system uses numeric country codes because operators in different countries use different scripts (Latin, Cyrillic, Chinese, Arabic). The three-digit numeric code 392 for Japan is universally readable regardless of the operator's language.

Try It — Country Code Reference

Open full tool