What a BIN is
A BIN, short for Bank Identification Number, is the first 6 or 8 digits of a payment card number. Every card issued from the same BIN shares those leading digits, so the BIN points to the bank or financial company that issued the card and to the card program it belongs to.
The international standard for card numbers, ISO/IEC 7812, calls the same digits the Issuer Identification Number (IIN). In everyday payments the two names mean the same thing; BIN is the more familiar one in the payments industry.
Where the BIN sits in a card number
A card number, also called the primary account number (PAN), has three parts:
- The BIN: the first 6 or 8 digits. Its very first digit, the Major Industry Identifier, shows the industry; 4 and 5 stand for banking and financial cards.
- The individual account identifier: the digits after the BIN, chosen by the issuer.
- The check digit: the last digit, calculated with the Luhn algorithm so that most typing mistakes are caught before a payment is sent.
Under the current standard, card numbers are 10–19 digits long, and many have 16. A longer BIN does not make the card number longer: with an 8-digit BIN, a 16-digit card number has two digits fewer for the account identifier.
What a BIN tells you
BIN databases link each BIN to the details of the card program. A BIN lookup usually returns:
- Card network: Visa, Mastercard, American Express and others. Visa numbers start with 4.
- Card type: credit or debit.
- Card product: for example Classic, Gold, Platinum or Business.
- Issuing bank: the bank or financial company that issued the card, sometimes with its phone number and website.
- Issuing country: the country of the issuing bank, with its ISO 3166-1 codes and currency.
- Prepaid and commercial flags: whether money is loaded onto the card in advance, and whether it is a business card.
For example, the BIN 49704073 belongs to a Visa Classic debit card issued by La Banque Postale in France. BIN Lookup shows these fields for the BIN you enter; a field stays empty when the database has no record of it.
What a BIN cannot tell you
- Who the cardholder is. A BIN is shared by many cards and carries no personal data.
- Where the cardholder is. The issuing country is the bank's country; a card issued in France can also be used in other countries.
- Whether a card is valid, active or has funds. Only the issuing bank can answer that, during authorization.
- Whether a payment is fraudulent. A BIN is one signal among several, such as the billing address, IP address and email address.
BIN data also changes: banks receive new BINs, merge and move card programs. Results from any BIN database, including ours, can be out of date for some BINs.
How merchants and developers use BINs
- Checking that the card's issuing country matches the customer's billing country and IP country, a common first fraud signal.
- Spotting prepaid cards before a subscription starts, because the balance can run out before the next payment.
- Showing the right card network logo and input format while the customer types the card number.
- Routing payments and estimating fees, which often differ by card type, product and country.
A BIN lookup needs only the first 6 or 8 digits. Never send or store the full card number for this purpose: the PCI DSS security standard requires a stored card number to be unreadable.
6-digit and 8-digit BINs
The 2017 revision of ISO/IEC 7812-1 extended the IIN from 6 to 8 digits, because ISO expected a shortage of 6-digit numbers. Visa required acquirers and processors to support 8-digit BINs by April 2022, and since then it has assigned only 8-digit issuing BINs.
Existing 6-digit BINs were not withdrawn, so both lengths are in use. If your system reads only the first 6 digits, cards that share those digits but belong to different 8-digit BINs look the same. Reading 8 digits gives the more precise result.
Terms in this guide: BIN (Bank Identification Number), IIN (Issuer Identification Number), PAN (Primary Account Number), Issuing bank (issuer), Card network (card scheme), Prepaid card
Sources
- ISO/IEC 7812-1:2017 — Identification cards — Identification of issuers — Part 1: Numbering system (ISO)
- What's in a Number? 8-Digit BINs and PCI Standards (PCI Security Standards Council, community meeting speaker notes, September 2022)
- Changes to the Issuer Identification Number (IIN) standard (ISO news, November 2016)
- 8-Digit BIN Expansion FAQ – Merchants (Visa, 2023)
- FAQ 1492: How can an entity meet PCI DSS requirements for PAN masking and truncation if it has migrated to 8-digit BINs? (PCI Security Standards Council, April 2024)
- Numerics Initiative: Simplified Requirements for Eight-Digit Issuing BIN Adoption (Visa Business News, August 2020)