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.
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
- UN statistics — Official demographic and economic data
- Customs and trade — Harmonized System (HS) codes reference numeric country codes
- Financial systems — ISO 4217 numeric currency codes (840 = USD, 826 = GBP)
- Barcode systems — GS1 prefixes map to numeric country codes
- Non-Latin script environments — Japanese, Chinese, Arabic systems
- 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
Related Topics
ISO 3166-1 Alpha-2 Codes — The Two-Letter Country Standard
Standards
Alpha-3 vs Alpha-2 Country Codes — When to Use Each
Standards
Country Codes in Payment Processing and Financial Systems
Industry
Country Codes in International Shipping and Logistics
Industry
Historical Country Code Changes — Renamed, Split, and Merged Countries
Historical