A standard credit card number is 16 digits long
Most credit cards issued in the United States have 16 digits printed on the front. American Express is the main exception — AmEx cards carry 15 digits. Some specialty cards, like certain business or international cards, may have a different length, but 16 is what you'll see on the vast majority of Visa, Mastercard, and Discover cards you encounter.
The length matters because payment systems use it as a basic check that a card number is formatted correctly. If you're entering a card number online and the form rejects it after you've typed 15 digits, that's often a sign the merchant's system expects 16. Knowing your card's actual length prevents that frustration.
Key Takeaways
- Most U.S. credit cards have 16 digits; American Express has 15.
- The first digit identifies the card network (4 for Visa, 5 for Mastercard, 3 for American Express, 6 for Discover).
- Digits 2 through 6 identify the bank that issued your card.
- The last digit is a check digit that validates the entire number using a mathematical formula.
- The middle digits are your unique account number within that bank's system.
What each digit position tells you
The 16 digits on your card are not random. Each position carries specific information that payment networks and banks use to route transactions and verify the card is real.
The first digit identifies the card network. A 4 means Visa. A 5 means Mastercard. A 3 means American Express (which is why AmEx cards are shorter — they start with 3 and have only 15 digits total). A 6 means Discover. This digit alone tells a merchant's system which payment network to contact.
The second through sixth digits identify your bank — the institution that issued the card to you. Chase, Bank of America, Citi, and every other card issuer has its own code in this range. When a transaction is processed, the payment network uses these digits to route the charge to the correct bank.
The seventh through fifteenth digits are your account number — the unique identifier for your specific card within your bank's system. No two cards from the same bank have the same sequence in this range. This is what ties a transaction back to your account.
The sixteenth digit (the last one) is called the check digit. It's calculated using a formula called the Luhn algorithm, which runs all the previous digits through a mathematical check. Payment systems use this digit to catch typos or fraud before they even send a transaction to your bank. If someone types your card number wrong, the check digit won't match, and the system rejects it when ready.
Why card length varies by network
American Express uses 15 digits instead of 16 because it was designed differently from other networks. AmEx also prints a four-digit code on the front of the card (instead of a three-digit code on the back like Visa and Mastercard), and it has historically processed transactions through its own closed network rather than through shared payment infrastructure.
Visa, Mastercard, and Discover all standardized on 16 digits because they operate as open networks — many banks issue cards under their brand, and the extra digit gives them room to accommodate more issuers and more individual accounts. The length is a legacy decision that stuck because changing it would require updating millions of payment terminals and systems worldwide.
What happens when you enter your card number online
When you type your card number into a checkout form, the merchant's system first checks the length. If you have a Visa card and you've entered 15 digits, the form usually won't let you proceed — it's waiting for 16. If you enter 16 digits on an AmEx card, the same thing happens in reverse.
Once the length is correct, the system runs the Luhn check on all 16 digits. If that passes, it sends the number to the payment processor, which extracts the first six digits to identify your bank and network, then routes the transaction accordingly. Your bank receives the full number and matches it to your account using digits 7 through 15.
The entire process takes seconds, but the card length is the first gate. That's why forms sometimes ask you to select your card type before entering the number — it tells the system whether to expect 15 or 16 digits.
How card length relates to security
The 16-digit length itself is not a security feature — it's a structural one. The check digit (the last digit) provides some protection against typos and basic fraud, but it's not encryption or authentication. Someone who knows your 16-digit number can still use it fraudulently if they also have your expiration date and CVV code.
Real security comes from the three-digit CVV code on the back (or four digits on the front for AmEx), the expiration date, and the encryption used when you enter the number online. The card length is just the format that payment systems expect. Knowing it helps you enter your number correctly, but it doesn't protect you from fraud on its own.
What to do if your card number doesn't match the expected length
If you're entering your card number and the form rejects it because the length is wrong, first double-check that you're reading the number correctly. Credit card numbers can be hard to read depending on the font and lighting. Count the digits again, including any that might be faint or worn.
If you've counted correctly and your card genuinely has a different length than the form expects, you may have a specialty card — a business card, a prepaid card, or an international card that uses a non-standard format. In that case, contact your card issuer to confirm the number is correct, or try a different payment method if the merchant's system won't accept it.
Some older or international cards do use lengths other than 15 or 16 digits, though this is rare in the U.S. consumer market. If you're consistently having trouble, your bank can confirm whether your card is formatted correctly and whether there's a known issue with that merchant's system.
Frequently Asked Questions
Why does my American Express card have 15 digits instead of 16?
American Express designed its card system independently from Visa and Mastercard, and it uses a different structure. The extra digit on other cards isn't necessary for AmEx's network, so they kept the number shorter. AmEx also puts a four-digit security code on the front instead of a three-digit code on the back, which is another difference in how it's designed.
Is the card number the same as my account number?
Not exactly. Your card number includes your account number (digits 7 through 15), but it also includes the network identifier, the bank identifier, and the check digit. Multiple cards linked to the same account can have different card numbers. Your account number is what your bank uses internally; your card number is what payment systems use to route transactions.
Can someone use my card if they only know the 16-digit number?
They would also need your expiration date and the three-digit CVV code on the back (or four digits on the front for AmEx). The card number alone is not enough to make a purchase online or over the phone. In person, a merchant might swipe or insert the card without asking for the CVV, but they would still need the physical card itself.
Do all Visa cards have exactly 16 digits?
The vast majority do, but Visa has issued some specialty cards with different lengths in specific cases. For practical purposes, assume your Visa card has 16 digits. If yours doesn't, contact your bank to confirm the number is correct before entering it in a payment system.
What does the check digit actually do?
It runs through a mathematical formula called the Luhn algorithm with the other 15 digits. Payment systems use this to verify the card number is formatted correctly and catch typos before sending the transaction to your bank. It's not a security code — it's a validity check. It catches accidental errors, not fraud.