Credit Card Number Validator
Check if a card number passes the Luhn checksum and identify its network.
Assumptions used in this calculation
- Format check only: This only checks the Luhn checksum and prefix, it does not verify the card is real, active, or has funds.
About this calculator
The credit card validator checks whether a card number passes the Luhn (mod 10) checksum algorithm and identifies its likely card network from the prefix.
Worked example
A sample Visa test number
Result: Valid, Visa
Was this helpful?