The last number of the IMEI is a check digit. The Check Digit is calculated according to Luhn formula.
The Check Digit is a function of all other digits in the IMEI. The purpose of the Check Digit is to help guard against the possibility of incorrect entries to the CEIR and EIR equipment.
The check digit is validated in three steps: