This algorithm is used to validate credit card numbers, among other sets of numbers, to ensure that they have been typed in correctly BEFORE authorization for approval is requested. Most credit card companies, like VISA, Mastercard, AMEX use it to cut down on approval time if the card has not been typed in properly. Get your credit card out and try it if you like.
Luhn Algorithm - Validating credit card numbers among other things since 1954
Enter your Card Number here (no blanks - no dashes): Card Type: MasterCard Visa American Express Diners Club Discover enRoute JCB Expiration Date: Month 1 2 3 4 5 6 7 8 9 10 11 12 Year (Range: 1997~2020)