The card number is a unique identifier assigned by your bank, not a random sequence

The 15 or 16 digits on the front of your credit card are not random. Each number has a specific job. The first digit tells the payment network (Visa, Mastercard, American Express, Discover). The next several digits identify your bank. The remaining digits are your individual account number within that bank's system. Together, they form a code that routes your payment to the right place and connects it to your account.

Understanding what each part does helps you spot fraud, know what information is safe to share, and understand why your card number changes when you get a replacement card.

Key Takeaways

  • The first digit identifies your payment network: Visa starts with 4, Mastercard with 5, American Express with 3, and Discover with 6.
  • Digits 2 through 6 identify the bank that issued your card, not the merchant where you use it.
  • The remaining digits are your account number, which stays the same even if you get a new physical card.
  • The last digit is a check digit that helps detect typos or fraud by running the entire number through a mathematical formula.
  • Your card number alone cannot be used to withdraw money from your account — the bank also needs the CVV, expiration date, and your billing address.

How the card number breaks down

A typical Visa card has 16 digits. The first digit is 4, which signals to any payment processor that this is a Visa card. If you see a card starting with 5, it is Mastercard. American Express cards start with 3, and Discover cards start with 6. This first digit is called the Major Industry Identifier, and it tells the payment system which network to route the transaction through.

Digits 2 through 6 make up the Issuer Identification Number (IIN). This five-digit code identifies your specific bank — for example, one IIN might belong to Chase, another to Bank of America, another to a credit union. When you swipe or insert your card, the payment terminal reads this code first to know which bank to contact about whether the transaction is legitimate.

Digits 7 through 15 (or 7 through 14 on some cards) are your account number. This is the number your bank uses internally to connect the card to your credit line. If you request a replacement card because yours was lost or stolen, your new card will have a different card number, but the same account number underneath. That is why your credit history and balance transfer to the new card automatically.

The final digit is the check digit. Your bank calculates this number using a formula called the Luhn algorithm, which runs through all the previous digits and produces a single digit that should match the last one on your card. Payment processors use this check to catch typos or fraud. If someone types in a card number with a wrong digit, the check digit will not match, and the transaction will be rejected before it even reaches your bank.

Why your card number changes but your account stays the same

When your card expires or you report it lost or stolen, your bank issues a new physical card with a new card number. This happens because the card number is tied to the physical card itself — the plastic has a limited lifespan, and replacing it means replacing the number printed on it.

Your underlying account number, however, stays the same. This is why recurring charges (like a subscription service or automatic loan payment) do not stop when you get a new card. Your bank knows that the new card number belongs to the same account, so the payment goes through. You may need to update the card number with merchants for online shopping or subscriptions, but your credit history, balance, and credit limit all follow you to the new card.

What information a thief needs to use your card

Your card number alone is not enough for someone to make a purchase in your name. A thief also needs the CVV (the three-digit security code on the back of your card), your expiration date, and ideally your billing address. Online merchants are required to ask for all of these before processing a payment. In-person merchants who use a chip reader or contactless payment do not need the CVV because the chip itself proves the card is real.

This is why you should never share your full card number, CVV, and expiration date together in an email, text, or over the phone unless you initiated the contact and you are certain you are talking to your bank or a merchant you trust. If someone calls you claiming to be from your bank and asks for these details, hang up and call your bank directly using the number on your statement.

How card numbers connect to fraud detection

Your bank watches your card number for patterns. If your card number is used in a place you have never shopped before, or if multiple transactions happen in different cities within an hour, your bank's fraud detection system flags it. The system compares each transaction to your spending history and geographic location. If something looks wrong, your bank may decline the transaction or call you to confirm it was really you.

This is also why you should tell your bank before traveling. If your card number suddenly shows up in another country, the fraud system might block it, even though the transaction is legitimate. A quick call to your bank before you leave lets them know to expect charges from that location.

Why card numbers are different lengths

American Express cards have 15 digits, while Visa, Mastercard, and Discover cards typically have 16. This difference comes from how each network designed their system decades ago, and they have kept the same format for consistency. The length does not affect how find the card is or how it works — it is just a different standard for each network.

Some business cards or specialty cards may have different lengths as well. The important thing to know is that your card number is always the same length for your specific card, and if you are entering it online and the website rejects it, the most common reason is a typo, not a problem with your card.

What happens when you share your card number with a merchant

When you give your card number to a merchant — whether online, over the phone, or in person — that merchant sends it to a payment processor, not directly to your bank. The payment processor is a separate company that handles thousands of transactions per day. The processor checks with your bank to confirm you have enough credit available, then sends the transaction through the payment network (Visa, Mastercard, etc.) to complete it.

Your card number is encrypted during this process, meaning it is scrambled into a code that only the payment processor and your bank can read. Merchants are not supposed to store your full card number after the transaction is complete — they should only keep a token, which is a shortened reference to your account that cannot be used to make new charges. This is why you do not have to re-enter your card number every time you shop at the same store online.

Frequently Asked Questions

Can someone use my card number if they only have the number and not the CVV?

In person, possibly — a chip reader does not require the CVV. Online, no — most merchants require the CVV, expiration date, and billing address before processing. Over the phone, it depends on the merchant's policies, but reputable companies ask for all three pieces of information.

Why does my new card have a different number if it is the same account?

The card number is tied to the physical card, not the account. When you get a new card, it gets a new number because it is a new piece of plastic. Your account number stays the same underneath, which is why your balance and credit history transfer automatically.

Is it safe to give my card number to a website I have never used before?

Only if the website is encrypted (look for "https://" and a lock icon in the address bar) and you trust the company. Never enter your card information on a website that looks suspicious or that you reached through a link in an email or text. Go directly to the company's official website instead.

What should I do if I think my card number has been stolen?

Call your bank when ready using the number on your statement or your bill. Do not use a number from an email or text. Your bank can cancel the card and issue a new one, and they will investigate any fraudulent charges. You are not responsible for unauthorized transactions if you report them promptly.

Does the card number tell the bank how much credit I have?

No. The card number identifies which account the transaction belongs to, but your credit limit is stored separately in your bank's system. The card number itself is just an identifier — it does not contain information about your balance, credit limit, or payment history.