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 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

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.

If you are commenting using a Facebook account, your profile information may be displayed with your comment depending on your privacy settings. By leaving the 'Post to Facebook' box selected, your comment will be published to your Facebook profile in addition to the space below.

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.

Weekly newsletter
Get the latest news, advice, articles and tips delivered to your inbox. It's FREE.

Updated: 03-24-2019