A credit card has 16 digits in most cases, though some cards use 14 or 15

The standard credit card number is 16 digits long. American Express cards are the main exception — they use 15 digits. Diners Club cards use 14. The length depends on the card network and issuer, but 16 is what you will see on most Visa, Mastercard, and Discover cards.

These numbers are not random. Each digit or group of digits serves a specific purpose, from identifying the issuer to validating that the card number itself is real. Understanding what each section means helps you spot errors when you are entering your card information, and it shows you why card details matter for security.

Key Takeaways

  • Most credit cards have 16 digits, but American Express uses 15 and Diners Club uses 14.
  • The first digit identifies the card network — 4 for Visa, 5 for Mastercard, 6 for Discover, and 3 for American Express.
  • Digits 2 through 6 identify the bank or issuer that issued your card.
  • The last digit is a check digit that validates the entire card number using a mathematical formula.
  • The remaining digits are your unique account number within that issuer's system.

The first digit tells you the card network

The very first digit of your card number identifies which card network issued it. This is called the Major Industry Identifier, or MII. A card starting with 4 is a Visa. A card starting with 5 is a Mastercard. A card starting with 6 is a Discover card. American Express cards start with 3.

You can use this to spot a fake card number or a typo before you even try to use it. If someone gives you a card number that starts with 2, or 7, or 9, it is not a valid credit card — those digits are reserved for other payment types like gift cards or corporate accounts.

Digits 2 through 6 identify your bank or issuer

The next five digits make up the issuer identification number, or IIN. These five digits tell the payment network which bank or financial institution issued your card. Chase, Bank of America, Capital One, American Express, and every other card issuer has its own IIN or set of IINs.

When you swipe or insert your card at a store, the payment terminal reads these digits first to route the transaction to the right bank. The bank then checks whether the rest of the card number is valid and whether you have enough credit available. If the IIN does not match a real issuer, the transaction fails when ready.

Digits 7 through 15 are your account number

The middle section of your card number — digits 7 through 15 on a 16-digit card — is your account number. This is the unique identifier for your specific credit account at that bank. No two cardholders at the same bank have the same account number in this section.

Your account number is what links the card to your credit line, your payment history, and your personal information. When the bank receives a transaction, it uses your account number to pull up your account, check your available credit, and record the charge. If you lose your card and the bank issues a replacement, the new card will have the same account number but a different card number overall (because the last digit will change).

The last digit is a check digit that validates the whole number

The final digit of your card number is called the check digit. It is calculated using a mathematical formula called the Luhn algorithm, which uses all the other digits to produce a single digit that makes the entire number valid.

The check digit exists to catch typos and fraud. When you enter your card number online or over the phone, the payment processor runs the Luhn algorithm on the digits you provided. If the check digit does not match what the formula produces, the system knows something is wrong — either you made a typo, or someone is trying to use a fake number. This is why a single wrong digit will always cause a transaction to fail, even if the rest of the number looks correct.

Why card networks use different lengths

Visa, Mastercard, and Discover settled on 16 digits as a standard because it provides enough combinations to issue billions of unique cards while staying short enough to be practical. American Express uses 15 digits and Diners Club uses 14, partly for historical reasons — these networks were established before the 16-digit standard became universal — and partly because they issue fewer cards overall and do not need as many possible combinations.

The length difference is one reason why some older payment systems or forms might reject an American Express card even though it is perfectly valid. The system was built expecting 16 digits and does not know what to do with 15. Modern payment processors handle all three lengths, but you may still run into this problem with older websites or phone systems.

What the numbers do not tell you

Your card number does not include your name, your address, your Social Security number, or your credit limit. Those details are stored separately in the bank's system and linked to your account number, but they are not encoded in the card number itself. This is why a thief who steals your card number alone cannot automatically access your personal information — they would need additional data to commit fraud.

The card number also does not include your expiration date or your CVV (the three-digit security code on the back). These are printed on the card but are not part of the 16-digit number. The expiration date tells the payment network when the card will no longer be valid, and the CVV is a separate security measure meant to prove you physically have the card in your hand.

Frequently Asked Questions

Why do I need to give my full card number if the first six digits identify my bank?

The first six digits identify which bank issued the card, but they do not identify which account at that bank. Your full card number is necessary because millions of people have cards from the same bank. The complete number is what tells the payment system which specific account to charge.

Can someone use my card number if they only have part of it?

Partial card numbers are less useful than full ones, but they can still pose a risk. If someone has your full card number, expiration date, and CVV, they can make online purchases. If they have only the first six digits, they know your bank but cannot charge anything. Most fraud requires at least the full 16-digit number plus the expiration date.

Does the check digit change if I get a replacement card?

Yes. When your bank issues a replacement card — whether because yours was lost, stolen, or straightforward expired — the new card gets a completely new 16-digit number, including a new check digit. The account number portion may stay the same, but the overall card number is different.

What is the difference between a card number and an account number?

Your account number is the underlying credit account at your bank. Your card number is a 16-digit identifier printed on a specific physical card linked to that account. One account can have multiple card numbers over time as cards expire or are replaced, but the account itself remains the same.

Can I tell what kind of card I have just by looking at the first digit?

Yes, 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. But it does not tell you the card type — whether it is a cash-back card, a travel card, a student card, or anything else. That information is stored in the bank's system, not in the number itself.