• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Free From Broke

A Personal Finance Blog for Regular Folks

  • Home
  • Personal Finance
  • Debt
  • Saving
  • Investing
    • Best Online Brokerages
  • Taxes
  • Credit Scores
You Are Here: Home » Credit Cards » What is a Credit Card Number? It’s Far From Random

What is a Credit Card Number? It’s Far From Random

Published or updated April 13, 2013 by Glen Craig

Have you ever wondered if your credit card number is something totally random or if there is a system that determines what your number is?  Credit card numbers are pre-determined so that the credit industry can keep track of how many cards there are in what specific areas.

Let’s take a look at the question “what is a credit card number?”

Issuer Identifier

The first six digits of your credit card determine the issuer and are known as the Issuer Identification Number, or IIN.  The first set of the six digits will tell you the issuer of the card and the rest of the six digits will help identify which card from the issuer and where it’s from.  Each card has a determined length of digits.  For example:

IssuerNumber Code and RangeTotal Card Digits
American Express34xxxx, 37xxxx15
Discover6011xx, 622126-622925, 644xxx-649xxx, 65xxxx16
Mastercard51xxxx-55xxxx16
VISA4xxxxx16

Major Industry Identifier

The very first digit of a credit card indicates the major industry, or the type of the credit card (Airlines, Travel, Banking, etc…), known as the Major Industry Identifier, or MIN.

  • 1 – Airlines
  • 2 – Airlines and future use
  • 3 – Travel and Entertainment and Banking/Financial
  • 4 – Banking and Financial
  • 5 – Banking and Financial
  • 6 – Merchandising and Banking/Financial
  • 7 – Petroleum (Gasoline) and future use
  • 8 – Healthcare and Telecommunications and future use
  • 9 – National Assignment

The Structure of a Credit Card

Sample Credit Card
What do the credit card numbers mean?

The structure of a credit card number varies by system. For brevity sake the three main credit cards are used for this example.

American Express:  The third and fourth digits are type and currency. The fifth through eleventh digits are the actual account number. The twelfth through fourteenth digits are the card number within the account and the last digit is the check digit.

Mastercard:  The second and third digits, second through fourth, second through the fifth or the second though to the sixth digit (depending on what the second digit is) is the bank number. After the bank number is the account number and the final digit is a check digit.

Visa:  The bank number includes the second through sixth digit. The seventh through the twelfth or seventh through the fifteenth is the account number. The thirteenth or sixteenth is a check digit.

The final digit is always referred to as the check digit which is the same as a checksum.  An algorithm is used to arrive at a check digit and this is known as the Luhn algorithm. This was named after Hans Peter Luhn (1896-1964) who was awarded a patent for this in 1960. Luhn was an IBM scientist.  The formula is used to check that the card number is valid and has no errors.

More Credit Card Info

The Stripe on the Back of a Credit Card –  This magnetic stripe is often referred to as a magstripe. This is made up of iron-based magnetic particles in a plastic film.  Each particle is a tiny bar magnet that measures 20-millionths of an inch in length. There are three tracks on each magstripe and they are used by banks. These tracks are:

First track – holds 79-6 bit parity bit read-only characters.

Second track – holds 40 4-bit parity bit characters.

Third track – holds 107 4-bit parity bit characters.

Chances are your credit card uses only the first two tracks. The third one is a read/write track which is not standardized among banks. This third track generally has an encrypted PIN, currency units, amount authorized and the country code.

Smart Cards – A smart card involves cryptography (secret codes) and they have a microprocessor built right in. Cryptology is important to how these cards function. The user must corroborate his or her identity to the card every time a transaction occurs.  (Much the same as a PIN at an ATM.)

The smart card also executes a sequence of encrypted sign exchanges to ensure that each transaction is legit.  Once this has occurred only then will the transaction be carried out to completion. This protects the user from having their credit card information being picked up by a third party. This elaborate protocol is executed in a way that it is invisible to the user, with the only exception of entering a PIN to begin the transaction.

There you have it.  That is what a credit card number is.  Now if you ever feel like issuing your own credit cards you know how to set the numbers up (and if you have the funds to start up a credit card company, shoot me an email, we should talk).

Source: Wikipedia

Filed Under: Credit Cards Tagged With: credit card numbers

About Glen Craig

Glen Craig is married and the father to four children that he spends the day chasing as a stay-at-home-dad. He took an interest in personal finance when he realized most of his paycheck was going toward credit card bills. Since then he's eliminated his credit card debt and started on a journey towards financial freedom.

Reader Interactions

Comments

  1. Evan says

    July 14, 2011 at 4:22 pm

    I just learned about the first couple number identifier yesterday! I actually didn’t even believe the person and took out my wallet lol…they were right

    • Glen says

      July 15, 2011 at 10:27 pm

      Haha, I did the same thing as I was editing the article. I kept pulling out my cards to see if the information was true.

  2. krantcents says

    July 14, 2011 at 4:49 pm

    Yo demystified the the whole credit card numbering system! I am always interested in these types of things. A number of years ago, I found out the basis for the Social Security numbers. Now I Know what part of the country the card was issued.

    • Glen says

      July 15, 2011 at 10:28 pm

      That’s information I might have to tackle next!

  3. Roger, the Amateur Financier says

    July 16, 2011 at 5:28 pm

    Pretty neat stuff. I don’t know whether to be impressed that there is actually a method behind the (seeming) madness, or a little disturbed that someone with the right sources (and arguably, too much time) could figure out so much just from the card number itself.

    • Glen says

      July 16, 2011 at 8:22 pm

      When you think about it, there has to be some system that all the credit card companies are agreeing to use. Otherwise you run the risk of two companies issuing the same number. But I wouldn’t have thought that the number sequences broke out specifically like they do.

  4. Https://Nbalivestream.Club/ says

    November 2, 2019 at 8:32 am

    Hi, after reading thnis remarkable posat i am a?so glad to share m? familiarity here wih colleagues.

Primary Sidebar

A Little About Me

Glen CraigI'm Glen Craig - I used to live paycheck-to-paycheck, drowning in credit card debt. I turned that all around and now I build wealth rather than debt.

My goal is to make personal finance easy for you.

More ABOUT me.

Join our email list (FREE) and never miss an article!


Follow Us

FacebookGoogleTwitterRSS

Which Credit Card is For You?

  • Overall Great Credit Card Offers
  • 0% Balance Transfer Credit Cards
  • 0% Purchase Credit Cards
  • Airline Miles Credit Cards
  • Travel Rewards Credit Cards
  • Credit Cards for Excellent Credit
  • Small Business Credit Cards
  • Credit Cards for College Students
  • Bad Credit? Rebuild it With These Secured Credit Card Offers
  • Prepaid Debit Cards

Credit Card Reviews

  • The Discover it™ Card Review - An All-Around Card That's Fair to the Consumer
  • Citi Simplicity® Card Review - No Late Fees or Penalty Rate Hikes
  • Blue Sky from American Express | Review
  • American Express® Premier Rewards Gold Card - Review
  • Blue Cash Everyday ® Card from American Express Review
  • Gold Delta SkyMiles Credit Card from American Express Review
  • Starwood Preferred Guest Credit Card Review

Disclaimer

Free From Broke is for general information or entertainment purposes only and does not constitute professional financial advice. Be smart and do your own research or contact an independent financial professional for advice regarding your specific situation.

In accordance with FTC guidelines, we state that we have a financial relationship with companies mentioned in this website. This may include receiving access to free products and services for product and service reviews and giveaways.

Footer

More

  • About
  • Archives
  • Contact Us
  • Get Our Newsletter

More Recent Articles

  • Think Long Term When Shopping Black Friday and Cyber Monday
  • 10 Essential Tips For Shopping Black Friday And Cyber Monday That Will Save You Money
  • How to Improve Your Credit Score Fast
  • What is a Refund Anticipation Loan (RAL) and is it Worth It?
  • Paying Taxes with a Credit Card: Pros and Cons

Disclaimer

Free From Broke is for general information or entertainment purposes only and does not constitute professional financial advice. Be smart and do your own research or contact an independent financial professional for advice regarding your specific situation.

In accordance with FTC guidelines, we state that we have a financial relationship with companies mentioned in this website. This may include receiving access to free products and services for product and service reviews and giveaways.

© 2007–2025 Free From Broke A Personal Finance Blog For Regular Folks – All rights reserved.

No content on this site may be reused in any fashion without written permission from FreeFromBroke.com | Privacy Policy | Sitemap

Copyright © 2025 · Metro Pro on Genesis Framework · WordPress · Log in

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in settings.

Go to mobile version
Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.