Luhn Algorithm

Embed This Widget

Theme


      
    

Widget powered by . Free, no account required.

The Luhn algorithm (also known as the Mod 10 algorithm) is a checksum formula used to validate identification numbers such as credit card numbers, IMEI codes, and some barcode systems. It doubles every second digit from right to left and reduces any result over 9 by subtracting 9, then checks that the total sum is divisible by 10.