Skip to content
Basics

What Is a BIN Number? How Payment Card BINs Work

A BIN, or bank identification number, is the first six or eight digits of a payment card number. See how to read it, why BINs moved to eight digits, what a BIN tells a merchant, how it differs from a routing number, and what to do when a merchant says your card type is not accepted.

Sabeer NelliCEO of ZIL MONEYUpdated 9 min read

VirtualCardMaker.com, powered by Zil Money is a financial technology company, not a bank. Banking and money movement services are provided through partner financial institutions, including Citizens Bank, N.A., and licensed service providers. FDIC insurance coverage applies only to eligible deposit products and accounts, and is subject to applicable terms, conditions, limitations, and requirements. Additional information regarding partner institutions, products, and services is available in the applicable terms and agreements.

  • PCI DSS aligned
  • ISO 9001 Quality Management Certified
  • ISO 20000 IT Service Management Certified
  • ISO 27001 Information Security Management Certified
  • Aligned with NIST SP 800-53 controls
  • AICPA SOC for Service Organizations
  • AICPA SOC Service Organization Control Reports
  • HIPAA-aligned safeguards
  • CCPA requirements followed
  • GDPR compliant
A generic payment card next to a checkout terminal, with the first digits of the card shown as highlighted blocks

Read summarized version with:

A BIN is the first six or eight digits of a payment card number. It helps identify the card issuer and route a payment, but it does not show whether a payment will be approved.

This guide is for business owners, finance teams and cardholders. It covers how to read a BIN, why BINs moved to eight digits, what merchants learn from one, and what to do when your card type is not accepted.

The basics

What is a BIN number?

A bank identification number is the issuer prefix at the start of a payment card number. It tells the payment system which institution issued the card, so an authorization request can reach the right place.

The international standard ISO/IEC 7812 calls this prefix the issuer identification number, or IIN. In the US, the American Bankers Association registers these numbers and notes that the IIN is often called a BIN. In practice, the two terms mean the same thing.

The full card number is called the primary account number, or PAN. So the BIN number of credit card, debit and prepaid numbers alike is the opening part of each PAN, not a separate number.

How to read it

How do you read a BIN on a payment card?

Count from the left of the card number. The table below shows how a typical 16-digit card number breaks down. The digits are masked on purpose: this is a layout, not a real card.

Positions on a 16-digit card1 to 67 and 89 to 1516
Masked exampleX X X X X XX XX X X X X X XX
What it isSix-digit BIN (older ranges)The two extra digits in an eight-digit BINAccount identifierCheck digit

The very first digit is the Major Industry Identifier. Under the standard it reflects the issuer's industry, and it does not limit where the card can be used. Card numbers are not all 16 digits long, so the account part can be shorter or longer.

Can a BIN show the card network?

Often, yes. Each network publishes its own guidance on the numbers it uses.

  • Visa: its BIN expansion FAQ for merchants says Visa issuing BINs start with 4.
  • American Express: its merchant guidance lists card numbers that start with 34 or 37.
  • Mastercard: its developer documentation lists ranges starting 51 to 55 and 2221 to 2720.

The network is only one piece. The rest of the BIN points to a specific issuer and card program.

Six vs eight

Is a BIN six or eight digits?

Both are in use. For years a BIN meant the first six digits. In 2017, ISO published a revised edition of ISO/IEC 7812-1 that expanded the IIN to eight digits, mainly to create more issuer numbers.

There was no single switch date for everyone. Networks and issuers moved on their own timelines. Visa, for example, says it began assigning eight-digit BINs in 2019, with its merchant mandate running to April 2022.

So when someone says "the first six digits," they are using the older shorthand. The accurate answer today is six or eight, depending on the card range.

Why this matters for masked card numbers. Receipts and apps often show only part of a card number. The PCI Security Standards Council sets limits on how many digits can be displayed, and those limits were updated for eight-digit BINs.

What it reveals

What does a BIN tell a merchant?

On its own, a BIN is just a number. Merchants and payment processors match it against BIN data supplied by networks or data providers. What comes back depends on the source and the card range.

FieldWhat it meansWhy a merchant cares
Card networkThe network the card range belongs toSends the payment down the right network path
IssuerThe institution or program behind the rangeShows where the authorization request goes
Card typeCredit, debit or prepaid, where the data includes itSome setups apply their own rules by card type
Consumer or businessA personal or business card label, where availableCan affect reporting or acceptance settings
Issuing countryThe country of the issuerUsed in routing and risk review; it is not the cardholder's location

What a BIN cannot tell anyone matters just as much. It does not identify the cardholder, show the account balance, or confirm that a payment will go through. Only the issuer's authorization decides that.

A BIN is also different from a merchant category code. The BIN identifies the card issuer, while a merchant category code describes the merchant's business.

Similar numbers

BIN vs IIN vs card number vs routing number

These terms get mixed up, especially in search results. Here is how they differ.

TermWhat it isWhat it is not
BINThe common name for the issuer prefix of a card numberNot a full card number or a bank routing number
IINThe ISO/IEC 7812 term for the same prefix, now eight digits for new rangesNot the full card number
PAN (card number)The full number that identifies the issuer and the card accountNot a checking account number
Bank account numberIdentifies a deposit account; paired with a routing number for checks, ACH and wiresNot part of a card number
ABA routing numberA nine-digit number that identifies a US financial institution for checks, ACH and wiresNot a card BIN
Declines

Why might a merchant decline a card based on its BIN?

Some payment processors let merchants set rules using BIN data. A merchant might filter by card type, such as prepaid, by issuing country, or by network. These are settings in the merchant's own payment setup.

Card network rules limit how far this can go. Visa's rules include an honor all cards principle, with regional and product exceptions. Mastercard's rules restrict systematic declines of cards from particular issuers or locations.

A decline can also come from somewhere else entirely. The issuer may decline the authorization, or the processor may flag the payment for risk. Generic messages often hide which one happened.

What to do when a merchant says your card type is not accepted

  1. Write down the exact message

    Note the wording, the date, the amount and whether you paid online or in person.

  2. Ask the merchant what it accepts

    Check which networks and card types it takes for that kind of purchase, such as a subscription or a deposit.

  3. Ask your card provider

    The provider can see whether the issuer declined it or the request did not reach the issuer at all.

  4. Try another payment method if you need to

    If the merchant does not accept that card type, use another method it accepts.

  5. If you are the merchant, check your settings

    Look at the processor's response code and any card type, country or BIN rules on your account before telling a customer why.

Finance team member at a desk checking a payment result on a laptop next to a card with its details hidden
When a payment fails, the exact decline message tells you more than the card number does.
Security

Is it safe to share a BIN number?

A BIN on its own does not let anyone make a payment. It is shared by many cards from the same issuer range, and merchants use it every day to process payments.

That does not make card digits public information. The PCI Security Standards Council sets limits on how much of a card number businesses can display, and those rules are not permission to post card numbers anywhere.

Keep the full card number, expiry date and security code private, and share only what a trusted party asks for.

What is a BIN attack?

A BIN attack is a form of card testing. Fraudsters start from a known BIN, generate possible card numbers, and try them in small payments to find ones that work. The PCI Security Standards Council and NCFTA describe it as account testing.

For merchants, the warning signs are bursts of small, failed or unusual payments. Processors offer fraud tools for this. Talk to yours if you see it.

Checklist

Before you pay a new merchant: a four-point check

  1. Confirm the payment type. Make sure the merchant is asking for a card payment, not a different number such as a bank account.
  2. Check what it accepts. Look for the networks and card types it takes, especially for subscriptions, deposits and bookings.
  3. Keep the details. If the payment fails, save the exact message, date and amount.
  4. Ask before you blame the card. Check with the merchant and your card provider before assuming the BIN caused it.
Virtual Card Maker

Where Virtual Card Maker fits

Virtual Card Maker lets businesses issue Visa virtual cards that draw from a prepaid company wallet funded by ACH or wire. The way the wallet and cards work keeps each card separate, so you can freeze or cancel one card without touching the rest.

Each card has its own spending limit, and the card controls include merchant, category, country and time restrictions where supported. Teams that pay suppliers can give each one a dedicated vendor card.

These controls decide how your cards can be used. They do not set a merchant's own acceptance rules, so if a merchant declines a card type, check with that merchant and with us.

Give every vendor its own card

Issue Visa virtual cards from one company wallet, with limits and controls on each card.

FAQs

What is a BIN number?
A BIN, or bank identification number, is the first six or eight digits of a payment card number. It identifies the card issuer and helps route a payment. The standards term is issuer identification number, or IIN.
Is a BIN the first six digits of a card?
It can be. Six digits is the older shorthand. Since the 2017 revision of ISO/IEC 7812, new issuer numbers use eight digits, and older six-digit ranges are still in use. The accurate answer is six or eight digits.
What is an 8-digit BIN?
An eight-digit BIN is the longer issuer number introduced by the 2017 ISO/IEC 7812 revision to create more issuer ranges. It is still only the opening part of the card number, not a separate number on the card.
How do I find the BIN number on my card?
Look at the start of the full card number shown on your card or in your card provider's app. The first six or eight digits are the BIN. If the number is masked, use the full display your provider offers rather than guessing.
What does a BIN tell a merchant?
Matched against BIN data, it can show the card network, issuer, card type and issuing country, depending on the data source. It does not identify the cardholder, show the balance, or confirm that a payment will be approved.
Why does my card say "card type not accepted"?
The merchant's payment system reported that it cannot take that card or transaction type. The message does not say whether the merchant's settings, the processor or the issuer caused it. Ask the merchant what it accepts, then check with your card provider.
Is it safe to share a BIN number?
A BIN alone cannot be used to make a payment, and many cards share the same one. Still, avoid posting card digits publicly. Keep the full card number, expiry date and security code private, and share details only with parties you trust.
What is an Rx BIN number?
An Rx BIN is a different number used for pharmacy claims, not payments. NCPDP describes it as a six-digit number that routes pharmacy transactions. Look for it on your health insurance card, or ask your insurer or pharmacy plan.

Know what the digits can and cannot tell you

A BIN points to the issuer behind a card. It helps route payments and feeds merchant rules, but the decision to approve a payment sits with the issuer and the merchant's setup.

Create your account to issue Visa virtual cards with limits on each card, or talk to our team about your setup.

Try it

Issue a card with these rules on it.

Set the limit, restrict the merchant, choose the active window, and send the card. Every charge lands in one dashboard, already attributed.

Build one in Card Studio

Share