Most credit cards have 16 digits, but some have 14 or 15
The standard credit card number in the United States is 16 digits long. Visa, Mastercard, and Discover cards almost always use 16. American Express is the main exception — their cards have 15 digits. Some older or specialty cards may have 14 digits, but you will rarely encounter those in everyday use.
The length matters because payment systems check it before processing. If you type a number with the wrong digit count, the merchant's system will reject it before it even contacts your bank. This is one of several built-in safeguards that catch typos and fraud attempts early.
The digits are not random. Each one has a specific purpose, and understanding what they do helps you spot errors and recognize which card you are holding.
Key Takeaways
- Visa, Mastercard, and Discover cards contain 16 digits; American Express cards contain 15 digits.
- The first digit identifies the card network (4 for Visa, 5 for Mastercard, 3 for American Express, 6 for Discover).
- The first six digits together form the bank identification number, which tells processors which bank issued the card.
- The last digit is a check digit that catches typing errors using a mathematical formula called the Luhn algorithm.
- The middle digits are your unique account number assigned by your bank.
What each digit position tells you
The first digit is the most important for identifying the card network. A 4 means Visa. A 5 means Mastercard. A 3 means American Express. A 6 means Discover. This single digit tells payment processors which company's rules and fees apply to the transaction.
The first six digits together form what is called the bank identification number or BIN. This tells the processor which specific bank or credit union issued the card. When you swipe or insert your card, the merchant's terminal reads the BIN first to route the transaction to the right place. Two Visa cards from different banks will have different BINs even though both start with 4.
The middle digits (digits 7 through 15 on a 16-digit card) are your unique account number. Your bank assigns this to you alone. No one else with the same card network and bank will have this exact sequence. This is what ties the card to your specific account and credit line.
The last digit is the check digit. It is calculated using a mathematical formula called the Luhn algorithm, which uses all the other digits to create a number that validates the entire sequence. When you enter your card number online or at a terminal, the system runs the Luhn check before sending the transaction anywhere. If you mistype even one digit, the check fails and the system rejects the card without contacting your bank.
Why the Luhn check digit matters to you
The check digit is a fraud prevention tool that works silently in the background. It catches honest mistakes — a transposed digit, a number typed twice — before they become a problem. It also makes it much harder for someone to guess a valid card number by trial and error, because a random 16-digit number has only a 1-in-10 chance of passing the Luhn check.
You do not need to calculate it yourself. Your bank calculates it when they issue the card, and payment systems verify it automatically. But it is worth knowing that if a website or app rejects your card number immediately after you enter it, the most common reason is a typo in one of the digits — not a problem with your account or your bank.
American Express cards are shorter for a reason
American Express uses 15 digits instead of 16, and they also print a four-digit security code on the front of the card instead of the back. This is not a mistake or an older standard — it is how American Express has always structured their cards, and their systems are built around it. Some older payment forms or websites may not accept American Express because they are programmed to expect exactly 16 digits, but most modern systems now recognize both lengths.
If you are entering an American Express number and a website says the number is invalid, double-check that you have all 15 digits and that you are not accidentally including a space or dash. American Express numbers are sometimes printed with spaces for readability, and it is easy to miscount if you are not paying attention.
What the card number does and does not protect
Your card number is necessary to make a purchase, but it is not the only thing protecting your account. The card number itself is visible on the front of the card — anyone who sees it can read it. That is why payment systems also require the expiration date and the three-digit security code (or four digits for American Express) to process online purchases. Together, these three pieces of information confirm that you physically have the card in your hand.
Your card number is not the same as your PIN, which you enter at an ATM or when you choose "credit" at a debit card terminal. Your PIN is secret and should never be shared. Your card number, by contrast, is given to merchants every time you make a purchase. This is why card numbers can be replaced relatively easily if they are compromised — your bank can issue you a new card with a new number while keeping your account and credit line intact.
How to spot a fake or mistyped card number
If someone hands you a card number that seems off, you can do a quick sanity check. Count the digits — it should be 15 or 16. Check the first digit — it should be 3, 4, 5, or 6. If a number has 17 digits or starts with a 7, it is not a valid credit card number.
You can also run the Luhn check yourself if you want to verify a number before entering it into a system. There are free online Luhn calculators, though you should only use them with your own card or a card number you are testing for a legitimate reason. Never enter someone else's full card number into an online tool.
Most importantly, if a payment system rejects your card number immediately, do not assume your account is frozen or your card is damaged. The most likely explanation is a single digit typed wrong. Retype it slowly, digit by digit, and try again.
Frequently Asked Questions
Why do some cards have 14 digits instead of 16?
Older cards and some specialty cards (like certain corporate or prepaid cards) may use 14 digits. The payment system can handle multiple lengths, but 16 has become the standard for consumer credit cards in the United States. If you have a 14-digit card, it works the same way — the Luhn check and BIN identification still apply.
Does the card number change if I get a replacement card?
Usually yes. If your bank sends you a replacement card because the old one was lost, stolen, or expired, the new card will have a different number. Your account and credit line stay the same, but the card number itself changes. This is why merchants cannot store your old card number and use it for future charges without your permission.
Can someone use my card number if they only have the 16 digits?
They cannot complete an online purchase with just the card number. They also need the expiration date and the three-digit security code. However, they could potentially use the card number alone for certain transactions like phone orders or recurring billing if the merchant does not ask for the security code. This is why you should treat your full card number, expiration date, and security code as a complete package — do not share any of them with people you do not trust.
What if I accidentally gave someone my full card number?
Contact your bank or card issuer right away. They can monitor your account for unauthorized charges and issue you a new card with a new number if needed. The sooner you report it, the sooner they can protect your account. Most banks have fraud protection that limits your liability for unauthorized charges, but you have to report the problem.
Is it safe to type my card number into a website?
It is safe if the website is secure. Look for "https://" at the beginning of the web address and a small lock icon in your browser. These indicate that your information is encrypted as it travels to the merchant's server. Never enter your card number on a website that does not have these security markers, and never click a link in an email or text message that asks you to enter your card number — go directly to the website instead.