Video: Anatomy of a credit card account number


Those numbers on the front of your credit card? They aren’t just random. They give away specific information about your card and where it comes from

The content on this page is accurate as of the posting date; however, some of our partner offers may have expired. Please review our list of best credit cards, or use our CardMatch™ tool to find cards matched to your needs.

Those numbers on the front of your credit card? They aren’t just random. They give away specific information about your card and where it comes from.

The first digit of your credit card number is the industry identifier. This tells you the industry of the credit card issuer.

For example, airline industry cards begin with a 1 or a 2. Travel or entertainment cards, such as American Express and Diners Club cards, begin with a 3. All Visa credit cards start with a 4, MasterCard with a 5, and 6 is dedicated to Discover.

The first six digits of your card, including the industry identifier, represent the issuer identification number. This identifies the bank that issued the card.

And then, of course, there’s your personal account number. This is made up of the seventh digit on — everything except the last number on your card.

The final digit on your credit card is known as the “check digit” or “checksum.” This number is set by something called the Luhn formula, patented by Hans Peter Luhn, an IBM scientist in 1960.

It’s a formula that uses the numerals in your card’s account number to verify that it’s valid. Various combinations of the card’s digits must ultimately add up to a number divisible by 10.

The formula is mostly used to protect against input errors. For example, let’s say you enter in the wrong numbers on an online shopping site. The formula will compute that the digits don’t add up right — telling you you’ve entered an invalid card number. That last digit of your credit card makes sure the formula works like it’s supposed to.

And now you know — there’s a lot of information on that little card in your wallet.

See related:How the ‘Luhn formula’ validates credit card numbers, Anatomy of a credit card

Editorial Disclaimer

The editorial content on this page is based solely on the objective assessment of our writers and is not driven by advertising dollars. It has not been provided or commissioned by the credit card issuers. However, we may receive compensation when you click on links to products from our partners.

What’s up next?

In Videos

Video: the road to wage garnishment

Garnishment is complex — the rules vary by state, your employment status and your income. But it all starts with a failure to pay bills on time

See more stories
Credit Card Rate Report Updated: September 23rd, 2020
Cash Back

Questions or comments?

Contact us

Editorial corrections policies

Learn more

Join the Discussion

We encourage an active and insightful conversation among our users. Please help us keep our community civil and respectful. For your safety, do not disclose confidential or personal information such as bank account numbers or social security numbers. Anything you post may be disclosed, published, transmitted or reused.

The editorial content on is not sponsored by any bank or credit card issuer. The journalists in the editorial department are separate from the company’s business operations. The comments posted below are not provided, reviewed or approved by any company mentioned in our editorial content. Additionally, any companies mentioned in the content do not assume responsibility to ensure that all posts and/or questions are answered.