How to Make Sense of Your Credit Card Number - NerdWallet (2024)

MORE LIKE THISCredit Cards ArchiveCredit Card Basics

Here’s a fun trick to entertain friends and win bar bets: Guess the first number on somebody’s credit card tucked away in their wallet.

You can do that because credit card numbers aren’t random. Using terms that sound like something out of a spy novel — such as MIIs and the Luhn algorithm — you can decode parts of a credit card number and even tell whether it’s fake or valid. That’s because credit card numbers follow patterns established by the International Organization for Standardization.

Credit card numbers don’t only identify your account. Like numbers on a paper check, they provide payment routing information so charges are processed correctly every time you swipe or dip a card into a checkout card reader or type your information into an online form.

Here’s how to decipher a credit card number.

Ready for a new credit card?

Create a NerdWallet account for insight on your credit score and personalized recommendations for the right card for you.

GET STARTED

How to Make Sense of Your Credit Card Number - NerdWallet (1)

First number

The first digit on a credit card is like an area code in a phone number. Instead of representing a general geography like 212 for New York City, it represents an industry type, like 4 for a financial institution.

Called an MII, or major industry identifier, the first digit of a credit card number from a major issuer in the U.S. will usually be a 3 through 6.

If it’s a Visa card, it will always start with a 4, while Mastercards generally start with a 5 — although in 2017 Mastercard started issuing some of its numbers starting with 2.

Here are starting numbers for major credit card issuers in the United States.

First digit

Credit card issuer

2

Mastercard (2017)

3

American Express

4

Visa

5

Mastercard

6

Discover

The other numbers are for all kinds of identification cards. For instance, 1 and 2 generally are for airlines (not airline credit cards, which are issued by banks); 7 is for petroleum companies; 8 represents telecommunications and health care; 9 is reserved for national numbering systems that a country might want to use.

Middle numbers

The first six digits, led by the first digit MII we already talked about, are collectively known as the issuer identification number — called bank identification numbers in the payments industry. They help identify the bank or institution that issued the card.

After that, the following numbers, excluding the last digit, represent the customer’s account, but that string usually isn’t the same as the person's bank account number.

Last number

When you swipe a credit card, the number is sent to the processor for verification, in part to determine whether the digits conform to the so-called Luhn algorithm. If they don’t, the number is invalid.

That’s why the last digit in the string is called the “check digit,” which completes the algorithm so it is divisible by 10. It can quickly identify mistakes when numbers are manually transcribed — for example, if you mistyped your credit card number during online shopping.

If you want to get really nerdy, check your own cards with the Luhn algorithm, which employs simple math but is a little tricky to explain:

For a card with 16 digits, which includes Visa, Mastercard and Discover cards:

  • Double every other digit, starting with the first digit, and write down the resulting series of numbers

  • Add together the individual digits that you wrote down. (If you have a two-digit number, combine those two digits before adding. For instance, say you doubled a 7 to get 14 — add the 1 and 4 to get 5, and then use that 5 in your total.)

  • Go back to your card number and add up the digits you ignored, including the last digit (no doubling)

  • Add the two sums

If the result ends in a zero, the card is valid.

If the card has 15 digits, namely an American Express card in the U.S., start with the second digit for doubling and use the same instructions.

'Guessing' numbers

Now that you understand the numbers, you can see how you might develop a party-trick routine of guessing the starting number of someone’s concealed credit card.

“Tell me what type of card you have, and I’ll guess the first number.” If it’s a Visa, it will be 4. If it’s Mastercard, guess 5, and if that’s wrong guess 2.

Or offer to guess the last digit, assuming they’re willing to give you all the others. Use an online calculator for the Luhn algorithm, such as one found here.

It may not make you the life of the party, but you might at least raise a few eyebrows.

How to Make Sense of Your Credit Card Number - NerdWallet (2024)
Top Articles
Baldur’s Gate 3 leveling guide - how to get XP fast
BG3: Best XP Farm [How To Level Up Fast]
Gortershof in Zaandijk | AlleCijfers.nl
Vons Credit Union Routing Number
Ssm Health Workday App
Ff14 Kobold Pitman
Rick Lee Oaklawn Park Picks Today
Best Laundry Mat Near Me
Hillsborough County Florida Recorder Of Deeds
Peanut Oil Can Be Part Of A Healthy Diet — But Only If It's Used This Way
American Airlines Companion Certificate Blackout Dates 2023
Adt First Responder Discount
8 Internet Celebrities who fell prey to Leaked Video Scandals
Espn Masters Leaderboard
Dangerous Cartoons Act - Backlash
Swgoh Boba Fett Counter
Craigslist Tools Las Cruces Nm
Pheasant Chicks Tractor Supply
Downloahub
Sky Park Stl Coupon
Bannerlord How To Get Your Wife Pregnant
Asa Morse Farm Photos
Stellaris Wargoal
Accuweather Mold Count
Bilt Rent Day Challenge June 2023 Answers
Poskes Parts
Aeries Brea
Kathy Carrack
Kare11.Com Contests
Acadis Portal Missouri
Mellow Mushroom Nutrition Facts: What to Order & Avoid
Rs3 Bring Leela To The Tomb
JetBlue, Spirit end $3.8 billion merger agreement after losing antitrust suit
Lacy Aaron Schmidt Where Is He Now
Goose Band Setlists
Sound Ideas, TAKE, CARTOON - WHISTLE TAKE/Image Gallery
Dinar Guru Iraqi Dinar
‘Covfefe’ tells you all you need to know about Trump | CNN Politics
Alger Grade Ohm
Crossword Answers, Crossword Solver
Mama Mia Israel Soldier Original
Healthstream Mobile Infirmary
Waffle House Gift Card Cvs
Prodigy Login For Students
Locate Td Bank Near Me
Carros Jeep Wrangler Tachira | MercadoLibre 📦
Sparkle Nails Phillipsburg
Erfolgsfaktor Partnernetzwerk: 5 Gründe, die überzeugen | SoftwareOne Blog
New Application Instructions · Government Portal
Dumb Money Showtimes Near Cinema Cafe - Edinburgh
South Florida residents must earn more than $100,000 to avoid being 'rent burdened'
Jaggers Nutrition Menu
Latest Posts
Article information

Author: Ray Christiansen

Last Updated:

Views: 5774

Rating: 4.9 / 5 (49 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Ray Christiansen

Birthday: 1998-05-04

Address: Apt. 814 34339 Sauer Islands, Hirtheville, GA 02446-8771

Phone: +337636892828

Job: Lead Hospitality Designer

Hobby: Urban exploration, Tai chi, Lockpicking, Fashion, Gunsmithing, Pottery, Geocaching

Introduction: My name is Ray Christiansen, I am a fair, good, cute, gentle, vast, glamorous, excited person who loves writing and wants to share my knowledge and understanding with you.