What is a BIN (bank identification number)?
What a BIN is, who assigns it, what changed when BINs grew from six digits to eight, and what BIN data can and cannot tell a merchant.
The short answer
A BIN, or bank identification number, is the first 6 or 8 digits of a card number. It identifies the bank that issued the card. ISO calls it the issuer identification number (IIN). Where a merchant can get it, BIN data shows the issuer, the issuer’s country and the type of card. Systems built for six-digit BINs need to read eight.
What a BIN is
A card number starts with the BIN. In Visa’s rules, a BIN is an identifier that ISO assigns to Visa and Visa licenses to a card issuer. It is the first 8 digits of the card number, or the first 6 for a BIN licensed before 22 April 2022.
The BIN names the bank. The full card number names one account at that bank. Visa defines the account number as an issuer-assigned credential that identifies an account in order to post a transaction.
Your customer’s bank is the issuer: in Visa’s rules, the Visa member that issues the card to the cardholder. Our guide to payment service providers sets out who approves a card payment, and who does what between checkout and payout.
Visa and Mastercard call the number a BIN. The international standard calls it the issuer identification number, or IIN. ISO/IEC 7812-1 sets the numbering system that identifies card issuers, and the format of the issuer identification number (IIN) and of the card number.
Who assigns BINs
The American Bankers Association (ABA) has been the Registration Authority for ISO/IEC 7812 since the standard began in the early 1970s. The ABA says the numbering system exists to uniquely identify a card-issuing institution. It adds that the 8-digit IIN is sometimes referred to as a BIN.
The standard allows one IIN per legal entity, and every applicant must be sponsored by its country’s national standards body.
For Visa cards there is a step in between. ISO assigns BINs to Visa, and Visa licenses each one to an issuer. In Visa’s rules, each BIN is licensed for use in a single country, with set exceptions.
From six digits to eight
BINs used to be six digits long. Visa says the growth of payments put pressure on the supply of BINs. Payment industry stakeholders convened by ISO agreed to extend the issuing BIN from six digits to eight, and ISO announced the new standard in 2017.
Visa required acquirers and processors to support eight-digit BINs from April 2022, and left each issuer to set its own timeline for the change.
Mastercard announced in 2017 that it would adopt the standard and assign 8-digit BINs to issuers on request from April 2022. Mastercard also required all acquirers and their service providers, processors included, to support the 8-digit BIN standard by April 2022.
What eight-digit BINs mean for your systems
Visa told merchants in 2021 that, as eight-digit BINs spread, it would no longer be possible to rely on a card number’s first six digits. It named authorisation, routing and clearing.
- Find every place that matches on the first six digits: fraud rules, block and allow lists, prepaid checks, routing tables and reports. Visa’s note to merchants lists the uses to check. They include identifying prepaid cards, fraud and chargeback analytics, identifying the issuer, routing, and analysis of approval rates.
- Ask each provider in your payment chain whether it reads and passes on all eight digits. Visa told each merchant to assess the change with its acquirers, processors, vendors and other partners that support its transaction processing.
- Know what can go wrong if nothing changes. Visa warned that merchants that did not make the changes could see transactions routed incorrectly and lose the ability to report correctly on point-of-sale activity.
- Check how many digits of the card number your screens, reports and stored records keep. The limits are set out below.
What a BIN tells you
Visa calls the information about a BIN its BIN attributes. They include the account funding source, the product, and the issuer’s name, country and currency.
Visa’s rules say an issuer must not combine credit, debit and prepaid cards on one BIN. Brazil has one exception, for Visa Agro cards. So, outside that exception, each Visa BIN is set up for one type of card: credit, debit or prepaid.
Visa also uses the first 9 digits of a card number, which it calls the account range, to identify issuers and products.
Card types also differ by market. For Brazilian cards, our guide to approving more card payments in Brazil covers the Múltiplo card.
How merchants use BIN data
Fraud screening
Fraud and chargeback analytics are on Visa’s list above. BIN data describes the card and the bank behind it. It does not say who is using the card, so treat it as one signal among several.
Domestic or international sales
In Visa’s rules, a transaction is international when the card’s issuer is not located in the country where the merchant outlet is. When the issuer is in that country, Visa calls it a domestic transaction. Comparing the issuer’s country in the BIN data with the country of your merchant outlet is a good first guide to which one a sale is.
Where the issuer sits can change what a payment costs. EU law caps interchange on card payments where both the payer’s and the merchant’s payment service providers are in the EU. The caps are 0.2% of the transaction value for consumer debit cards and 0.3% for consumer credit cards. Our guide to cross-border payments sets out the costs merchants miss.
Accepting some types of card and not others
Visa’s rules let a merchant in the US, the EEA or the UK choose Limited Acceptance: for example, accepting Visa credit cards but not Visa debit cards. For this purpose, Visa requires the acquirer to provide BIN attributes to any merchant that asks for them.
A Limited Acceptance merchant must still accept valid Visa cards issued outside its own market: outside the US, the EEA or the UK.
Approval rates
Visa’s list also includes analysis of approval rates. Grouping approvals and declines by issuer and by issuer country shows where declines come from. Our guide to failed payment recovery covers what to do with each decline reason.
What BIN data cannot tell you, and who may share it
The country in BIN data is the issuer’s country: where the bank that issued the card is located. The customer may be somewhere else.
Visa treats BIN attributes as proprietary, and a bank may share them with a merchant only in set cases. One is to comply with the law. Another needs the bank to be registered to share them and to have Visa’s prior written approval. Visa’s 2021 note to merchants named its BIN Attribute Sharing Service (VBASS). It said merchants can obtain BIN attribute data through an acquirer or a third party the acquirer sponsors.
In the EU, an acquirer may choose to receive Visa’s file of BINs used for non-reloadable prepaid cards. It may use the file only to comply with the law, and must not share it with merchants.
Token payments add one more limit. A network token stands in for the card number. Visa’s rules say the acquirer must make sure the card number behind a token is not disclosed to the merchant. Ask your acquiring bank which card details reach you when a customer pays with a token.
How many digits of a card number you may show or store
Showing a card number and storing it follow different rules. PCI DSS, the card industry’s data security standard, treats the two separately: requirement 3.4.1 covers masking the number when it is displayed, and requirement 3.5.1 covers making it unreadable when it is stored.
On screens and in reports, no more than the BIN and the last four digits may be displayed. Seeing more needs a documented business justification.
Truncation permanently removes the middle digits of the card number. It is one accepted way to make a stored number unreadable; encryption, index tokens and one-way hashes are others. Any hash made after 31 March 2025 must be a keyed cryptographic hash. The PCI Security Standards Council puts the starting point for truncation at the first 6 and last 4 digits. For a 16-digit Visa or Mastercard number, with a BIN of 6 or 8 digits, the maximum is the first 8 and any other 4.
What to ask your acquiring bank about BINs
The answers show which BIN data you can use, and whether your set-up reads eight digits.
- Which BIN data you can receive, and for which purposes the card schemes allow it.
- Whether your gateway, fraud-screening tools and reports read and pass on eight-digit BINs.
- Which card details reach you when a customer pays with a network token.
- Which categories of card your account may decline under the card schemes’ acceptance rules for your market.
- How many digits of the card number your screens, reports and stored records may keep.
Free payments review
A free review of three things: your conversions, your settlement and your cost.
You ask for it through the Talk to a specialist form, and we schedule a call. No deck needed.
Questions merchants ask about BINs
Is a BIN the same as an IIN?
Yes. Issuer identification number (IIN) is the name in the international standard, ISO/IEC 7812. Visa and Mastercard call the same number a BIN. The ABA says the numbering system exists to uniquely identify a card-issuing institution. It adds that the 8-digit IIN is sometimes referred to as a BIN. The American Bankers Association (ABA) has been the Registration Authority for ISO/IEC 7812 since the standard began in the early 1970s.
How many digits is a BIN?
Six or eight. In Visa’s rules, a BIN is an identifier that ISO assigns to Visa and Visa licenses to a card issuer. It is the first 8 digits of the card number, or the first 6 for a BIN licensed before 22 April 2022. Visa required acquirers and processors to support eight-digit BINs from April 2022, and left each issuer to set its own timeline for the change. Systems that match on six digits need to read eight.
Is a BIN the same as a card number?
No. The BIN is only the start of the card number, and it identifies the bank that issued the card. Visa defines the account number as an issuer-assigned credential that identifies an account in order to post a transaction. Many cards from the same bank share a BIN, but each card number points to one account.
Does a BIN show whether a card is credit, debit or prepaid?
For Visa cards, the BIN shows the type the card was issued as. Visa’s rules say an issuer must not combine credit, debit and prepaid cards on one BIN. Brazil has one exception, for Visa Agro cards. Visa calls the information about a BIN its BIN attributes. They include the account funding source, the product, and the issuer’s name, country and currency. Any BIN data you receive comes through your acquiring bank, and Visa limits what it may share. In Brazil, a Múltiplo card can also be used for debit on the same number: see our guide to approving more card payments in Brazil.
How many digits of a card number can a merchant display or store?
PCI DSS sets the limits. On screens and in reports, no more than the BIN and the last four digits may be displayed. Seeing more needs a documented business justification. Truncation permanently removes the middle digits of the card number. It is one accepted way to make a stored number unreadable; encryption, index tokens and one-way hashes are others. Any hash made after 31 March 2025 must be a keyed cryptographic hash. The PCI Security Standards Council puts the starting point for truncation at the first 6 and last 4 digits. For a 16-digit Visa or Mastercard number, with a BIN of 6 or 8 digits, the maximum is the first 8 and any other 4.
Where does a merchant get BIN data?
From its acquiring bank, or a third party the bank sponsors. Visa treats BIN attributes as proprietary, and a bank may share them with a merchant only in set cases. Visa’s 2021 note to merchants named its BIN Attribute Sharing Service (VBASS). It said merchants can obtain BIN attribute data through an acquirer or a third party the acquirer sponsors. Ask your bank which BIN data you may receive, and for what purpose.
Sources
- ISO, ISO/IEC 7812-1:2017, Identification cards — Identification of issuers — Part 1: Numbering system (edition 5, January 2017, confirmed 2022: abstract), read 18 November 2026
- American Bankers Association, Issuer Identification Numbers (web page, no date shown), read 18 November 2026
- Visa, Visa Core Rules and Visa Product and Service Rules (24 October 2026: definitions of BIN, BIN Attribute, Account Number, Account Range, Issuer, International Transaction, Domestic Transaction, Transaction Country and Limited Acceptance Merchant; rules 1.2.1.1, 1.5.1.6, 1.5.4.6, 2.2.3.1, 2.2.4.1 and 5.8.1.14), read 18 November 2026
- Visa, Preparing for Eight-Digit BINs: What Merchants Need to Know (Visa Public, no date on the document; PDF created 5 January 2021), read 18 November 2026
- Mastercard, 8-Digit BIN Expansion and PCI Standards (Site Data Protection Program, updated 20 October 2021), read 18 November 2026
- PCI Security Standards Council, FAQ 1492: PAN masking and truncation with 8-digit BINs (April 2024), read 18 November 2026
- PCI Security Standards Council, FAQ 1091: acceptable formats for truncation of primary account numbers (June 2022), read 18 November 2026
- European Union, Regulation (EU) 2015/751 on interchange fees for card-based payment transactions (29 April 2015: Articles 1(1), 3(1) and 4), EUR-Lex, read 18 November 2026
This guide explains how BINs work in general. It is not legal or data-security advice, and each acquiring bank’s own terms govern its accounts. Last reviewed 18 November 2026. Published by Online IPS.
Talk to a specialist
Send us your website and where you sell. A yes or no to proceed to a full application, within one business day. Monday to Friday, US weekends and holidays excluded.
You can also call +1 305 865 3511 or email sales@onlineips.net.
An account specialist emails you to book a time.