Credit cards have 13 to 19 digits, depending on the card type and issuer

The number on the front of your credit card is called the Primary Account Number, or PAN. Most cards issued today have 16 digits, though American Express cards have 15, and some specialty cards or older cards may have 13, 14, or 19. The exact count depends on which bank issued the card and which payment network (Visa, Mastercard, Discover, or American Express) processes the transactions.

Not all digits are the same. The first digit or first few digits identify the card network — Visa cards start with 4, Mastercard with 5, American Express with 3, and Discover with 6. The next several digits identify your specific bank. The remaining digits are your unique account number within that bank's system. The very last digit is a check digit, calculated using a formula called the Luhn algorithm, which helps detect typos or fraud.

Key Takeaways

  • Most credit cards have 16 digits, but American Express has 15, and some cards have 13, 14, or 19.
  • The first digit or digits identify the payment network (Visa, Mastercard, American Express, or Discover).
  • The middle digits identify your bank and your specific account within that bank.
  • The last digit is a check digit used to verify the card number is valid.

Why the number length varies by card type

American Express chose a different standard than Visa and Mastercard when those networks were created decades ago. Visa and Mastercard settled on 16 digits as their standard, which became the most common format you see today. American Express uses 15 digits instead, and this difference is baked into how their entire payment system works — merchants, banks, and payment processors all expect American Express numbers to be 15 digits long.

Some specialty cards, business cards, or older cards may have 13, 14, or 19 digits. A few issuers use 19 digits for certain products, though this is less common. The variation exists because payment networks allow some flexibility, and individual banks may use different numbering schemes for different card products. When you enter your card number online or over the phone, the system usually accepts the number regardless of length, as long as it passes the check digit validation.

What each section of digits represents

The card number breaks down into distinct sections, each with a specific purpose. The first one to six digits make up the Issuer Identification Number, or IIN. This tells the payment system which bank issued the card and which network it belongs to. For example, all Visa cards start with 4, but a Visa from Chase will have a different IIN than a Visa from Bank of America.

The digits after the IIN form your account number — the part that ties the card to your specific account at the bank. This is the core identifier that links purchases back to you. The account number section is usually 6 to 12 digits long, depending on the card network and issuer.

The final digit is the check digit. Banks and payment processors run your card number through the Luhn algorithm to confirm the check digit is correct. If you mistype a digit when entering your card number online, the check digit will not match, and the system will reject the number before it even tries to process the payment. This catches simple typos but does not prevent fraud if someone has your actual card number.

How card networks use the digit structure

When you swipe, insert, or tap your card at a store, the payment terminal reads all the digits and sends them to the payment processor. The processor uses the first digits to route the transaction to the correct network — Visa, Mastercard, American Express, or Discover. The IIN tells the processor which bank issued the card, so the processor knows where to send the authorization request.

Your bank then receives the request, checks the account number against its records, verifies you have enough credit available, and either approves or declines the charge. The entire process happens in seconds, and the digit structure is what makes it possible for thousands of banks and millions of merchants to communicate instantly without confusion.

Why you should not share your full card number

Your card number is sensitive information. If someone has all 16 digits (or 15 for American Express), plus the expiration date and CVV code on the back, they can make online purchases or create a digital wallet in your name. The digits alone do not include your name or address, but combined with other information, they are enough for fraud.

Legitimate merchants and payment processors will never ask for your full card number via email, text, or phone call. If you need to provide your card number, do so only on a secure website (look for the padlock icon in your browser) or directly to a merchant you trust. When you see your card number printed on a receipt or statement, only the last four digits are usually shown — the rest are masked for this reason.

Frequently Asked Questions

Why does American Express have 15 digits instead of 16?

American Express designed its numbering system independently when the card network was created in the 1950s, before Visa and Mastercard standardized on 16 digits. American Express kept the 15-digit format, and their entire payment infrastructure is built around it. Changing now would require updating systems across thousands of merchants and banks, so the 15-digit standard remains.

Is the card number the same as the account number?

No. The card number includes the account number, but also includes the IIN (which identifies the bank and network) and the check digit. Your account number is just the middle section of the card number. You may have multiple cards linked to the same account, and each card will have a different card number even though they share the same underlying account.

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

No. The first four digits alone do not contain enough information to make a purchase. A fraudster would need all the digits, plus the expiration date and CVV code on the back. This is why receipts and statements show only the last four digits — that small amount of information cannot be used to commit fraud on its own.

Do debit cards have the same number of digits as credit cards?

Usually yes. Most debit cards have 16 digits and follow the same structure as credit cards — they use the same payment networks (Visa, Mastercard, Discover) and the same IIN system. American Express debit cards also have 15 digits. The digit count and structure are determined by the payment network, not whether the card is debit or credit.

What does the CVV code have to do with the card number?

The CVV (Card Verification Value) is a separate three- or four-digit code printed on the back of your card, not part of the main card number. It is used to verify that you physically have the card when making online or phone purchases. The CVV is not stored in the card's magnetic stripe or chip, so a merchant who only has your card number cannot use the CVV without asking you for it separately.