The Last Four Digits of American Express Card Numbers & The Birthday Problem

If you have multiple American Express cards stored in your Amazon account, or at other online sites, you may have been stymied by a user interface that only displays the last four digits of your American Express cards – two of which happen to be the same.

American Express Last Four at Amazon

Why is that? And what’s the probability that you’ll have two American Express cards with the same last four digits? The answer lies in the rather unique way American Express credit and charge card numbers are issued, and has an interesting link to the birthday problem from probability theory.

How Do the Last Four Digits Work?

American Express credit card numbers are 15 digits, and those issued by American Express have the last four digits determined as follows:

  • (12th digit): number of cards that have been issued on a revolving credit line, starting at 1 and increasing for each replacement card (usually due to theft or loss)
  • (13th – 14th digit): number of additional cardmember, starting at 00 for the primary cardmember and increasing by 1 for each additional cardmember
  • (15th digit): checksum digit

If your card has never been replaced and you are the primary cardmember, your last four digits are always 100x, where x is the checksum digit. Since the checksum digit can be 0–9, there is a 10% chance that any two American Express credit or charge cards fitting those two conditions share the same last four digits—compared to other issuers, a very high probability! This is why you must confirm the last five digits when talking to American Express.

How to Avoid Having the Same Last Four Digits

If having the same last four digits on two American Express cards is an issue, there are a few workarounds.

My solution is to memorize the expiration date (or rather, remember when I applied for the card) because Amazon displays the expiration date. (And I generally don’t store my card information on other sites, preferring to use LastPass.)

An Amazon-specific solution mentioned by a few readers is to put identifying information about the card in the “name” field of any cards you may be confused about. This currently works because Amazon does not verify the name on your credit card when charging it. (In other words, it’s YMMV and could change without notice.)

If that isn’t working for you, requesting a replacement card will increase the twelfth digit and also change the checksum digit. You can do this online or by phone; it’s my understanding that calling and mentioning the last four digit issue is an acceptable reason for customer care professionals.

Probability Theory

Now, for the exciting part! It’s easy enough to calculate the probability that any two American Express cards will share the same last four digits (10%). But, you have to go a bit deeper into basic probability theory to find the probability that two of a given number of American Express credit cards share the same last four digits. (It is important to note that the probabilities we are about to calculate are for cards with the same 12th thru 14th digits. In other words, the probabilities can be for “never replaced” & “primary cardmember”; “never replaced” & “first additional cardmember”; “replaced once” & “primary cardmember”; etc.—but never a mix of the categories.)

If you have eleven American Express cards, the answer is 100% because there are only ten possible checksum digits (the pigeonhole principle).

For two to ten American Express cards, we can find the probability by asking the opposite question: what’s the probability that no two cards have the same last four digits? Because the probability that no two cards have the same last four digits and the probability that two cards do have the same last four digits must be 100%, we can subtract our answer from 100% to answer our original question.

This is the same way the birthday problem is solved, which you may recognize by the formulation that (discarding February 29), there is a 50% probability that two people in a room share a birthday when there are 23 people in the room. (Astute readers may recognize that this assumes the distribution of birthdays is uniformly random, which it is not, but the effect on the probability is negligible enough to ignore. Likewise, I make that assumption about the checksum digit.)

We can calculate the probability that no two cards share the same last four digits by calculating the probability that each subsequent card beyond the first card does not have the same checksum digit. The probability that a second card does not have the same last four digits is 90% – if the checksum digit of the first card is x, then there are 9 out of 10 digits the second card can have without having the same last four digits. The probability that a third card does not have the same last four digits as the first or second card is 80%, which is then multiplied by 90% to obtain the probability that both a second and third card do not have the same last four digits as the first card. And so on. What you wind up with is probabilities that escalate quickly:

# Cards Not the Same Last 4
Probability
Same Last 4
Probability
2 90% 10%
3 72% 28%
4 50.4% 49.6%
5 30.24% 69.76%
6 15.12% 84.88%
7 6.048% 93.952%
8 1.814% 98.186%
9 0.363% 99.637%
10 0.036% 99.964%

With just four American Express cards, you have a near-50% probability of having two cards with the same last four digits!

For fun, we can also calculate the probability that two of your American Express cards share the same last five digits:

# Cards Not the Same Last 5
Probability
Same Last 5
Probability
2 99% 1%
3 97.02% 2.98%
4 94.109% 5.891%
5 90.345% 9.655%
6 85.828% 14.172%
7 80.678% 19.322%
8 75.031% 24.969%
9 69.028% 30.972%
10 62.816% 37.184%

 

Questions? Comments? Other mathematical funsies? Drop them below!

Subscribe
Notify of
guest

77 Comments
newest
oldest most voted

L Watts
L Watts (@guest_996265)
June 11, 2020 11:52

Can the last four digits of an AMEX card be 1000 ??

Jiffy
Jiffy (@guest_1064225)
September 28, 2020 21:30

Yep!

ycx
ycx (@guest_923356)
February 28, 2020 15:12

Late to the party, but anyone has an idea what will happen if you replace your card 9+ times? Does it wrap back to 0, or will Amex ban you for that?

Since there’s an AU limit of 99 the second part can’t overflow.

Wendy
Wendy (@guest_553541)
January 23, 2018 18:49

Ha! For all of these years I thought I just kept having bad luck. Thank you for explaining a mystery.

parrothead
parrothead (@guest_552961)
January 21, 2018 21:23

I’m surprised this hasn’t affected me, but I bet it will one day. Thanks for the info

J
J (@guest_552858)
January 21, 2018 13:25

The geeky side of doc!

sdsearch
sdsearch (@guest_552840)
January 21, 2018 11:34

There can worse problems than your confusion at Amazon. I once paid a hotel with one Amex card. Then a couple months later, I came back to the same hotel and gave them a newer Amex card that I wanted to use (I’d also guaranteed the reservation with this newer Amex card).. The hotel apparently looked at the last 4 digits, saw they were the same as the last time I’d stayed, and charged my stay to the Amex card I’d used months earlier rather the newer Amex I had used for this new reservation So I ended up having my stay charged to the wrong card because both cards had the same last 4 digits and the hotel didn’t know that was common with Amex cards! Luckily the hotel was near where I was passing by a couple days later, because when I saw (online) that the wrong card had been billed, I had to go in person to the hotel, show them the two cards, have them reverse the charge on the wrong card and charge the right card.

Zalc
Zalc (@guest_552792)
January 20, 2018 23:11

A little tip I discovered a while back:

I don’t know if you can recommend this on your blog officialy, and I am not recommending it here.
Proceed at your own risk

Amazon does not care about what name is on the card. It will process regardless, like in a regular B&M store.
So all you need to do is add your preferred tag in the name field for the card and you will never be confused again.

Chuck
Editor
Chuck(@chucksithe)
January 20, 2018 23:23

Nice tip!

Corran Horn
Corran Horn (@guest_552756)
January 20, 2018 20:46

Timely post, it made me think to check my recent Delta E-Gift card purchase for the statement credit. Turns out I used my saved Delta Platinum for the purchase, not the Personal Platinum I meant to use (ugh). Same last 4 digits. Good thing I was just doing a test case of one $50 purchase to make sure I got the credit prior to doing the other 3.

TJ
TJ (@guest_552724)
January 20, 2018 15:35

This caused actual website errors on Walmart.com at least a few years ago – they had an Amex offer that I had on like 15 amex cards and if you left the cards on the account, it would charge the first one on your account with the same last four even if you entered a brand new card number in full as payment. Confused the hell out of me since I managed to charge one card 3 times for $20 gift cards or whatever it was while trying to get it on a second card with the same last 4 as an earlier one.

TJK
TJK (@guest_1062158)
September 25, 2020 02:25
  TJ

Best Buy still does this, I have to delete the saved card number if I’m putting in another one with the same last 5 digits.

scott
scott (@guest_552715)
January 20, 2018 14:30

I had several Amex cards with the last 4 digits. This caused problems with a charge on my SPG card a couple of years ago. I called Amex to complain and they changed the last 4 digits of the cards and gave me 5,000 SPG points for the inconvenience.