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

Most credit cards you encounter will have 16 digits. Visa, Mastercard, and Discover cards typically use 16-digit numbers. American Express is the main exception — AmEx cards have 15 digits. Some specialty cards, business cards, or cards from smaller issuers may fall outside this range, landing anywhere from 13 to 19 digits, though this is less common.

The length matters because payment systems, online forms, and card readers are often built to expect a specific digit count. If you enter a number into a form that rejects it, the digit count is sometimes the reason — not a typo on your part.

Key Takeaways

  • Visa, Mastercard, and Discover cards have 16 digits; American Express has 15 digits.
  • The first digit or first few digits identify the card network (Visa starts with 4, Mastercard with 5, AmEx with 3, Discover with 6).
  • The digit count is part of the card's security design and helps payment systems validate the number format before processing.
  • If an online form rejects your card number, check that you have entered all digits and that the form accepts your card type.

Why card numbers are different lengths

Each card network — Visa, Mastercard, American Express, Discover — sets its own standard for how long a card number should be. This decision was made decades ago when the networks were founded, and changing it now would require updating millions of payment terminals, websites, and banking systems worldwide. So the original lengths have stuck.

American Express chose 15 digits because it wanted a shorter, easier-to-read number. Visa, Mastercard, and Discover all settled on 16. The digit count is part of the card's identity, the same way your Social Security number has 9 digits and a phone number has 10.

What each digit position tells you

The first digit (or first few digits) identifies the card network. Visa numbers start with 4. Mastercard numbers start with 5. American Express numbers start with 3. Discover numbers start with 6. This is why a form might reject your number before you even finish typing — if you enter a number starting with 3 into a form that only accepts Visa, the system knows immediately it cannot process it.

The remaining digits encode information about your bank (the issuer), your account, and a check digit at the end that validates the entire number using a mathematical formula called the Luhn algorithm. You do not need to understand the formula — the point is that the number is not random. Payment systems can verify that a 16-digit number is at least plausible before they even contact your bank.

Where you will see the digit count matter

Online checkout forms sometimes specify which card types they accept. If a form says "Visa, Mastercard, or Discover," it is implicitly saying "16-digit cards only" — American Express will not work, even if you have an AmEx card. Some smaller merchants or older websites have not updated their systems to accept all card types, so they restrict to the most common ones.

International transactions can also be affected. Some payment processors outside the United States have older systems built only for 16-digit cards and may reject a 15-digit American Express number. If this happens, you may need to use a different card or contact the merchant to process the payment manually.

Phone orders sometimes require you to read your card number aloud. Knowing your card has 15 or 16 digits helps you count as you speak and catch your own mistakes before the merchant enters it.

What happens if you enter the wrong number of digits

If you type too few or too many digits, the payment system will reject the number before it even reaches your bank. The rejection happens instantly because the system checks the digit count and the Luhn algorithm first. This is actually a security feature — it stops typos from being sent to your bank for processing.

If you are confident you have the right card number but a form keeps rejecting it, the issue is usually one of these: the form does not accept your card type (check the accepted networks), you have accidentally included a space or dash that the form does not expect, or the form itself has a bug. Try removing any spaces or dashes and re-entering the number. If it still fails, try a different card or contact the merchant.

How to find your card number

Your card number is printed on the front of your physical card, usually in a large block of digits. For Visa, Mastercard, and Discover, it is typically centered below the cardholder name. For American Express, it is on the front but positioned differently — usually to the right of the cardholder name.

If you have a digital or virtual card (sometimes called a temporary card number), the issuer will display the number in your online banking portal or mobile app. Virtual card numbers are often used for online shopping and may be different from your physical card number, even though they draw from the same account.

Security and your card number

Your card number is sensitive information. Never share it over email, text, or phone unless you initiated the contact and you are certain you are speaking to your bank or a merchant you trust. Legitimate companies will never ask you to confirm your full card number via email or unsecured channels.

When you enter your card number on a website, look for the padlock icon in your browser's address bar — it indicates the connection is encrypted. Avoid entering your card number on public Wi-Fi networks or on websites that do not use encryption.

Frequently Asked Questions

Why does American Express have 15 digits instead of 16?

American Express designed its card number format in the 1950s and chose 15 digits as the standard. The company has maintained this length ever since. While Visa, Mastercard, and Discover all use 16 digits, AmEx's 15-digit format is just as secure and valid — it is simply a different choice made by a different company.

Can a credit card have more than 19 digits?

Standard consumer credit cards do not exceed 19 digits. Some specialty cards, corporate cards, or cards from regional banks may fall outside the typical range, but 13 to 19 digits covers nearly all cards in circulation. If you encounter a card with more digits, it may be a different type of payment card altogether.

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

Yes. When your bank issues a replacement card (due to expiration, loss, or damage), the new card will have a different number, even though it is tied to the same account. The digit count will remain the same — a Visa replacement card will still have 16 digits — but every digit in the number will be different.

What if I enter my card number and the form says it is invalid?

First, double-check that you have entered all digits with no spaces or dashes. Then verify that the form accepts your card type — if it only accepts Visa and Mastercard, an American Express card will be rejected. If both of those check out, the form may have a technical issue, or your card may have been flagged by your bank. Contact your card issuer or try a different payment method.