A standard credit card has 16 digits, though some cards have 15
Most credit cards issued in the United States have 16 numbers printed on the front. American Express cards are the main exception — they have 15 digits. Discover and Visa cards typically have 16, as do most Mastercard cards, though some older Mastercards had 16 digits as well. The card number itself is what matters most when you use the card online, over the phone, or in person.
The numbers are not random. Each one serves a specific purpose, and the sequence follows a standard that lets payment systems verify the card is real before processing a charge. Understanding what each section does can help you spot fraud or know what information you actually need to share when making a purchase.
Key Takeaways
- Most credit cards have 16 digits; American Express has 15.
- The first digit identifies the card network (Visa, Mastercard, Discover, or American Express).
- Digits 2 through 6 identify the bank that issued the card.
- The last digit is a check digit that helps detect errors or fraud in the card number.
- You do not need to share the entire card number for every transaction — online retailers need only the number, expiration date, and CVV.
What each section of the card number means
The first digit tells you the card network. A 4 means Visa, a 5 means Mastercard, a 6 means Discover, and a 3 means American Express (or Diners Club). This digit is the same for every card issued by that network, so it is the quickest way to know which company to contact if there is a problem.
The next five digits (digits 2 through 6) identify the bank or credit union that issued your card. These numbers are assigned by the card networks and are unique to each financial institution. Two people with Visa cards from different banks will have different numbers in this section, even though both start with 4.
The middle digits (digits 7 through 15 on a 16-digit card) are your account number. This is the number the bank uses to link the card to your specific account. It is unique to you and distinguishes your card from every other card issued by the same bank.
The last digit is called the check digit. It is calculated using a mathematical formula called the Luhn algorithm, which uses all the other numbers on the card. Payment systems use this digit to verify that the card number is valid and has not been altered or mistyped. If someone tries to use a fake card number, the check digit will not match, and the transaction will be rejected.
Why the card number length varies
American Express uses 15 digits instead of 16 because it operates differently from other card networks. Amex is both the card network and the issuer — it issues its own cards rather than working through separate banks the way Visa and Mastercard do. The shorter number reflects this different structure.
Older Mastercard cards sometimes had 16 digits, and some still do, but the standard shifted over time. Visa has consistently used 16 digits since its inception. Discover also uses 16 digits. The variation exists for historical reasons and because each network designed its numbering system independently.
What information you actually need to share
You do not need to give out your entire card number in every situation. For online purchases, you typically need only the 16-digit number, the expiration date, and the three- or four-digit security code (CVV or CVC) on the back. For in-person purchases, the card reader reads the number automatically, and you do not type it in at all.
Never share your full card number, expiration date, and CVV together with anyone who contacts you by phone or email claiming to be from your bank or a retailer. Legitimate companies will never ask for all three pieces of information at once. If someone asks for this combination, it is a fraud attempt.
Your card number is different from your account number at the bank. The card number is tied to the physical card itself. If your card is lost or stolen, the bank can cancel that number and issue a new card with a new number, leaving your bank account untouched.
How card numbers help prevent fraud
The check digit catches simple errors immediately. If you mistype one number when entering your card online, the payment system will reject it before it even contacts your bank. This stops accidental mistakes from creating confusion or delays.
The card network structure also helps. Because the first six digits identify the bank and network, payment systems can verify that a card number follows the correct format for that network. A number that starts with 4 but has 15 digits (which would be wrong for Visa) will be rejected as invalid.
When fraud does occur, the card number helps investigators trace which bank issued the card and which merchant processed the fraudulent charge. This makes it easier to dispute the transaction and recover your money. Your bank can also cancel just that card number and issue a replacement without affecting your account or other cards you might have.
What happens if your card number is compromised
If your card number is stolen or exposed in a data breach, contact your bank or credit card issuer immediately. They can cancel the card and issue a new one with a different number. This process usually takes three to seven business days, though some banks offer expedited replacement.
While you wait for the new card, you can still use your account online through your bank's website or app, and you can request a temporary card number for online purchases. Many banks now offer virtual card numbers — temporary numbers tied to your account that work for a single purchase or a set time period.
Fraudulent charges made with your stolen number are your bank's responsibility to investigate and reverse, not yours. Federal law limits your liability to $50 if you report the theft within 60 days of receiving your statement. Most banks waive even this small amount as a matter of policy.
Frequently Asked Questions
Why do some credit cards have 15 digits and others have 16?
American Express uses 15 digits because it issues its own cards rather than working through separate banks. Visa, Mastercard, and Discover all use 16 digits. The difference reflects how each network designed its numbering system decades ago, and there is no practical reason to change it now.
Is it safe to write my card number down?
Writing down your full card number, expiration date, and CVV together is not safe. If someone finds the paper, they have everything needed to make online purchases. If you need to write something down, write only the last four digits and keep the paper in a secure location. Better yet, store the information in your bank's app or a password manager.
Can someone use my card if they only know the card number?
They would also need the expiration date and CVV to make online purchases. For in-person purchases, they would need the physical card itself. However, do not assume a partial number is safe — treat the full card number as sensitive information and share it only with merchants you trust.
What is the CVV, and why is it different from the card number?
The CVV (Card Verification Value) is a three- or four-digit code printed on the back of your card. It is not part of the card number and is not stored in the magnetic stripe or chip. It proves you physically have the card when making online or phone purchases, which the card number alone cannot do.
Do I need to memorize my card number?
No. Most people do not memorize their card number. Store it securely in your bank's app, a password manager, or your phone's digital wallet. The only time you need to know it is when you are making a purchase and do not have the physical card with you.