How to validate a Credit Card number [Infographics]

By Sudipto   October 8, 2011

All credit card numbers follow a simple mathematical algorithm and are not just any random numbers. This mathematical algorithm was created by IBM scientist Hans Peter Luhn and is known as Luhn algorithm (also known as modulus 10 algorithm). These days this algorithm is majorly used as a simple checksum to validate many identification numbers such as Credit cards and IMEI numbers. The below image will explain in detail how this algorithm works to validate a Credit Card number.

View all posts by Sudipto
Sudipto's Website / Google+

Do you like this article?

Previous post:

Next post: