Validate a credit card number for all of the popular credit card companies using two different popular methods. First is the Luhn Algorithm that gets the proper checksum for the card, the second method is the Bin Number Checker.
The first six digit number on a bank card is know as the Bank Identification Number (BIN) which identifies the location of the bank that issued the card, while the latter portion identifies the specific name of the bank. BINs are traditionally used by online Merchants as a way to detect fraud by matching the geographic area where the cardholder is located to the geographic area identified in the Bank Identification Number. The term Issuer Identification Number (IIN) and Interbank Card Association Number (ICA) also refer to this same collection of numbers.
Interactive example of how we did the validation above using Luhn formula.
The check digit (x) is obtained by computing the sum of digits then computing 9 times that value modulo 10 (so that is: (86 * 9 mod 10)).
The left most digit on the card has a lot more meaning than what you may think. The table below outlines what the number means in the larger scheme of things.
Each card company is allotted a set number of prefixes they are allowed to use to generate their card numbers. You can think of these prefixes as being similar to area codes within a phone number. Each area code can tell you the state or province based on the first three digits of a ten digit phone number. The same can be done with the credit card prefix.
"Incredible, usually for testing we have to obfuscate live user data, but with your data I was able to create a 1,000 users in only a few minutes."
"Thanks this is exactly what I was looking for when I needed a lot of users created as test data."
"So glad I stumbled on this site. Now I would not be able to do my job without these helpful generators. Thanks."