Credit cards have 13 to 19 digits, depending on the card network
The number on the front of your credit card is called the Primary Account Number, or PAN. Most cards issued today have 16 digits, though American Express cards have 15, and some specialty cards or older cards may have 13, 14, or 19. The digits are not random — they follow a specific structure that identifies your bank, your account, and includes a built-in error-check.
The length matters because payment systems use it to route your transaction to the right processor. If you enter a 16-digit number into a form that expects 15 digits, the transaction will fail. Knowing your card's digit count helps you troubleshoot entry errors and understand why a particular card might not work in certain older systems.
Key Takeaways
- Most credit cards have 16 digits, but American Express has 15, and some cards have 13, 14, or 19 digits depending on the issuer and card type.
- The first digit identifies the card network (Visa, Mastercard, American Express, Discover), and the next five or six digits identify your bank.
- The last digit is a check digit that validates the entire number using a mathematical formula called the Luhn algorithm.
- The middle digits represent your individual account number, which is unique to you within your bank's system.
- The card number itself is different from the CVV (the three or four-digit security code on the back), which is a separate piece of security information.
What each section of your card number means
Your card number breaks down into four parts. The first digit is the Major Industry Identifier, or MII. It tells the payment system what type of card it is: Visa cards start with 4, Mastercard with 5, American Express with 3, and Discover with 6. This digit alone is enough to identify the network.
The next five or six digits are the bank identification number, or BIN. These digits identify which bank or credit union issued your card. Two cards from the same bank will share the same BIN, but a card from a different bank will have a different one. Payment processors use the BIN to route your transaction to the correct issuer.
The middle digits (the exact count varies) make up your account number. This is the part that is unique to you. Your bank uses this section to look up your account in their system when a transaction comes through.
The last digit is the check digit. It is calculated from all the other digits using the Luhn algorithm, a mathematical formula that catches most typos. If you mistype one digit when entering your card number online, the check digit will not match, and the system will reject it before it even reaches your bank.
Why card length varies by network
Visa and Mastercard standardized on 16 digits decades ago, and that length has stuck. American Express chose 15 digits from the start and has never changed. Discover also uses 16 digits for most cards, though some specialty Discover cards may differ.
Older cards or cards from smaller regional issuers may have 13 or 14 digits. Some business cards and corporate accounts use 19 digits to fit additional account information. The variation exists because the card networks set their own standards, and older systems were grandfathered in rather than forced to migrate.
The length difference is why online forms sometimes ask you to select your card type before entering the number — the website uses your selection to validate the length you enter. If you do not select the right type, a 15-digit American Express number will fail in a form expecting 16 digits.
The difference between your card number and your CVV
Your card number and your CVV (Card Verification Value) are two separate security features. The card number is printed on the front of your card and is visible to anyone who sees it. The CVV is a three-digit code on the back of most cards, or a four-digit code on the front of American Express cards.
The CVV is not part of the card number and is not stored in the magnetic stripe or chip. It exists only on the physical card and in the card network's records. When you enter your CVV during an online purchase, the merchant sends it to the card network to verify that you have the physical card in your hand. The merchant never stores the CVV, and it should never appear on a receipt.
This separation is intentional: if someone steals your card number (through a data breach, for example), they cannot use it online without the CVV. And if someone sees your CVV written down, they cannot use it without the card number. Together, they form a two-part check that you authorized the transaction.
What happens if you enter the wrong number of digits
If you type in too few or too many digits, the payment system will reject the transaction before it reaches your bank. The Luhn algorithm catches most single-digit errors, and the length check catches transposition errors where you swap two digits or add an extra one.
Online forms often show an error message like "Invalid card number" or "Card number must be 16 digits" to help you correct it. If you are entering a card number into a form that does not accept the right length, the card type may not be supported by that merchant, or the form may be designed for a different region or card network.
If you repeatedly get a rejection and you are confident the number is correct, contact your card issuer to confirm the card is active and not flagged for fraud. Sometimes a card is temporarily blocked for security reasons, which will cause all transactions to fail regardless of where you are trying to use it.
How to find your card number if you need it
Your card number is printed on the front of your physical card, usually in raised numerals or printed text. If you have lost your card or do not have it with you, you can log into your bank's website or mobile app and view your card details there. Most banks display the full number in your account settings, though some show only the last four digits for security.
If you cannot access your online account, call your bank's customer service number (on the back of another card or on your statement) and ask them to read your card number to you. Never share your full card number with anyone except the merchant or payment processor you are paying, and never type it into an email or text message.
Frequently Asked Questions
Why does American Express have 15 digits instead of 16?
American Express set its own standard when it created the card network and chose 15 digits. Visa and Mastercard, which came later, chose 16. There is no technical reason one is better than the other — it is straightforward a choice each network made, and changing it now would break millions of existing systems.
Can I use a card with 13 digits the same way as a 16-digit card?
Yes, functionally they work the same way. The difference is only in how many digits the card number contains. Some older systems or international merchants may have trouble with unusual lengths, but most modern payment processors accept any valid length for the card network you are using.
Is the card number the same as the account number?
No. Your account number is part of your card number — it is the middle section of digits. Your card number is the full 13 to 19 digits. You may have multiple cards linked to the same account, and each card will have a different card number but the same underlying account.
What if I see a card number with spaces or dashes?
Spaces and dashes are just formatting for readability. When you enter your card number online, you typically type only the digits with no spaces. Some forms automatically add spaces as you type, but the system ignores them — only the digits themselves matter.
Can someone use my card if they only know the card number?
They cannot complete an online purchase without the CVV, expiration date, and your billing address. In person, they would need the physical card itself. However, a stolen card number is still a security risk — report it to your bank when ready so they can cancel the card and issue a replacement.