Helping you make a better home

How Do Credit Card Numbers Work?

Added by Shaun Wheatcroft
22 Flares Twitter 0 Facebook 0 Google+ 12 Pin It Share 2 LinkedIn 8 22 Flares ×
credit card numbers work

He’s just as confused as you!

Ever wondered what the long number on the front of your credit card actually means?

Far from being just randomly generated numbers, each and every one of the 16 digits on a credit card can be traced to a specific meaning about you, your credit card issuer and the type of business that supplied your card.

You can even check if your card number is invalid by doing some simple calculations using the numbers printed across the front of your card. Scroll down to our handy infographic at the bottom of this post to find out how you can verify your card number using the famous Luhn algorithm!


credit cards explained

Want to know more? Well here’s a breakdown…

(I have used a fake credit card test number)


The First Digit

This refers to the Major Industry Identifier or MII, it shows the type of industry that has issued the card e.g. bank, airline or travel company. See below for a full list of MII numbers and what they refer to…

my card options

The First Six Numbers

These digits show the Issuer Identification Number or IIN. This identifies who issued the card, meaning that cards can be looked up by their IIN. Here’s a few examples of credit card IINs you may have seen.

 card IIN number

The Digits That Identify YOU!

Excluding the final number, these numbers show your account number scrambled up, leaving millions of possible combinations for anyone who can even be bothered to waste their time guessing. Depending on your bank or credit card provider, this may vary but all will use these digits to track the card back to you!

There are almost 200 million cards in issue in the UK alone

There are almost 200 million cards in issue in the UK alone

The Final Number

Humans are naturally stupid, that’s why the final digit on your credit card checks your did it all right in the first place. The last number is actually mathematically determined based on all the other digits. This is called the Luhn algorithm and was invented in 1954 by Hans Peter Luhn, an engineer at IBM.

Now, here comes the clever part…


credit card algorithm

Remember: The Luhn algorithm is only in place to check for mistakes when typing your number in online or reading it out over the phone. Numbers which are being doubled can easily be switched to still reveal a seemingly valid number. This means the calculation can only tell you whether a credit card is invalid, not whether it is valid.

credit card number generator

What Do the Experts Say?

Jo Gornitzki, money editor at, says: “Many people think that the long number on their credit card is just a random number – just like the mobile number you get when you first buy a phone. But it actually works a bit like an ID – not only does the number reveal the identity of your card provider, it also reveals who you are.”




22 Flares Twitter 0 Facebook 0 Google+ 12 Pin It Share 2 LinkedIn 8 22 Flares ×
All Posts from Author
Added by Shaun Wheatcroft / September 30, 2014
Hi, I’m Shaun and I make a living out of writing about people who grow gardens on their car rooftops and other crazy stories, I also mess around on our blogging world during the day and play on Facebook, , and Twitter. You may also have seen me bouncing on a trampoline in a lion costume, but that story is for another day. These days when I’m not writing for RedShed you’ll probably find me following the shifting fortunes of Nottingham Forest. Come and say hi!​

Subscribe to RedShed in Your Home

Well, hello there. Thanks for making yourself at home with the RedShed family!

Join our free mailing list and never miss an update: Inspirational Interiors, Fantastic Food, Creative Crafts and Exclusive Interviews.