Activate a CardApply for a CardStore Credit CardsMake a PaymentContact UsAbout Us

How Many Digits Are in a Credit Card Number?

Credit card numbers look like a random string of digits, but every number follows a precise structure — and the length isn't arbitrary. Whether you're filling out an online form, verifying your card details, or just curious about how these numbers work, here's what you actually need to know.

The Standard Answer: 16 Digits

Most credit cards issued today have 16 digits on the front. This includes the vast majority of Visa, Mastercard, and Discover cards. The number is typically printed in four groups of four digits — like 1234 5678 9012 3456 — purely for readability.

But 16 isn't universal.

Not All Cards Have the Same Number of Digits

Different card networks use different number lengths, and there's a technical reason for each.

Card NetworkTypical Digit Count
Visa16
Mastercard16
Discover16
American Express15
Diners Club14
UnionPay16–19

American Express is the most notable exception. Amex cards have 15 digits, formatted in groups of 4–6–5. If you've ever typed your card number into a checkout form and gotten an error on an Amex, this difference is usually why — some forms are coded expecting exactly 16.

UnionPay, China's dominant card network and one of the largest globally, issues cards with anywhere from 16 to 19 digits, depending on the product.

Why These Specific Numbers? The ISO 7812 Standard 🔢

Credit card numbers aren't invented freely. They follow an international standard called ISO 7812, which governs how payment card numbers are structured. Under this standard, card numbers are formally called Primary Account Numbers (PANs) and can technically range from 8 to 19 digits.

The structure breaks down like this:

  • First digit (Major Industry Identifier or MII): Indicates the card's industry. A "4" means Visa; a "3" means travel and entertainment (like Amex).
  • First 6 digits (Issuer Identification Number or IIN): Identify the bank or financial institution that issued the card. Sometimes called the Bank Identification Number (BIN).
  • Middle digits: Your unique account number within that issuer.
  • Last digit (Check digit): A mathematically derived number calculated using the Luhn algorithm, a checksum formula used to catch typos and errors. It's why entering a wrong digit on a checkout form triggers an instant "invalid card number" error — the math doesn't add up.

What the Digits Actually Tell You

You can learn something about a card just from its first few digits:

  • Starts with 4 → Visa
  • Starts with 51–55 or 2221–2720 → Mastercard
  • Starts with 34 or 37 → American Express
  • Starts with 6011, 622126–622925, 644–649, or 65 → Discover

This is how a payment terminal or online checkout form knows which card logo to display the moment you start typing your number — no human input required.

The CVV: Those Other Digits on Your Card

Your card also has a CVV (Card Verification Value) — a separate 3- or 4-digit security code that is not part of your card number. Visa, Mastercard, and Discover use a 3-digit CVV printed on the back. American Express uses a 4-digit CID printed on the front.

The CVV exists specifically for card-not-present transactions (like online purchases) as a verification layer. It's intentionally excluded from the embossed card number so that even if someone copies the raised digits, they still can't complete an online purchase without the code.

Does Card Number Length Affect How You Use the Card?

For everyday use, not really. The length doesn't change your credit limit, interest rate, or rewards. But it does matter in practical ways:

  • Online checkout forms may not accommodate 15-digit numbers if designed only for 16, causing errors
  • Manual entry at point of sale means cashiers or customer service agents need to know Amex cards have one fewer digit
  • Digital wallets handle the variation automatically, which is one reason tap-to-pay eliminates these issues entirely 📱

Why Card Numbers Are Getting Longer

There's a practical limit to how many unique account numbers a given structure can generate. As the global number of payment cards has grown into the billions, the industry has needed more combinations. This is partly why UnionPay cards sometimes use 19 digits and why payment networks periodically update their BIN ranges.

The shift toward virtual card numbers — temporary, single-use numbers tied to your real account — adds another layer. These still follow the same digit-count rules for their network but are generated dynamically and expire after use, reducing fraud exposure.

What Stays the Same Regardless of Digit Count

Regardless of whether your card has 14, 15, or 16 digits, the fundamentals of how credit cards work don't change. Your account is governed by the same core concepts: credit utilization, payment history, APR, grace periods, and your card's credit limit. The number printed on the card is an identifier — the financial terms attached to your account are what actually shape your credit profile.

Those terms — the limit you're approved for, the rate you're offered, the rewards structure you qualify for — are where individual credit profiles make all the difference. The digit count on your card is standardized. Everything attached to those digits is not. 🎯