The check digit is the right-most digit. This number is compared with the result of running the Luhn algorithm through all other digits. If the result and the check digit are equal, the number is valid.
Read more