. It was created for coding the names of subdivisions of 
ISO 3166-2 codes consist of two parts, separated by "-". The first part is the 
 alpha-2 code element, the second is alphabetic or numeric and has one, two or three digits. The second part often is based on national standards.
. If you are familiar with the two-letter codes, you can also use the format matrix given below, or the short cut ISO 3166-2:XX, where XX stands for the ISO 3166-1 code, e.g. 
| length
 | alpha
 | numeric
 | alpha-numeric
 | 
constant 1 char
 | 
AR, BO[?], CR[?], EC, FJ[?], GM[?], KG, KI[?], KM[?], LS[?], LU[?], MG[?], NE[?], RW[?], SL[?], ST[?], TG[?], TM, VE
 | 
GA[?], IS[?]
 | 
PA[?]
 | 
constant 2 chars
 | 
AE, AL[?], AM[?], AU, BI, BJ[?], BN[?], BI, BJ[?], BR, BS[?], BW[?], BY[?], CA, CD[?], CF[?], CH, CL[?], CM[?], CV[?], CZ[?], DE, DJ[?], DO[?], ER[?], ET, FI, GE, GH[?], GN[?], GT[?], GW[?], GY[?], HN[?], HT[?], HU[?], ID, IN, IT[?], IQ[?], JO[?], KW[?], LA, LB[?], LR[?], LT[?], LV[?], LY[?], MD, MU, MW[?], NA[?], NG[?], NI[?], NL[?], NP[?], OM[?], PK[?], PL[?], QA[?], SB[?], SH[?], SK[?], SN[?], SO[?], SR[?], SV[?], SY[?], SZ[?], TJ, TL, US, UY[?], UZ, WS[?], YE, YU[?], ZA[?], ZW[?]
 | 
BD[?], BG[?], BH[?], CI[?], CN[?], CU[?], CY[?], DO[?], DZ[?], EE[?], FR[?], GR[?], HR[?], IR[?], JM[?], JP, KR[?], LK[?], MM[?], NO, PT[?], SA[?], SD[?], TN[?], TR[?], TZ[?], UA[?], UM[?], VN[?], ZM[?]
 | 
BT[?]
 | 
constant 3 chars
 | 
AO[?], AF[?], BA[?], BE, BF[?], CZ[?], FM[?], GB, KP, KZ, MA[?], MD, MH[?], MX, NZ, PE[?], PG[?], PH[?], TT[?], TW, UG[?]
 | 
DK[?], KE[?], SI, VU[?]
 | 
 
 | 
mixed 1,2 chars
 | 
no system?: ES, GQ[?], IE[?], MY[?], SE
 
1 for regions, 2 for capital: KG
 
1 for capital, 2 for departments: RO
 
IL[?]
 | 
KH
 | 
TH
 | 
mixed 2,3
 | 
?:BZ[?], EG[?], TD[?]
 
2 for republics, 3 for cities, regions, districts: RU[?]
 
2 for cities, 3 for rayons: AZ[?]
 
2 for capital, 3 other: ??[?]
 | 
 
 | 
MR[?], MV[?]
 | 
mixed 1,3
 | 
MZ[?]
 | 
MN[?]
 | 
ML[?]
 | 
mixed 1,2,3
 | 
 
 | 
 
 | 
CG[?], PY[?]
 |