Credit card numbers have 13 to 19 digits

Most credit cards issued in the United States have 16 digits, arranged in four groups of four. However, the actual range is 13 to 19 digits depending on the card issuer and card type. American Express cards, for example, have 15 digits. Diners Club cards have 14 digits. The variation exists because different payment networks and banks set their own standards for card numbering.

The digits are not random. Each one serves a specific purpose: the first digit identifies the card network (Visa, Mastercard, American Express, or Discover), the next five to eight digits identify the issuing bank, the middle digits are your account number, and the final digit is a check digit that validates the entire number using a mathematical formula called the Luhn algorithm.

Key Takeaways

  • Most U.S. credit cards have 16 digits, but the range is 13 to 19 depending on the card type and issuer.
  • The first digit identifies the card network: 4 for Visa, 5 for Mastercard, 3 for American Express or Diners Club, and 6 for Discover.
  • The last digit is a check digit that confirms the card number is valid using a mathematical formula.
  • You will see your card number on the front of the card, in your online account, or on your statement, but never share it with anyone you do not trust.

What each digit group tells you

Credit card numbers follow a structure called the ISO/IEC 7812 standard, which organizes the digits into meaningful sections. The first digit, called the Major Industry Identifier (MII), tells you what type of financial institution issued the card. A 4 means Visa, a 5 means Mastercard, a 3 means American Express or Diners Club, and a 6 means Discover.

The next five to eight digits make up the Issuer Identification Number (IIN), also called the Bank Identification Number (BIN). This section identifies which bank or financial institution issued your card. For example, if your card starts with 4111, you know it is a Visa, and the remaining digits in the IIN narrow it down to a specific bank.

The middle digits form your account number, which is unique to you. This is the part that distinguishes your card from every other card issued by the same bank. The account number can vary in length depending on the card network.

The final digit is the check digit, calculated using the Luhn algorithm. When you enter your card number online or at a payment terminal, the system runs the number through this formula to confirm it is valid before processing the transaction. A single wrong digit will fail this check.

Why different card types have different lengths

Visa, Mastercard, and Discover all standardized on 16 digits because that length provides enough combinations to issue billions of unique cards while keeping the number short enough to be practical. American Express chose 15 digits and Diners Club chose 14 because they issue fewer cards and do not need as many possible combinations.

The card networks set these standards decades ago, and they have remained stable. You will not see a 16-digit Visa become a 17-digit Visa, or vice versa. If you have multiple cards from different issuers, you may notice the length varies, but within each network the standard is consistent.

Where to find your card number

Your card number appears on the front of your physical card, printed or embossed in the center. You can also find it in your online account by logging into your card issuer's website or mobile app — look for a section labeled "Card Details" or "Account Information." Your statement, whether paper or digital, will also display your card number, usually with the first six and last four digits visible and the middle digits masked for security.

Never photograph your card number, write it down, or share it with anyone unless you are making a purchase or payment you initiated yourself. Scammers and thieves actively search for card numbers, so treat yours as carefully as you would cash.

How the Luhn algorithm validates your number

The Luhn algorithm is a straightforward mathematical check that confirms a card number is real. Starting from the right side of the card number, you double every second digit. If any doubled digit is 10 or higher, you subtract 9 from it. Then you add all the digits together. If the total is divisible by 10, the card number is valid.

You do not need to perform this calculation yourself — payment processors and card readers do it automatically. But understanding that it exists explains why a single typo in your card number will be caught when ready. If you accidentally transpose two digits or misremember one, the check digit will not match, and the transaction will be declined.

What happens when you get a replacement card

If your card is lost, stolen, or damaged, your issuer will send you a replacement. The new card will have a different card number — not the same number with a new expiration date. This is a security measure: the old number is deactivated when ready, so anyone who has it cannot use it.

When you receive your replacement card, you will need to update your card number anywhere you have it saved — subscription services, online retailers, payment apps, and so on. Your issuer may send you a list of places where your old card number was used, which can help you remember where to update it. Some issuers offer a service that automatically updates your number at participating merchants, but this is not universal.

Frequently Asked Questions

Why does my American Express card have 15 digits instead of 16?

American Express set its own standard at 15 digits when it created its card network. Amex issues fewer cards than Visa or Mastercard, so it does not need as many possible number combinations. The 15-digit format is standard for all American Express cards and works the same way as 16-digit cards — the Luhn algorithm still validates it.

Is my card number the same as my account number?

No. Your card number is what appears on the front of your card and is used for purchases. Your account number is the digits within the card number that identify your specific account at the bank. You may have multiple cards linked to the same account, and each card will have a different card number but the same underlying account.

Can someone use my card if they only know the card number?

They can attempt online purchases, but most retailers now require additional information: the expiration date, the CVV (the three-digit security code on the back), and your billing address. In person, they would need the physical card to use it at a chip reader or magnetic stripe reader. If you believe your card number has been compromised, contact your issuer when ready to have the card canceled and a replacement sent.

Do prepaid cards and debit cards have the same number of digits?

Yes. Prepaid cards and debit cards follow the same ISO/IEC 7812 standard as credit cards. A Visa debit card has 16 digits, an American Express prepaid card has 15 digits, and so on. The digit count depends on the card network, not whether the card is credit, debit, or prepaid.

What if I enter my card number wrong online?

The payment processor will run your number through the Luhn algorithm and reject it if the check digit does not match. You will see an error message asking you to re-enter the number. This is a built-in protection that catches typos before they reach your bank.