A credit card includes many items of metadata. Most important ones are card holder name, account number, security code CVV, and expiration date. The algorithms for confirming the combination of metadata are only known to the issuing firm and should be confirmed with them for the aim of a good payment. Anyway, it is helpful to understand whether a card number is actually valid prior to performing such further confirmation with the bank.
It would perform SIX different checks on the entered credit card number. The validity checks are Personal Account Number Check, Luhn Algorithm Check, Major Industry Identifier Check, Issuer Identification Number Check, Card Number Length Check, and Bank Identification Number (BIN) Check. The result would one by one show which test the credit card number passed if not all. Most of the official banks or online credit card generator sites have few to all of these rules in place, making sure the given credit card numbers are valid. Below explains each check:
The personal account is a group of digits starting with the 7th digit all the way to the one next to the last. The checksum is the last number. For example: a credit card of 371459635398431 has the personal account of 63539843 and the checksum of 1. The goal of this check is to extract out the account part and checksum digit. When facing a typical 16-digt CC number, system designers would input the first 15 digits into the Luhn algorithm. This would produce a single number result. This result should match the 16th digit of the provided card.
The validator is to confirm that the credit card number solves the Luhn algorithm
This algorithm was made by Hans Peter Luhn who is an IBM expert and is explained in the American patient no 2,950,048. It was filed on the 6th of January in 1954 and was settled on the 23rd of August in 1960. The Luhn Algorithm is also called Modulus 10, Mod 10
How Luhn Algorithm validate a credit card number?
As an example,
|Drop the last digit||4||5||4||8||7||3||7||5||1||3||8||9||9||8||5||x|
|Reverse the digits||5||8||9||9||8||3||1||5||7||3||7||8||4||5||4||x|
|Multiple odd digits by two||10||8||18||9||16||3||2||5||14||3||14||8||8||5||8||x|
|Subtract nine to numbers over nine||1||8||9||9||7||3||2||5||5||3||5||8||8||5||8||x|
|Add all digits||1 + 8 + 9 + 9 + 7 + 3 + 2 + 5 + 5 + 3 + 5 + 8 + 8 + 5 + 8 = 86|
|Mod ten on Sum||85 Module 10 = 6 (the last number of card). This card check shows the card number is good.|
The first primary number of your credit card is the MII or Major Industry Identifier. It shows the category of the unit which released your credit card. Different MII numbers represent the following issuer categories.
|MII Digital Value||Issuer category|
|0||ISO/TC 68 and other industry assignments|
|2||Airlines and other industry assignments|
|3||Entertainment and travel|
|4||Banking and financial|
|5||Financial and banking|
|6||Banking and merchandizing|
|8||Telecommunications and other industry assignments|
The Issuer Identification Number Check (IIN), also called as the Bank Identification Number (BIN) requires to look at the first six, or more freshly with changes declared by the governing body, eight digits of the Primary Account Number (PAN). The PAN is the debit card or credit card number printed on the front of credit cards. 16 numbers but can be 10-19 numbers.
This check would verfiy which issuing brand the card belongs to. Each issuing network has certain prefix numbers as listed below in alphabetical order
|Issuing Network||Card Number Prefix|
|American Express (AmEx)||34, 37|
|China UnionPay||62, 88|
|Diners Club International (DCI)||300-305, 309, 36, 38-39|
|Discover Card||6011, 622126-622925, 644-649, 65|
|Japan Credit Bureau (JCB)||3528-3589|
|Maestro||5018, 5020, 5038, 5612, 5893, 6304, 6759, 6761, 6762, 6763, 0604, 6390|
|RuPay||60, 6521, 6522|
|Visa Electron||4026, 417500, 4405, 4508, 4844, 4913, 4917|
** Mastercard prefixes have been in the range of 51-55 for a long time. The new range 2221-2720 have become effective since 2017. Many Mastercard payment cards starting with this new range have appeared in the market, expecting to see more of those in the coming years.
Each issuer has different number length for their credit cards as below:
|Issuing Network||Card Number Length|
|American Express (AmEx)||15|
|Diners Club International (DCI)||14-19|
|Japan Credit Bureau (JCB)||16-19|
For this check, our app would look at the all first 6 to 8 digits. Then it would look up with a latest BIN database to produce any hidden information underneath, such as: Bank Name, Bank Address, Website, Contact, Issuer Details…
By definitions above, examples of some GOOD inputs:
Examples of some BAD inputs with explanation:
This service is free, secure, and 100% safe to check. The only danger is if any person is looking over your shoulders while you are on with it.
We cannot and would not access any data you add in the site, including your credit card numbers. All the computations are done in the discreet manner that your credit card number would remain in safety with you.
You can also contact us for details over how the validation works behind the scene. We can ensure that there is not any kind of saving data here. The server communication is 100% secure.
If you are still not sure, feel free to consult an expert about the safety of this so-good online credit card validator.
The account number is 90372100. The checksum is 7
The input card number satified the legendary Luhn Algorithm
The primary number is 5. The card is under Financial and banking
The provided card number belongs to MasterCard
The provided card number satisfied MasterCard 15 digits in length
If there is any BIN information. It will show
|Issuer||AMERICAN EXPRESS US CONSUMER|
|Currency||USD (United States dollar)|