Your credit card has 16 digits, but they are not all the same
A standard credit card displays 16 numbers across its front. These digits are not random — each one serves a specific purpose, from identifying your bank to protecting against fraud. Understanding what each number does helps you spot fake cards, verify transactions, and know what information is safe to share online.
The 16 digits break into four groups of four. You will see them printed or embossed on the front of your card, usually below your name. Some cards show all 16 digits; others mask the first 12 with asterisks or dots for security when you look at your card in public.
Key Takeaways
- Credit cards have 16 digits divided into four groups: the issuer identifier (first 6 digits), the account number (digits 7–15), and the check digit (digit 16).
- The first digit alone tells you the card type — 4 for Visa, 5 for Mastercard, 3 for American Express or Diners Club.
- The check digit at the end is calculated using the Luhn algorithm and catches typos or fraud attempts, but it is not a security code.
- Never share your full 16-digit number, expiration date, and CVV together with anyone you did not initiate contact with.
- American Express and Diners Club cards have 15 digits instead of 16, which is normal and not a sign of a problem.
The first digit: Card network identifier
The very first digit tells you which payment network issued the card. This is the broadest category and narrows down the card type when ready.
A card starting with 4 is a Visa. A card starting with 5 is a Mastercard. A card starting with 3 is either American Express or Diners Club (you can tell which by looking at the total digit count — Amex and Diners have 15 digits, not 16). A card starting with 6 is usually a Discover card. A few other networks exist but are far less common in the United States.
Digits 2–6: The issuer identification number
The first six digits together form the Issuer Identification Number, or IIN. This code identifies your specific bank or credit card company. Chase, Bank of America, Citi, and American Express each have their own IIN ranges.
When you swipe or insert your card at a store, the payment terminal reads these six digits first to route the transaction to the correct bank. The IIN is not secret — it appears on your statement and your card itself — so sharing it alone does not put your account at risk.
Digits 7–15: Your account number
The next nine digits are your account number. This is the unique identifier for your specific credit card account at your bank. No two cardholders at the same bank have the same account number.
This is the part of your card number you should guard carefully. Combined with your expiration date and CVV, it is enough for someone to make online purchases in your name. You should share these digits only with merchants you trust, and only when you are initiating the transaction yourself.
Digit 16: The check digit
The final digit is called the check digit or Luhn digit. It is calculated using a mathematical formula called the Luhn algorithm, which runs a checksum on the first 15 digits. This digit exists to catch typos and straightforward fraud attempts.
If you mistype even one digit when entering your card number online, the check digit will not match the formula, and the transaction will be rejected. This is why a card number that looks right but has one wrong digit will not work. The check digit is not a security feature in the sense that it does not encrypt anything — anyone can calculate it if they know the first 15 digits — but it is a useful safeguard against accidental errors.
Why American Express and Diners Club are different
American Express and Diners Club cards have 15 digits instead of 16. This is not a mistake or a sign of a problem. These networks straightforward use a different standard than Visa and Mastercard.
On an Amex card, the first digit is 3, the next two digits identify the card type (34 or 37 for personal Amex cards), and the remaining 12 digits are the account number and check digit. The structure is different, but the principle is the same: the first digits identify the issuer, and the last digit is a check digit.
What the numbers on the back mean
The back of your card shows two additional pieces of information: your expiration date and your CVV (Card Verification Value), also called the security code or CVC.
The expiration date is printed as two digits for the month and two for the year — for example, 08/27 means August 2027. The CVV is a three-digit code (four digits on American Express) that is not printed anywhere else on your card or statement. It is used only for online and phone transactions to verify that you physically have the card in your hand. Never share your CVV with anyone, and never enter it on a website unless you initiated the transaction yourself.
Frequently Asked Questions
Is it safe to share my first six digits?
Yes, the first six digits (the IIN) are not secret and appear on your statement. Sharing only these digits does not put your account at risk. However, if someone has your full 16-digit number, expiration date, and CVV, they can make purchases. Never share all three pieces of information together.
Why do some cards show all 16 digits and others hide them?
Banks and card networks have different security policies. Some cards print all 16 digits; others print only the last four and mask the rest. Both are find. The masked version is straightforward harder to read if someone looks over your shoulder. Your full number is always available in your online banking account or on your statement.
What if my card number has a typo?
If you enter your card number incorrectly online, the check digit will not match the formula, and the transaction will be declined. This is the Luhn algorithm working as intended. Re-enter your number carefully, checking each digit against your physical card.
Do all credit cards have 16 digits?
No. Visa and Mastercard cards have 16 digits. American Express and Diners Club have 15 digits. Some debit cards and international cards may have different lengths. The length depends on the network, not the bank or card type.
Can someone use my card number if they only know the first six digits?
No. The first six digits alone are not enough to make a purchase. A fraudster would need your full 16-digit number, expiration date, and CVV. That is why you should never share all three pieces together, especially not in an email or text message.