ICCID (Integrated Circuit Card Identifier) – ICCID is a unique serial number of A SIM card .
ICCIDs are stored in the SIM cards and are also printed on the SIM card during a personalisation process. The ICCID is defined by the ITU-T recommendation E.118 as the Primary Account Number. A full ICCID is 19 or 20 characters.
Sometimes it happens that on the SIM card is printed only the last 13 digits of ICCID number. On this basis, the network operator is able to identify the card while online checker may show incorrect check results.
The format of the ICCID is: MMCC IINN NNNN NNNN NN C x
MM = Constant (ISO 7812 Major Industry Identifier)
CC = Country Code
II = Issuer Identifier
N{12} = Account ID (“SIM number”)
C = Checksum calculated from the other 19 digits using the Luhn algorithm.
x = An extra 20th digit is returned by the ‘AT!ICCID?’ command, but it is not officially part of the ICCID.
Each SIM is internationally identified by its integrated circuit card identifier (ICCID). ICCIDs are stored in the SIM cards and are also engraved or printed on the SIM card body during a process called personalisation. The ICCID is defined by the ITU-T recommendation E.118 as the Primary Account Number. Its layout is based on ISO/IEC 7812. According to E.118, the number is up to 22 digits long, including a single check digit calculated using the Luhn algorithm. However, the GSM Phase 1[8] defined the ICCID length as 10 octets (20 digits) with operator-specific structure.
The number is composed of the following subparts:
- Issuer identification number (IIN) : Maximum of seven digits:
- Major industry identifier (MII), 2 fixed digits, 89 for telecommunication purposes.
- Country code, 1–3 digits, as defined by ITU-T recommendation E.164.
- Issuer identifier, 1–4 digits.
- Individual account identification : Individual account identification number. Its length is variable, but every number under one IIN will have the same length.
- Check digit : Single digit calculated from the other digits using the Luhn algorithm.
With the GSM Phase 1 specification using 10 octets into which ICCID is stored as packed BCD, the data field has room for 20 digits with hexadecimal digit “F” being used as filler when necessary.
In practice, this means that on GSM SIM cards there are 20-digit (19+1) and 19-digit (18+1) ICCIDs in use, depending upon the issuer. However, a single issuer always uses the same size for its ICCIDs.
To con