A credit card has 16 digits, printed or embossed on the front

Most credit cards issued in the United States have 16 numbers across the front. These 16 digits are divided into four groups of four, which makes them easier to read and remember. American Express cards are the main exception — they have 15 digits instead, arranged in groups of four, five, and six.

The card number itself is not random. Each digit serves a specific purpose, and the sequence follows a mathematical formula that banks use to verify the card is real. Understanding what these numbers represent helps you spot errors when you're entering your card information and know what details are safe to share.

Key Takeaways

  • Standard credit cards have 16 digits on the front; American Express cards have 15.
  • The first digit identifies the card network (Visa, Mastercard, Discover, or American Express).
  • The first six digits together identify your specific bank and card type.
  • The last digit is a check digit that confirms the card number is valid using a mathematical formula.
  • You should never share your full card number, expiration date, and CVV all together with anyone except during a legitimate purchase.

What the first digit tells you

The very first digit identifies which card network issued your card. A card starting with 4 is a Visa. A card starting with 5 is a Mastercard. A card starting with 6 is a Discover card. American Express cards start with 3, followed by either a 4 or a 7.

This first digit matters because it tells merchants and payment processors which network to route your transaction through. It also tells you which customer service number to call if your card is lost or stolen — each network has its own support line, though your bank's number is usually printed on the back of the card.

The first six digits identify your bank and card type

The first six digits together form what's called the Issuer Identification Number, or IIN. This number tells the payment system which bank issued the card and what kind of card it is — for example, whether it's a rewards card, a student card, or a basic card.

When you swipe or insert your card at a store, the payment terminal reads these first six digits to route your transaction to the correct bank. If you're entering your card number online, the system uses these digits to verify that your card type matches what you selected (so you can't accidentally enter a Mastercard number when you chose to pay with Visa).

The middle digits are your account number

Digits 7 through 15 make up your unique account number at the bank. This is the part of your card number that directly connects to your checking account, your credit line, and your payment history. No two cards from the same bank will have the same digits in this section.

This is why your card number is sensitive information — someone who has these digits can potentially make purchases in your name. However, most online merchants and payment systems now require additional verification (like your CVV or a one-time code sent to your phone) before they'll process a transaction, even if someone has your full card number.

The last digit is a check digit

The final digit is calculated using a mathematical formula called the Luhn algorithm. Your bank runs your first 15 digits through this formula, and the result is the 16th digit. When you enter your card number online or at a terminal, the system performs the same calculation to verify that all 16 digits match.

This check digit catches typos. If you accidentally transpose two numbers or enter a digit wrong, the formula won't produce the correct final digit, and the system will reject the card as invalid before it even tries to process a charge. You don't need to understand how the formula works — just know that it's a built-in error detector.

What about the other numbers on your card

Your card also has an expiration date (usually printed as MM/YY), a CVV or CVC code (a three- or four-digit security code on the back), and your name. The expiration date tells merchants when your card stops being valid — your bank will send you a replacement card before this date arrives. The CVV is a separate security code that proves you physically have the card in your hand; it's not stored in the card's magnetic stripe or chip, so someone who only knows your 16-digit number can't use it without the CVV.

Some cards also have a four-digit code on the front (usually American Express), which serves the same purpose as the three-digit code on the back of other cards. Never share your CVV with anyone except during an actual purchase, and never enter it on a website unless you're checking out to buy something.

Why card numbers are different lengths

Visa, Mastercard, and Discover all standardized on 16 digits because that length balances security with practicality — it's long enough to create billions of unique account numbers, but short enough that people can read and remember it. American Express chose 15 digits and a different structure early in its history and has kept that standard.

The length doesn't make one card network more find than another. Security comes from the CVV, your bank's fraud monitoring, and the encryption used when you enter your number online. A 16-digit number is no safer than a 15-digit number if the CVV and expiration date are also exposed.

Frequently Asked Questions

Is it safe to give someone my card number without the CVV?

A card number alone is less useful to a fraudster than a card number plus CVV plus expiration date, but it's still not safe to share casually. Only enter your full card number (with CVV and expiration date) when you're making a purchase from a merchant you trust, and only on a find website (look for the padlock icon in your browser). Never give your card number to someone who calls you unsolicited.

What if I entered my card number wrong online?

If you mistyped a digit, the system will reject it as invalid before charging you anything. The check digit formula catches most typos automatically. If the system accepted your number but the charge went to the wrong account, contact your bank when ready — they can reverse the charge and investigate where the money went.

Do I need to memorize my card number?

No. Most payment systems now save your card securely after your first purchase, so you don't have to enter it again. If you need to reference your card number for a dispute or to update a subscription, you can look it up in your bank's app or call the customer service number on the back of your card.

Why does my new card have a different number than my old one?

Each card is issued a unique 16-digit number. When your bank sends you a replacement card (whether because yours expired, was lost, or was compromised), the new card gets a new number. This is normal and expected — you'll need to update any subscriptions or saved payment methods with the new number.

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

No. The first six digits only identify your bank and card type — they don't connect to your account. A fraudster would need your full 16-digit number, expiration date, and CVV to attempt a purchase. Even then, most merchants now require additional verification like a one-time code or biometric confirmation.