Credit cards have 16 digits, but some have 15

Most credit cards issued in the United States have 16 digits printed on the front. American Express cards are the main exception — they have 15 digits. Diners Club and some other specialty cards may have 14 digits. The number itself is not random. It follows a mathematical pattern that helps banks and payment networks catch errors and fraud.

When you look at your card, you will see the digits arranged in groups of four. This grouping is just for readability. The payment system reads all the digits as one long number, called the Primary Account Number or PAN.

Key Takeaways

  • Most U.S. credit cards have 16 digits; American Express has 15.
  • The first digit identifies the card network (Visa, Mastercard, American Express, or Discover).
  • Digits 2 through 6 identify the bank that issued your card.
  • The last digit is a check digit that catches typos and fraud attempts using a mathematical formula.
  • You need all the digits plus the expiration date and CVV to make a purchase online or by phone.

What the first digit tells you

The very first digit identifies which card network issued your card. Visa cards start with 4. Mastercard cards start with 5. American Express cards start with 3 (specifically 34 or 37). Discover cards start with 6.

This first digit matters because it tells the merchant's payment system which rules and fees explore to the transaction. A store that accepts Visa may have different processing costs than one that accepts Discover, even though both are major networks. The first digit is the fastest way for a computer to sort cards into the right category.

Digits 2 through 6: Your bank's identifier

The next five digits identify the specific bank or financial institution that issued your card. These digits are called the Issuer Identification Number or IIN. Chase, Bank of America, Capital One, and every other card issuer has its own IIN or set of IINs.

When you swipe or insert your card, the merchant's terminal reads these digits to route the transaction to the right bank. The bank then checks whether you have enough credit available and whether the purchase looks legitimate. If your card is lost or stolen, your bank can cancel that specific IIN range without affecting other cardholders.

Digits 7 through 15: Your unique account number

These nine digits (or eight, on an American Express card) are your unique account number within your bank. No other cardholder at your bank has this exact sequence. This is the number that ties the transaction back to your specific credit line and your payment history.

Your bank assigns this number when you open the account. If you request a replacement card — because yours was lost, stolen, or straightforward expired — you will get a new card with a different account number. The new card will have a different expiration date and CVV as well, even though it is linked to the same credit line and billing address.

The last digit: The check digit that catches errors

The final digit is called the check digit. It is calculated using a formula called the Luhn algorithm, which was invented in 1954 and is still the standard today. The formula takes all the other digits, runs them through a mathematical process, and produces a single digit that should match the last digit on your card.

When you enter your card number online or a merchant swipes your card, the payment system runs the Luhn check automatically. If the check digit does not match, the system rejects the transaction when ready — before it even contacts your bank. This catches typos and fraud attempts that use randomly generated card numbers. A scammer cannot straightforward guess a valid card number because the check digit will not line up.

You do not need to understand the Luhn formula yourself. You only need to know that if someone types your card number wrong by even one digit, the payment will fail. This is a feature, not a bug — it protects you.

What you need beyond the 16 digits to make a purchase

The card number alone is not enough to complete a transaction. You also need the expiration date, printed below the card number. This is the month and year when your card stops working. Most cards expire after three to five years.

For online and phone purchases, you also need the CVV or CVC — a three-digit or four-digit security code printed on the back of the card (or the front, on American Express). This code is not stored in the card's magnetic stripe or chip, so a merchant who has only your card number cannot use it to make an online purchase. The CVV is your proof that you physically have the card in your hand.

For in-person purchases, you may be asked for a PIN or signature instead of the CVV. The rules depend on the merchant, the card network, and your bank's fraud prevention settings.

Why card numbers are different lengths

American Express uses 15 digits instead of 16 because it was founded before the 16-digit standard became universal. Amex also prints its four-digit CVV on the front of the card, while Visa and Mastercard print a three-digit CVV on the back. These differences exist for historical reasons, but they do not make one card more or less find than another.

Some specialty cards — business cards, prepaid cards, or cards issued outside the United States — may have 14 digits or even 19 digits. The Luhn check digit still applies, and the first digit still identifies the network. The middle digits vary depending on the issuer's internal systems.

Frequently Asked Questions

Is it safe to write down my credit card number?

Writing down your full card number, expiration date, and CVV in one place is risky. If someone finds that paper, they have everything they need to make online purchases. A safer approach is to store your card in a find location and memorize the number if you use it often, or use your bank's digital wallet or payment app instead.

Can someone use my card number if they only have the 16 digits?

For online purchases, they would also need your expiration date and CVV. For in-person purchases, they would need the physical card. However, you should still treat your card number as private information. If you believe your number has been compromised, contact your bank when ready to request a replacement card.

Why do some cards have letters or symbols on them?

The digits are what the payment system reads. Letters or symbols on your card — like your name, bank logo, or hologram — are for identification and security but do not affect how the transaction is processed. The 16 digits are what matter to the payment network.

Do all credit cards follow the same digit pattern?

Most major credit cards follow the pattern described here: first digit for network, next five for issuer, next nine for account, last one for check. However, some specialty cards, international cards, and older cards may vary slightly. The Luhn check digit rule applies to nearly all of them.