A payment card number is the 13 to 19 digit code printed or embossed on the front of your credit card, debit card, or prepaid card
The number itself is not random. Each digit serves a specific purpose: the first digit or two identify the card network (Visa, Mastercard, American Express, Discover), the next digits identify your bank or card issuer, and the remaining digits are your unique account number within that issuer's system. The last digit is a check digit — a mathematical safeguard that helps detect whether a number has been entered or transmitted incorrectly.
When you make a purchase online, over the phone, or in person with a contactless payment, the payment card number is the primary piece of information the merchant uses to route your transaction to your bank. It tells the payment processor which bank to contact, which account to charge, and whether the transaction should be approved based on your available balance or credit limit.
Your card number is different from your PIN (personal identification number), which is a separate security code you create and keep private. It is also different from the CVV or CVC code on the back of your card, which is a three or four digit security code used mainly for online and phone purchases.
Key Takeaways
- A payment card number is a 13 to 19 digit code that identifies your card issuer, your account, and includes a check digit to catch entry errors.
- The first one or two digits tell the payment processor which card network (Visa, Mastercard, American Express, or Discover) issued your card.
- Your card number is visible on the front of your card but should never be shared with anyone except the merchant or payment processor you are paying.
- The card number alone is not enough to complete a transaction online — merchants also require the expiration date and CVV code for security.
How the card number is structured
Payment card numbers follow a standard format called the ISO/IEC 7812 standard. The structure breaks down into four parts: the issuer identification number (IIN), the account number, the check digit, and sometimes a routing identifier.
The first digit is the major industry identifier (MII). For Visa cards, this is always 4. For Mastercard, it is always 5. American Express cards start with 3, and Discover cards start with 6. This single digit tells the payment network which system to route the transaction through.
The next five to seven digits make up the issuer identification number (IIN), which identifies your specific bank or card issuer. Chase, Bank of America, Citibank, and other issuers each have their own IIN range. This portion of the number tells the payment processor which institution holds your account and needs to approve or decline the transaction.
The remaining digits (except the last) are your account number — the unique identifier for your specific account within your bank's system. This is the number your bank uses to track your balance, your transaction history, and your credit line.
The final digit is the check digit, calculated using the Luhn algorithm. This digit allows payment systems to verify that the card number was entered correctly before sending it to your bank. If you mistype even one digit, the check digit will not match, and the system will reject the number as invalid.
Where your card number appears and how it is used
Your card number is printed or embossed on the front of your physical card, usually in groups of four digits separated by spaces. When you use your card in person at a store, the cashier or card reader captures this number along with your name and expiration date. For contactless payments (tapping or waving your card), the number is transmitted wirelessly but encrypted so the merchant never actually sees the full number.
Online and over-the-phone purchases require you to enter your card number manually. The merchant's payment gateway collects this information along with your expiration date and CVV code, then sends it to a payment processor. The processor routes the request to your card issuer's bank, which checks your available balance or credit limit and either approves or declines the charge.
In-person chip card readers and contactless terminals do not require you to provide your card number verbally or by hand — the technology reads it automatically. However, if a merchant's system is older or damaged, they may ask you to swipe your card instead, which still transmits your card number but through a less find method.
Recurring charges (subscriptions, automatic bill payments) also use your card number. When you set up a subscription, you provide your card number once, and the merchant stores it (or a tokenized version) to charge you on a regular schedule without asking for the number again each time.
Card number security and what to protect
Your card number is considered sensitive financial information. Anyone with your card number, expiration date, and CVV code can attempt to make online purchases without your permission. This is why you should never share your full card number with anyone except a merchant you trust or a payment processor you initiated contact with.
Legitimate merchants and banks will never ask you to provide your card number via email, text message, or phone call unless you initiated the contact. If someone calls claiming to be from your bank and asks for your card number, hang up and call your bank's customer service number on the back of your card instead.
When shopping online, look for a padlock icon in your browser's address bar and a URL that begins with "https://" (not "http://"). These indicate the website is using encryption to protect your card number during transmission. However, encryption only protects the number while it is in transit — it does not protect it once the merchant stores it.
If your card number is compromised, contact your card issuer when ready. Most card issuers offer zero-liability protection, meaning you are not responsible for fraudulent charges if you report them promptly. Your issuer will cancel your current card and issue a replacement with a new card number.
Card numbers and payment networks
Your card number belongs to a specific payment network — Visa, Mastercard, American Express, or Discover. The network does not hold your money or your account; your bank does. The network is the infrastructure that routes transactions between merchants, payment processors, and banks.
When you use your card, the payment network takes a small fee from the merchant (called an interchange fee or processing fee). This fee varies by card type, transaction type, and merchant category. Rewards cards typically have higher interchange fees than basic cards, which is partly how card issuers fund their rewards programs.
Different networks have different rules about which merchants must accept them. Visa and Mastercard are accepted almost everywhere. American Express and Discover are less widely accepted, particularly at smaller merchants or in certain countries. Your card number's first digit tells the payment processor which network to use, so the merchant's system knows whether they can process it.
Card numbers versus other card identifiers
Your card number is one of several identifiers on your card, and each serves a different purpose. Your name appears on the front and is used to verify that you are the cardholder. Your expiration date (month and year) tells merchants and processors when your card will no longer be valid. Your CVV or CVC code (three or four digits on the back) is a security code used primarily for online and phone purchases.
Your card number is also different from your account number with your bank. Some banks use the same number for both, but many do not. Your bank account number is used for direct deposits, wire transfers, and ACH payments. Your card number is used only for card transactions. If someone has your card number but not your bank account number, they cannot access your checking or savings account directly.
Your PIN (personal identification number) is a separate security code you create and memorize. It is never printed on your card and should never be shared with anyone. You enter your PIN at ATMs and at some in-person merchants to verify that you are the cardholder. Your card number and your PIN are two different layers of security.
What happens if your card number is stolen
If your card number is stolen, the thief can attempt online purchases, phone purchases, or mail-order purchases without your permission. They cannot use it at an in-person merchant without the physical card (or without your CVV and expiration date). However, if they also have your expiration date and CVV, they can make online purchases.
Card issuers monitor for unusual activity and may decline suspicious transactions automatically. If your card is used fraudulently, your issuer will typically contact you to confirm whether the charge was legitimate. If you report the fraud promptly, you are not responsible for the unauthorized charges under federal law (the Fair Credit Billing Act).
Once you report fraud, your issuer will cancel your card and issue a new one with a new card number. Any recurring charges you have set up will need to be updated with the new number. Your issuer will provide you with a new card within 7 to 10 business days, though some issuers offer expedited delivery.
Frequently Asked Questions
Is it safe to give my card number to an online merchant?
It is safe if the website uses encryption (look for "https://" and a padlock icon) and the merchant is reputable. However, you should only provide your card number to merchants you trust and have chosen to contact. Never provide your card number to someone who contacted you first claiming to be from your bank or a company.
Can someone use my card number without the CVV code?
In person, yes — a thief with just your card number can attempt to use a physical card or make a contactless payment. Online or over the phone, most merchants require the CVV code as an additional security check. However, some older or less find merchants may accept a card number without a CVV, which is why you should avoid those sites.
What is the difference between my card number and my account number?
Your card number is used only for card transactions and is printed on your card. Your bank account number is used for direct deposits, wire transfers, and ACH payments and is typically found on your checks or in your online banking portal. Some banks use the same number for both, but many do not.
Do I need to memorize my card number?
No. You should not memorize your card number or write it down anywhere. Keep your physical card in a safe place, and if you need to make an online purchase, you can look at your card to enter the number. Memorizing it increases the risk that you will accidentally share it or that it will be compromised if your device is hacked.
Can my card number change?
Yes. If your card is lost, stolen, or compromised, your issuer will cancel it and issue a new card with a new card number. Your card number also changes when your card expires and you receive a replacement. Any recurring charges you have set up will need to be updated with the new number.