The card number is the 16-digit code printed on the front of your debit or credit card, and it identifies your specific account to merchants and payment networks.
That long string of numbers is not random. The first digit or two identifies which bank or card issuer created it. The next several digits identify your specific account. The last digit is a check digit—a mathematical safeguard that payment systems use to catch typos or fraud before a transaction goes through.
When you swipe, insert, or tap your card at a store, or when you type the number into an online checkout, that card number is what tells the payment network (Visa, Mastercard, American Express, or Discover) where to pull the money from. It is also what appears on your receipt and your monthly statement.
Key Takeaways
- Your card number is a 16-digit code (or 15 for American Express) that identifies your account to merchants and payment networks.
- The first digits identify your bank or card issuer; the middle digits identify your account; the last digit is a check digit that catches errors.
- Your card number is different from your account number—the card number is tied to the physical card, while your account number is the underlying bank account.
- Never share your full card number, expiration date, or CVV with anyone unless you are making a purchase from a trusted merchant.
- If your card number is compromised, contact your bank immediately; they can cancel the card and issue a new one with a different number.
How the Card Number is Structured
The card number follows a standard called the Luhn algorithm, which is a checksum formula that validates whether the number is real. Here is how it breaks down:
First digit or two (the issuer identification number): This tells you which bank or card network issued the card. For example, Visa cards start with 4, Mastercard with 5, American Express with 3, and Discover with 6.
Middle digits (the account identifier): These digits are unique to your account and are assigned by your bank. No two cards from the same bank will have the same middle digits.
Last digit (the check digit): This is calculated using the Luhn algorithm based on all the other digits. Payment systems run this calculation every time you use your card to verify that the number is valid. If someone types your card number wrong, or if a fraudster tries to use a fake number, this check digit will fail.
Card Number vs. Account Number: What is the Difference
Your card number and your account number are not the same thing, and this matters when you are troubleshooting a payment problem.
Your card number is printed on the front of the physical card you hold. If your card is lost, stolen, or expired, your bank cancels that card number and issues a new one. The old number no longer works.
Your account number is the underlying bank account itself. It stays the same even if you get a new card. Your account number is what appears on checks, wire transfer instructions, and direct deposit forms. It is usually 8 to 12 digits and is printed at the bottom left of your checks.
When you set up automatic bill payments or recurring subscriptions, you may be asked for your account number and routing number instead of your card number. These are safer for recurring payments because they do not change when you get a new card.
Where Your Card Number Appears and Who Sees It
Your card number shows up in several places, and understanding where it is visible helps you protect it.
On your physical card: The full 16-digit number is embossed or printed on the front. Anyone who holds your card can see it.
On your receipt: When you swipe or insert your card at a store, the receipt usually shows only the last four digits (for example, "Visa ending in 4829"). This is by design—it lets you verify which card you used without exposing the full number.
On your bank statement: Your statement shows the last four digits of the card used, plus the merchant name and amount.
Online and in apps: When you save a card to a website or app for faster checkout, the service stores an encrypted version of your card number. You should only do this with merchants you trust.
What Happens When You Use Your Card Number
Every time you use your card—whether in person or online—your card number travels through multiple systems before the transaction completes.
At a physical store, your card number is read by the terminal and sent to your bank's payment processor. The processor checks that the card is valid, that it has not been reported stolen, and that your account has enough funds or available credit. If all checks pass, the transaction is approved and the merchant is told to complete the sale.
Online, you type your card number into a checkout form. That number is encrypted (scrambled into code) before it leaves your computer, so it cannot be read if someone intercepts it. The merchant's payment processor receives the encrypted number, decrypts it, and runs the same checks as a physical terminal would.
In both cases, your card number itself is not stored by the merchant. Instead, the payment processor stores a token—a unique code that represents your card but is useless to a fraudster. This is why you can use the same card at thousands of different stores without exposing the full number to each one.
Protecting Your Card Number
Your card number is one of the pieces of information a fraudster needs to make unauthorized purchases. Protecting it is straightforward.
Never share your full card number by email, text, or phone unless you initiated the contact and you are certain you are talking to your bank or a merchant you trust. Your bank will never ask you for your card number by email or phone.
Cover the card number when you are typing it in public. Someone standing behind you at a checkout kiosk or ATM can see what you type.
Do not write your card number down. If you need to remember it, store it in a password manager or a locked notes app on your phone, not on a sticky note or in your wallet.
Check your statement regularly. Most banks let you view transactions online within a day or two of when they post. If you see a charge you do not recognize, report it to your bank immediately.
Use a credit card for online purchases when possible. Credit cards offer stronger fraud protection than debit cards. If someone uses your credit card number fraudulently, you can dispute the charge and the card issuer investigates. With a debit card, the money is already gone from your account, and you have to wait for the bank to return it.
What to Do If Your Card Number Is Compromised
If you believe your card number has been stolen or used fraudulently, contact your bank immediately. Most banks have a fraud line that is staffed 24/7.
Your bank will cancel the card and issue a new one with a different card number. The old number will no longer work for any purchases. You will receive the new card in the mail within 7 to 10 business days, though some banks can issue a temporary number immediately that you can use online.
If fraudulent charges have already appeared on your account, your bank will investigate and typically refund them within 10 business days. For credit cards, you can also file a dispute directly with the card issuer, which gives you additional protections under federal law.
After your card is replaced, update any recurring subscriptions or saved payment methods that used the old card number. Your account number stays the same, so automatic bill payments linked to your account will continue without interruption.
Frequently Asked Questions
Is my card number the same as my PIN?
No. Your card number is the 16 digits printed on the front of your card. Your PIN is a separate 4-digit code that only you know. The card number identifies your account to merchants; the PIN proves it is actually you when you use an ATM or enter your PIN at a store terminal.
Can someone use my card number without the expiration date and CVV?
In person, yes—a merchant only needs the card number to process a swipe or insert transaction. Online, most merchants require the expiration date and CVV as well, which adds a layer of protection. However, a fraudster with your card number, expiration date, and CVV can make online purchases without your permission.
Why does my new card have a different number?
Each physical card is assigned its own unique card number. When your bank issues a replacement card—whether because yours expired, was lost, or was compromised—the new card gets a new number. Your underlying account number stays the same.
Do I need to memorize my card number?
No. You only need to remember your PIN. Your card number is printed on the card itself, so you can look it up whenever you need it. Memorizing it is actually riskier because you might accidentally say it out loud or write it down.
What is the CVV, and how is it different from my card number?
The CVV (Card Verification Value) is a 3-digit or 4-digit code printed on the back of your card, separate from the card number. It is used only for online and phone purchases to verify that you physically have the card. Merchants are not supposed to store the CVV, so it offers extra protection against fraud.