Let’s talk
Menu
← Home

What a BIN tells you: bank identification numbers explained.

The first digits of every payment card number say who issued the card. That prefix is the bank identification number (BIN), also called the issuer identification number (IIN). This guide from our payments learning library explains what a BIN lookup returns, where BIN data falls short, how merchants use it and how BIN attacks work.

Last reviewed: December 4, 2026.

01

Where the BIN sits in a card number

A card number, or primary account number (PAN), follows the international standard ISO/IEC 7812-1. The standard sets the numbering system for card issuers and the format of the issuer identification number and the card number. The BIN comes first, then the individual account number, then a check digit calculated with the Luhn formula.

BINs come from a registration system. The American Bankers Association is the registration authority for ISO/IEC 7812, and the card networks license BINs to the banks and other institutions that issue cards. Visa's rules, for example, describe a BIN as an identifier assigned by ISO to Visa and then licensed by Visa to an issuer.

02

Six digits or eight

Traditionally, the BIN was the first six digits. The 2017 edition of ISO/IEC 7812-1 changed the issuer identification number to eight digits, a format that provides more BINs for future use. Visa now assigns only eight-digit BINs for new payment credentials, and Mastercard began assigning eight-digit BINs on request from April 2022. A card number can therefore start with a six-digit or an eight-digit BIN, and BIN data now holds both lengths side by side.

The change also touches card security rules. The PCI Security Standards Council, which sets the Payment Card Industry Data Security Standard (PCI DSS), allows no more than the BIN and the last four digits to be displayed, unless there is a documented business need to see more. For card numbers stored in shortened form, keeping the first six and last four digits remains the format every card brand accepts.

03

What a BIN lookup returns

A BIN lookup matches the first digits of a card against a table of BIN records. Visa's rules list BIN attributes that include funding source, product, issuer name, issuer country and issuer currency. In plain terms, a lookup can usually tell you:

  • Brand: the card network, such as Visa or Mastercard.
  • Funding source: credit, debit or prepaid.
  • Product: for example a consumer or a commercial card, and its tier.
  • Issuer: the bank or institution behind the BIN.
  • Country: where the card was issued.
04

What BIN data cannot tell you

A BIN describes a range of cards. It says nothing about the person holding the card, whether the account is open or whether it has funds. The issuer decides that when it answers an authorization request.

The data has limits of its own. Issuers often split one BIN into narrower account ranges. In a May 2020 notice, Visa told acquirers that relying on six digits may miss the correct funding source, country or product. Visa's BIN data service carries a flag for BINs shared by more than one issuer, and Visa's rules allow an issuer to use a BIN licensed to its sponsor. Visa's rules also treat its BIN attributes as proprietary, shared with merchants only in set cases, and Mastercard discourages BIN data from unauthorized sources, which may be incomplete or out of date.

05

How merchants use BIN data

Visa describes sharing its BIN data with merchants as a way to help improve authorization rates, reduce fraud and improve the checkout experience.

At checkout, BIN data can show the card brand as a customer types and identify a prepaid or commercial card before the order is submitted.

In fraud screening, the issuing country is one signal, read together with others such as the customer's location. Our guide to IP fraud checks covers how location signals are combined.

In approval analysis, grouping orders by issuer, card type and country shows where paid orders are lost. That method has its own guide: BIN analysis.

06

BIN attacks and card testing

A BIN attack starts from a known BIN. The attacker uses software to generate the remaining digits, then submits small payments to find which card numbers work. The PCI Security Standards Council groups BIN attacks with account testing, card testing and payment account enumeration. Visa's guidance describes enumeration as "concentrating on a single Bank Identification Number (BIN) or multiple BINs".

Visa analysis published in November 2026 says enumeration contributes to more than $1 billion in fraud losses across the payments ecosystem each year. Visa monitors enumeration each month under the Visa Acquirer Monitoring Program.

Signs to watch include sudden spikes in declined payments, many attempts on cards from the same BIN range, and repeated low-value or zero-amount authorizations. Visa's June 2026 merchant guide recommends layered controls: a CAPTCHA test, which tells people from automated scripts, on every request that can validate a card or take a payment; limits on attempts per internet protocol (IP) address, device or email; 3D Secure; and alerts when approvals or declines cluster in one BIN range. 3D Secure lets the cardholder's bank confirm the cardholder before a card payment goes ahead. Our guide to velocity checks and risk scoring explains attempt limits.

07

What a gateway can and cannot know

A payment gateway carries the card details from your checkout toward the card issuer and returns the issuer's answer. It sees the card number at the moment of payment, so the BIN is readable, and it receives the issuer's response code. The account balance, the cardholder's identity beyond the details you collect, and the issuer's full reasons for a decline stay with the issuer. Our guide to card declines explains what response codes mean.

CONVRT 2.0 is a payment gateway, and it is gateway only. Your business remains merchant of record, and no funds pass through a Convrt account. At formal launch, planned for Q1 2027, CONVRT 2.0 provides fraud prevention tools and supports 3D Secure.

Preparing for formal launch in Q1 2027.

08

Frequently asked questions

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 institution that issued the card and is also called the issuer identification number (IIN). The numbering follows the international standard ISO/IEC 7812-1. Card networks license BINs to issuers, and a BIN lookup uses those digits to show the card's brand, type, issuer and country.

Is a BIN 6 or 8 digits?

Both exist today. The 2017 edition of ISO/IEC 7812-1 changed the issuer identification number to eight digits. Visa now assigns only eight-digit BINs for new payment credentials, and Mastercard began assigning them on request from April 2022. Cards issued on older six-digit BINs remain in use, so BIN data and payment systems need to handle both lengths.

What does a BIN lookup show?

A BIN lookup matches a card's first digits against BIN records. It usually returns the card brand, the funding source (credit, debit or prepaid), the product, such as consumer or commercial, the issuer's name and the country where the card was issued. Visa's rules also list issuer currency as a BIN attribute. Accuracy depends on how current and authorized the data source is.

Can a BIN lookup tell if a card is valid?

No. A BIN describes a range of cards, not one account. A lookup cannot show whether the card exists, whether the account is open or whether it has funds, and it says nothing about the cardholder. Only the issuer answers those questions, when it approves or declines an authorization request. A lookup is a starting point for checkout and fraud decisions.

What is a BIN attack?

A BIN attack is a form of card testing. Starting from a known BIN, an attacker generates the remaining digits with software and submits small payments to find working card numbers. Visa's November 2026 analysis estimates that enumeration contributes to more than $1 billion in fraud losses a year. Merchant controls include CAPTCHA, limits on attempts per IP address or device, and 3D Secure.

What is the difference between a BIN and an IIN?

They name the same thing. Issuer identification number (IIN) is the term in the international standard ISO/IEC 7812. Bank identification number (BIN) is the older term the payments industry still uses. The PCI Security Standards Council, for example, describes the BIN as also known as the IIN. Both mean the first six or eight digits of a card number.

09

Bring your hardest question.

Tell us where card payments fall away today, from card testing to declines by issuer. Our team can discuss the fit and the next steps toward onboarding.

Talk to our team

Or email Sofia in Sales at sofia@convrtpayments.com.

Please do not send passwords, API keys, card details or identity documents by email.