---
title: "BIN (Bank Identification Number) — definition | Nuri Glossary"
description: "The leading digits of a card number, identifying the issuer, brand and product type."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/bin-number"
---

# BIN (Bank Identification Number)

The leading digits of a card number, identifying the issuer, brand and product type.

## Basically

A BIN is the first 6 to 8 digits on a payment card. It shows which bank issued the card, the card brand and the card type.

## Key Takeaways

- A BIN (Bank Identification Number) uses the first 6 to 8 digits of a payment card number to identify the issuing bank, card network (Visa, Mastercard, Amex), card type (credit, debit, prepaid) and country of issuance.
- The payment industry expanded from 6-digit to 8-digit BINs in April 2022 because fintech and banking-as-a-service programmes brought a surge of new card issuers.
- Every card payment starts with a BIN lookup, which determines how the transaction is processed and supports transaction routing, fraud detection and risk scoring.

## What Is a BIN?

A Bank Identification Number (BIN) is the first sequence of digits on a payment card and identifies the institution that issued it. The ISO/IEC 7812 standard officially renamed it the Issuer Identification Number (IIN), but “BIN” remains the dominant term in payments. Your payment processor reads the BIN first when you swipe, tap or enter a card number, identifying the card network, issuing bank, card type and country of origin before the transaction proceeds.
Card payments involve multiple parties: the cardholder, merchant, acquirer, card network and issuer. The BIN gives each party a routing address for authorisation requests and transaction handling. Without BINs, no standardised way would exist to identify the card issuer or the network that should process the payment.
The American Bankers Association (ABA) manages the official BIN registry under ISO authority. Third-party BIN databases track over 350,000 BIN records across more than 13,000 banks worldwide.

## How It Works

Every payment card number follows the structure set by ISO/IEC 7812. The number contains 8 to 19 digits, with the BIN in the first 6 to 8 positions, and the breakdown below shows each part.

## Major Industry Identifier

The first digit of any card number reveals its industry classification. The list below shows these classifications.
Mastercard also uses the 2221-2720 range, added in 2017. The range supplements its traditional 51-55 prefix space.

## The 6-to-8-Digit Expansion

BINs were 6 digits long for decades. Fintechs, virtual card programmes and embedded finance platforms then created an explosion of new card issuers and exhausted the available 6-digit combinations. ISO revised the standard in response, and Visa and Mastercard mandated 8-digit BINs from April 2022.
Each legacy 6-digit BIN can now support up to 100 distinct 8-digit BINs by appending digits 00 through 99. Legacy 6-digit BINs remain valid and coexist with the new format. Any system that processes card payments, including processors, gateways, fraud engines and analytics tools, had to update its BIN lookup tables and parsing logic to handle both formats.

## BIN Lookup in Practice

The payment processor first extracts the BIN and queries a BIN database when a cardholder starts a payment. The lookup returns the following information:
The returned metadata drives routing decisions, interchange fee calculations and fraud screening. These checks happen before the authorisation request reaches the issuer.

## Luhn Validation

The last digit of every card number is calculated with the Luhn algorithm, a simple checksum that catches accidental data entry errors. The algorithm does not protect against deliberate fraud, but it filters obvious typing mistakes before a transaction reaches the network, as shown below:

## Transaction Routing

Payment orchestration platforms use BIN data to route each transaction through the optimal processor for its card type. A debit card from a European bank might use a different acquirer from a US corporate credit card because interchange costs and approval rates differ. Payment orchestration relies entirely on the BIN to make these split-second routing decisions.

## Fraud Detection and Risk Scoring

BIN data forms a foundational input for risk scoring engines. Transaction monitoring systems compare the BIN’s country of issuance with the cardholder’s IP address, shipping address and device location. A card issued in Brazil, used from a German IP address and linked to a Nigerian shipping address triggers a high-risk score, while velocity checks on the same BIN range help processors block fraud before it reaches the issuer.

## Interchange Fee Optimisation

The interchange fee on each transaction varies significantly by card type. Debit cards typically have lower interchange than credit cards, while regulated Durbin-eligible debit cards have even lower rates. Merchants and payment facilitators use BIN lookups to predict interchange costs and optimise their processing strategy, and the card network economics overview explains these economics in more detail.

## Virtual Card Programs

Fintech platforms use BIN sponsorship to issue virtual cards without becoming licensed banks. Companies such as Marqeta, Lithic and Stripe Issuing partner with sponsor banks that hold the BIN, then issue virtual cards under that BIN for their fintech clients. The model lets any software platform embed card issuance, so a spend management tool can issue virtual cards with per-transaction controls tied to a sponsor bank’s BIN.
The 8-digit BIN expansion was partly driven by this use case. Hundreds of fintechs needed their own BIN ranges, making the 6-digit space unsustainable.

## BIN Attacks

A BIN attack, also called card testing or carding, is a fraud technique in which attackers exploit known BIN prefixes to generate and test card numbers at scale. Public BIN ranges and predictable card number structures with Luhn validation let attackers systematically generate valid-looking card numbers.

## Detection and Prevention

Processors and merchants detect BIN attacks through several signals. The list below sets out those signals:
Prevention measures include rate limiting on payment endpoints, CAPTCHA challenges, bot detection, 3D Secure enforcement and PCI DSS-compliant tokenisation, which stops raw card numbers from being stored or reused. Issuers also reduce BIN attacks by generating non-sequential account numbers, making it harder for attackers to enumerate valid cards within a range.

## BINs and the Shift to Digital Payments

BINs remain central to card-based transactions as payment infrastructure evolves, but alternative payment rails are growing competitors. Payment tokenisation replaces raw card numbers and their BINs with device-specific tokens for mobile wallets such as Apple Pay and Google Pay. The BIN still exists within the token vault, but merchants never see it directly.
Real-time payment networks such as FedNow and Pix bypass card networks entirely by using account-to-account transfers with no BIN. Wider adoption of these rails may reduce the dominance of BIN-based routing. Cards remain the most widely used payment method globally.
Businesses building on Bitcoin and stablecoins can see a clear contrast because on-chain payments use public key addresses instead of BIN-based routing. The result is a fundamentally different model for payment identification and processing. Platforms such as Spark enable dollar-denominated Bitcoin payments that settle without touching card networks or BIN infrastructure at all.

## BIN Data Leakage

BINs alone cannot authorise a transaction, but they reveal the issuing bank, card type and country. Aggregated BIN data can support social engineering attacks in which fraudsters impersonate a cardholder’s specific bank. Merchants should treat BIN data as sensitive under PCI DSS requirements, even though it is technically the non-sensitive part of the card number.

## BIN Table Accuracy

Third parties maintain BIN databases, which can be incomplete or outdated. A stale BIN table might misidentify a card’s issuer or type, causing incorrect routing, wrong interchange calculations or false fraud flags. Processors must update their BIN tables regularly, especially because the 8-digit expansion created thousands of new entries.

## Regulatory Implications

The Durbin Amendment caps interchange fees on regulated debit cards in the United States, and compliance depends on correctly identifying card types through BIN lookup. A BIN table error that classifies a regulated debit card as credit can overcharge merchants and lead to regulatory penalties. Chargeback rules and liability shift also depend on accurate BIN identification of card type and network.
The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
