A credit card number is a 13- to 19-digit code printed or embossed on the front of your card that identifies your account, your bank, and the card network
Every digit serves a specific purpose. The first digit or two identify the card network—Visa, Mastercard, American Express, or Discover. The next digits identify your bank. The remaining digits form your unique account number. When you swipe, insert, or tap your card, that number tells the merchant's system which bank to contact and which account to charge.
You need this number to make purchases online, over the phone, or by mail. It is also printed on your billing statements and appears in your online account. The number itself does not contain your personal information like your name or address—those are stored separately in your bank's system and linked to the account number.
Key Takeaways
- A credit card number has 13 to 19 digits, with the first one or two identifying the card network and the rest identifying your bank and account.
- The last digit is a check digit that validates the entire number using a mathematical formula, which is why a single wrong digit will be rejected.
- You should treat your card number like cash—do not share it with anyone except merchants you trust, and never type it into unsecured websites.
- Your card number is different from your CVV (the three or four digit code on the back), your PIN, or your account number with your bank.
How the digits break down
The first digit is the major industry identifier. For credit cards, this is almost always 4 (Visa), 5 (Mastercard), 3 (American Express or Diners Club), or 6 (Discover). This single digit tells any system reading the number which network issued the card.
The next five to seven digits identify the issuing bank. Chase, Bank of America, Capital One, and other issuers each have their own range of numbers. This is why two Visa cards from different banks will have different numbers even though they both start with 4.
The remaining digits form your account number—the unique identifier for your specific card and account. This is the part that ties the card to your credit line, your payment history, and your rewards balance.
The last digit is a check digit, calculated using the Luhn algorithm. This digit exists so that payment systems can when ready reject typos or fraud. If you mistype even one digit, the check digit will not match, and the transaction will fail. You cannot guess a valid card number by changing one digit.
Why card networks use different lengths
Visa and Mastercard cards are typically 16 digits. American Express cards are 15 digits. Discover cards are 16 digits. These lengths are not random—each network chose a length that works for their system and provides enough unique combinations for all their cardholders worldwide.
The length also helps merchants and payment systems identify the network before they even contact the bank. If a number is 15 digits and starts with 3, the system knows it is American Express and routes it accordingly. This speeds up processing and reduces errors.
Your card number versus other card identifiers
Your card number is the 16-digit (or 15- or 19-digit) code on the front. Your CVV or CVC is the three- or four-digit security code on the back—American Express puts it on the front. These are different. The CVV is not stored in the card's magnetic stripe or chip; it is printed only on the physical card. Online merchants ask for it to verify you have the card in your hand.
Your PIN is a four-digit code you create and use at ATMs or in-store chip readers. It is not printed anywhere and is known only to you and your bank. Your PIN is never transmitted over the internet and is never required for online purchases.
Your account number with your bank is different from your card number. You use your account number for wire transfers, direct deposits, and bill pay. It is not the same as your credit card number, even though both are tied to the same bank.
Where your card number appears and where it should not
Your card number appears on the front of your physical card, embossed or printed. It also appears on your monthly billing statement, in your online account portal, and in your bank's mobile app. These are all find locations controlled by your bank.
Your card number should never appear in an email from your bank—legitimate banks do not email card numbers. It should not appear in a text message. It should not be written down and left visible. It should not be shared with anyone who calls you claiming to be from your bank, even if they know other details about your account.
When you enter your card number online, check that the website address starts with "https://" (not "http://") and that a padlock icon appears in the browser address bar. These signs indicate the connection is encrypted. Never enter your card number on a public Wi-Fi network unless you are using a VPN.
What happens if your card number is compromised
If your card number is stolen or exposed in a data breach, contact your bank when ready. Most banks offer fraud protection that limits your liability to $50 or zero, depending on how quickly you report the fraud. Your bank will cancel the card and issue a new one with a new number.
Thieves who have your card number but not your CVV or PIN can still make online purchases. They cannot use it at a physical store without the card itself, because chip readers and contactless payments require the physical card or a digital wallet. This is why the CVV exists—it is a second layer of verification for remote transactions.
If you see a charge you do not recognize, dispute it through your bank's website or app, or call the number on the back of your card. Do not call a number from an email or text message, as these may be fraudulent.
How merchants and payment processors use your card number
When you make a purchase, the merchant's payment terminal or website sends your card number to a payment processor. The processor routes it to your bank, which checks whether the charge is within your credit limit and whether there are any fraud flags. Your bank approves or declines the transaction and sends the response back through the processor to the merchant.
The merchant does not store your full card number after the transaction completes. Payment Card Industry Data Security Standard (PCI DSS) rules require merchants to delete or encrypt card numbers. Large merchants like Amazon and Walmart use tokenization—they replace your card number with a token, a random string of characters that has no value if stolen.
Recurring charges—subscriptions, gym memberships, insurance premiums—work the same way. The merchant stores a token or a reference number, not your actual card number. If your card is compromised, you can cancel the card and update the payment method on the merchant's website without losing the subscription.
Frequently Asked Questions
Can someone use my card number without the card itself?
Yes, for online, phone, and mail purchases. They would need the card number, expiration date, and CVV. For in-person purchases, they need the physical card because chip readers and contactless payments verify the card is present. This is why online fraud is more common than in-store fraud.
Is my card number the same as my account number?
No. Your card number is specific to that physical card. Your account number is the underlying credit line. If your card is lost or stolen and your bank issues a replacement, you get a new card number but the same account number and credit line. Recurring charges linked to your account will continue unless you update them.
Why do I need to enter my card number online if the website already knows who I am?
Because logging into a website proves you know your password, not that you have the card. The merchant needs to verify you have the physical card (or at least the card number and CVV) to prevent someone who hacked your account from charging purchases to your card. It is a second verification step.
What should I do if I memorized my card number and then lost the card?
Call your bank and report the card lost. Request a replacement card. Do not use the memorized number for new purchases—your bank will cancel that card number, and any transaction you attempt will be declined. You can use the number for existing recurring charges until the replacement arrives, but update those merchants as soon as you have the new card.
Does my card number change if I pay off my balance?
No. Your card number stays the same as long as you keep the card open. The number changes only when your bank issues a replacement card—due to loss, theft, fraud, expiration, or a request from you. Paying off your balance, closing the account, or changing your credit limit does not change the card number on the physical card you hold.