Credit card numbers are 13 to 19 digits long, depending on the card type and issuer
Most credit cards you encounter in the United States have 16-digit numbers. Visa, Mastercard, and Discover all use 16 digits as their standard. American Express is the main exception — their cards carry 15-digit numbers. Some specialty cards, business cards, or cards from smaller issuers may have 13, 14, or 19 digits instead, though these are less common.
The length is not random. Each digit serves a purpose. The first digit identifies the card network: Visa cards start with 4, Mastercard with 5, American Express with 3, and Discover with 6. The next several digits identify your bank or card issuer. The remaining digits are your unique account number. The very last digit is a check digit — a mathematical verification that the number itself is valid, calculated using an algorithm called the Luhn formula.
Knowing your card's length matters for two practical reasons: it helps you spot a fake or mistyped number when you are entering it online, and it tells you whether a number you see written down is complete or truncated for security.
Key Takeaways
- Most credit cards have 16 digits; American Express has 15; some specialty cards have 13, 14, or 19.
- The first digit tells you the card network (4 for Visa, 5 for Mastercard, 3 for American Express, 6 for Discover).
- The last digit is a check digit that verifies the entire number is mathematically valid.
- If a number you are entering does not match the expected length for that card type, it is likely incomplete or incorrect.
Why card networks use different lengths
Card networks set their own standards, and those standards were established decades ago based on the technology and volume of transactions at the time. Visa, Mastercard, and Discover settled on 16 digits because that length provided enough unique combinations to issue millions of cards while staying within the processing limits of early computer systems. American Express chose 15 digits for similar reasons but with a different calculation of how many cards they would need to issue.
The 19-digit cards you occasionally see are usually issued by smaller banks or for specific purposes — corporate cards, prepaid cards, or cards issued in certain countries. The 13- and 14-digit cards are rarer in everyday use but may appear on older cards or specialty products. The card network does not change its standard length often because doing so would require updating payment systems across millions of merchants and banks worldwide.
How to verify a card number is the right length
When you are entering a credit card number online or over the phone, the payment system should tell you if the number is too short or too long. Most checkout pages will not let you proceed until the number matches the expected length for that card type. If you are typing a number and it seems to be rejected for length, double-check that you have not skipped a digit or added an extra one by mistake.
If you are reading a card number from a receipt or statement, remember that many systems display only the last four digits for security — for example, "Visa ending in 4829." This is normal and does not mean the card number is incomplete. The full number still has 16 digits; the other 12 are just hidden.
What the Luhn formula does
The last digit of your card number is not random — it is calculated using the Luhn algorithm, a checksum formula that detects typos and simple errors. When you enter your card number at a checkout, the payment processor runs the number through this formula to confirm it is mathematically valid before sending it to your bank. If you transpose two digits or type one wrong, the check digit will not match, and the system will reject the number immediately.
This is a security feature, but not a strong one. The Luhn formula catches accidental errors, not fraud. A criminal who has your card number can still use it; the check digit just confirms the number is not obviously garbled. This is why you should never share your full card number with anyone you do not trust, regardless of whether the number passes the Luhn check.
Differences between card types you might see
| Card Network | Number of Digits | First Digit |
|---|---|---|
| Visa | 16 | 4 |
| Mastercard | 16 | 5 |
| American Express | 15 | 3 |
| Discover | 16 | 6 |
| Specialty or international cards | 13, 14, or 19 | Varies |
Why this matters when you are shopping online
When you enter your card at checkout, the payment page usually knows which network you are using based on the first digit you type. Once it recognizes the network, it expects a specific length. If you are using a Visa and you type only 15 digits, the form will not accept it — you will see an error message asking you to check the number. This is a built-in safeguard that catches many typos before your information is sent anywhere.
If you are copying and pasting a card number, make sure you have copied the entire number with no extra spaces. Some websites or documents add spaces between groups of digits for readability (like "4532 1234 5678 9010"), and if you copy those spaces along with the numbers, the checkout page may reject it. Most payment forms strip out spaces automatically, but some do not.
Frequently Asked Questions
Why does American Express have 15 digits instead of 16?
American Express set its own standard when it issued its first cards and has kept that standard ever since. Fifteen digits provided enough unique combinations for their business model. Changing to 16 digits now would require updating systems across millions of merchants and payment processors, so they have not made the switch.
If I see a card number with spaces, is it still the same length?
Yes. Spaces are just formatting — they do not add or remove digits. A Visa number displayed as "4532 1234 5678 9010" is still 16 digits; the spaces just make it easier to read. When you enter it into a payment form, you can type it with or without spaces — most systems accept both.
Can I tell if a card number is fake just by counting the digits?
Counting digits tells you if the number is the right length for that card type, but not whether it is real or stolen. A fake number might still be 16 digits and pass the Luhn check. The only way to know if a card is real is to attempt a transaction — the bank will reject it if the account does not exist or has been closed.
What if my card number is a different length than I expected?
Contact your card issuer. Some specialty cards, business cards, or cards issued outside the United States may use different lengths. Your bank can confirm whether the length is correct for your specific card.
Does the length of a card number affect security?
Not directly. A 16-digit card is no more or less secure than a 15-digit card just because of the length. Security depends on encryption, fraud monitoring, and whether your card details have been compromised — not on how many digits the number contains.