Credit cards have 13 to 19 digits, depending on the card network

The number on the front of your credit card is called the Primary Account Number, or PAN. Most Visa and Mastercard accounts use 16 digits. American Express uses 15. Discover uses 16. Some specialty cards and older accounts may have 13 or 14 digits, and a few business cards can stretch to 19. The length matters because payment systems use it to route your transaction to the right bank.

You do not need to memorize how many digits your card should have. What matters is that all the digits together form a single account identifier — the same way your Social Security number identifies you to the government. If even one digit is wrong when you enter it online or over the phone, the transaction will be rejected.

Key Takeaways

  • Visa and Mastercard typically have 16 digits; American Express has 15; Discover has 16.
  • The first digit identifies the card network (4 for Visa, 5 for Mastercard, 3 for American Express, 6 for Discover).
  • The digits are divided into groups that identify your bank, your account, and include a check digit that prevents typos.
  • You need all the digits correct when you enter your card number online or by phone, or the transaction will fail.

What each group of digits represents

Credit card numbers follow a standard layout called the ISO/IEC 7812 format. The first digit is the industry identifier — it tells the payment system what type of card it is. Visa cards always start with 4. Mastercard always starts with 5. American Express starts with 3. Discover starts with 6. This is why a cashier or website can sometimes tell what network you use before you hand over the card.

The next several digits (usually 5 to 6 of them) identify your bank or card issuer. Chase, Bank of America, Citi, and American Express each have their own block of numbers assigned to them. After that come the digits that represent your specific account — the unique number that ties the card to your name and your credit line.

The very last digit is a check digit. It is calculated using a mathematical formula called the Luhn algorithm, which catches typos. If you mistype one digit when entering your card number, the check digit will not match, and the system will reject it before it even tries to charge you. This is a safety feature built into the card number itself.

Why the number matters when you use your card

When you swipe, insert, or tap your card at a store, the payment terminal reads all the digits at once. When you enter your card number online, you type all of them. When you read your card number over the phone to a customer service representative, you are reading the complete account identifier.

The digits are what connect your physical card to your bank account and credit line. Without them, the merchant has no way to know whose account to charge. This is why card numbers are sensitive information — anyone with your full number, expiration date, and CVV can attempt to use your card, which is why you should never share these details in an email or text message.

How to find your card number

Your card number is printed on the front of your physical card, usually in raised digits or embossed text. It runs left to right, typically in groups of four digits separated by spaces. If your card is damaged or the number is worn away, you can log into your bank's website or app — your full card number will be displayed there, usually with the first six and last four digits visible and the middle digits hidden for security.

You can also call the phone number on the back of your card and speak to customer service. They can read your card number to you over the phone, though this is less common now that online banking is standard. Your bank statement or credit card bill will also show your card number, usually with only the last four digits visible.

What happens if you enter the wrong number

If you mistype even one digit when entering your card number online or over the phone, the transaction will fail. The payment system will reject it because the check digit will not match. This is actually a good thing — it means a typo on your part will not result in a charge to the wrong account.

If you repeatedly enter the wrong number, some websites will lock you out temporarily to prevent fraud. If you are having trouble, double-check that you are reading the number correctly from your physical card or your bank's website. Make sure you are not confusing the letter O with the number 0, or the letter I with the number 1. If your card is damaged and the number is hard to read, contact your bank and ask them to read it to you.

The difference between your card number and other card identifiers

Your credit card has several different numbers on it, and they serve different purposes. The 16-digit (or 15 or 13) number on the front is your account number. The three or four digit number on the back is your CVV (Card Verification Value) or CVC (Card Verification Code) — this is a security code that proves you have the physical card in your hand. The expiration date tells you when the card stops working.

Online, you usually need all three pieces of information: the full card number, the expiration date, and the CVV. In a store, the terminal reads the card number from the magnetic stripe or chip, so you do not have to type it. Over the phone, a representative may ask for all three, or just the card number and expiration date, depending on what they are processing.

Frequently Asked Questions

Why do different card networks have different numbers of digits?

Each card network set its own standard before they coordinated with each other. American Express chose 15 digits; Visa and Mastercard chose 16; Discover chose 16. The payment system knows which network you are using from the first digit, so it knows how many digits to expect. Changing this now would require updating millions of payment terminals and systems worldwide, so the different lengths remain.

Is my card number the same as my account number?

Your card number is your account number for that specific card. If you have multiple cards from the same bank, each one has a different card number, even though they may be linked to the same underlying bank account. When you close a card and get a replacement, your new card will have a different number.

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

They would also need your expiration date and CVV to make an online purchase. In a store, they would need the physical card itself because the terminal reads the chip or magnetic stripe. Over the phone, it depends on the merchant — some require only the number and expiration date. This is why you should treat your full card number, expiration date, and CVV as sensitive information.

What if my card number is partially worn away?

Log into your bank's website or mobile app to see your full card number. You can also call the customer service number on the back of your card, and a representative can read it to you. If you need to use the card soon and cannot read the number, your bank can issue a replacement card with a new number, usually within 5 to 10 business days.