How many digits are in a standard Visa or Mastercard credit card number?
Guess before you scroll — the answer is below
The answer
16 digits
A standard Visa or Mastercard number has 16 digits under the international ISO/IEC 7812 standard. American Express is the well-known exception, using 15 digits instead — one reason some older card readers and web forms still reject Amex numbers if they weren't built to handle the shorter length.
How to get close to this number
Recall the visual rhythm rather than the number. A card number is printed in four groups of four, and that grouping exists precisely to make a long string readable and dictatable. Reconstructing from the layout you have seen a thousand times is faster and more reliable than trying to remember a count.
The exception in the explanation is the practically important part: one major network uses a different length, printed in different groups. That is why badly built payment forms reject perfectly valid cards — a developer who hardcoded a single length created a bug that only affects customers of one issuer, which is the kind of failure that goes unnoticed for years.
The number is also not arbitrary. Under the international standard the leading digits identify the issuer, a block in the middle identifies the account, and the final digit is a check digit computed from the rest — which is how a typo can be caught before a transaction is ever attempted. The length is a consequence of that structure rather than a choice.
Where this number comes from
| Source | ISO/IEC 7812 card numbering standard |
|---|---|
| Figure refers to | 2023 |
| Last checked | |
| Unit | digits |
Numbers move. If this one has drifted from its source, let us know.
Think you can do better?
Five fresh questions every day. No account needed.
Related questions
- What is the median U.S. fixed broadband download speed, in Mbps?
- How many petaflops does the fastest supercomputer on the June 2026 TOP500 list run at?
- How many charge cycles does a smartphone battery last?
- How many minutes does a fast charger take to charge an EV to 80%?
- How many active Android devices are there worldwide?
- How many active satellites were orbiting Earth in mid-2026?