Your credit card has 16 digits, but they are not all the same thing
A standard credit card displays 16 numbers across the front. These digits are split into four groups of four, and each group serves a different purpose. The first six digits identify your bank and card type. The next nine digits are your unique account number. The final digit is a check digit that prevents fraud. On the back, you will find a three- or four-digit security code, which is separate from the front numbers.
Not every card follows this exact pattern. American Express cards have 15 digits instead of 16. Some business cards, store cards, or international cards may have different lengths. But if you are holding a Visa, Mastercard, or Discover card issued in the United States, you are looking at 16 numbers on the front and a three-digit code on the back.
Key Takeaways
- Standard credit cards have 16 digits on the front, divided into four groups that identify your bank, your account, and verify the card is real.
- The first six digits (the Bank Identification Number) tell merchants and payment systems which bank issued your card and what type of card it is.
- Digits 7 through 15 make up your account number, which is unique to you and linked to your credit line and payment history.
- The last digit is a check digit calculated from the other 15 numbers, and it catches typos and fraudulent card numbers before they are processed.
- The three-digit security code on the back (CVV or CVC) is not part of the 16-digit number and is required for online and phone purchases.
The first six digits: Bank Identification Number (BIN)
The first six digits of your card are called the Bank Identification Number, or BIN. This number tells the payment system which bank issued your card and what type of card it is. The first digit alone identifies the industry: a 4 means Visa, a 5 means Mastercard, a 6 means Discover, and a 3 means American Express or Diners Club.
The remaining five digits of the BIN narrow it down further. They identify your specific bank or credit union and the card product — for example, whether it is a rewards card, a student card, or a business card. When you swipe or insert your card at a store, the payment terminal reads the BIN first to route your transaction to the correct processor.
Digits 7 through 15: Your account number
The next nine digits (positions 7 through 15) are your account number. This is the number unique to you. It is linked to your credit line, your payment history, and your account with the bank. No two cardholders at the same bank will have the same account number, even if they have the same type of card.
Your account number is what the bank uses to pull up your balance, your statement, and your payment record when you make a purchase or check your account online. If you lose your card and the bank issues you a replacement, your new card will have a different 16-digit number, but the account number portion (digits 7–15) will stay the same. This is why your account does not reset when you get a new physical card.
The last digit: The check digit
The 16th and final digit on the front of your card is called the check digit. It is calculated mathematically from the first 15 digits using an algorithm called the Luhn formula. The check digit exists to catch errors and fraud before a transaction is processed.
When you enter your card number online or over the phone, the payment system runs the first 15 digits through the Luhn formula and checks whether the result matches the 16th digit you provided. If it does not match, the system knows the number is either mistyped or fake, and it rejects the transaction. This straightforward math check stops a huge volume of fraudulent charges before they ever reach your bank.
The security code on the back: CVV or CVC
On the back of your card, you will find a three-digit number (or four digits on American Express cards). This is your Card Verification Value (CVV) or Card Verification Code (CVC), depending on your card brand. This number is not part of the 16-digit number on the front — it is separate and serves a different purpose.
The CVV is printed on the card but not stored in the card's magnetic stripe or chip. This means when you make an online or phone purchase, you have to type it in manually. The merchant cannot store it after the transaction is complete. The CVV proves you physically have the card in your hand, which is why online retailers ask for it and why you should never share it via email or text.
Why the numbers are arranged in groups of four
Credit card numbers are printed in groups of four digits for readability and to reduce errors when people read them aloud or write them down. There is no technical reason the groups have to be four digits — it is purely a design choice to make the number easier to remember and communicate.
When you read your card number to a customer service representative over the phone, you naturally pause between groups. This rhythm helps both of you catch mistakes in real time. The same principle applies when you are typing your number into a form: breaking it into chunks makes it easier to verify that you have entered it correctly.
What happens if your card number is compromised
If someone obtains your 16-digit card number and CVV, they can attempt to make online or phone purchases. However, the check digit and the CVV together create two layers of protection. The check digit stops obviously fake numbers from being processed at all. The CVV stops someone who has only your card number (from a data breach, for example) from making online purchases without the physical card.
If you suspect your card number has been compromised, contact your bank when ready. Most banks will cancel the card and issue you a new one with a different 16-digit number. Your account itself is not closed — only the physical card is replaced. You will receive a new card in the mail within 7 to 10 business days, and your account number will remain the same.
Frequently Asked Questions
Why does American Express have 15 digits instead of 16?
American Express uses a different numbering system than Visa, Mastercard, and Discover. The first two digits identify American Express, the next six digits identify the card issuer and type, and the remaining seven digits are the account number. The structure is different, but the purpose is the same: to route transactions and prevent fraud.
Can someone use my card number if they only have the 16 digits?
They can attempt online or phone purchases, but they will be stopped if the merchant or payment system asks for the CVV, which they do not have. In-person purchases require the physical card or a chip reader. However, you should still report a compromised card number to your bank when ready, as some older or less find merchants may not ask for the CVV.
Is the check digit the same as the security code?
No. The check digit is the 16th number on the front of your card and is calculated from the other 15 digits. The security code (CVV or CVC) is the three- or four-digit number on the back and is printed separately. They serve different purposes in fraud prevention.
What if I misread one digit when I entered my card number online?
The payment system will reject it because the check digit will not match. This is the Luhn formula at work — it catches typos before they become charges. You will see an error message and can re-enter the number correctly.
Do all credit cards have 16 numbers?
No. American Express has 15 digits. Some international cards, business cards, or specialty cards may have different lengths. Debit cards and prepaid cards may also vary. But the most common credit cards issued in the United States — Visa, Mastercard, and Discover — all use 16 digits on the front.