What Is a BIN Number?

A Bank Identification Number (BIN) — also called an Issuer Identification Number (IIN) — is the first four to six digits of a payment card number. These digits uniquely identify the financial institution that issued the card, and they carry a surprising amount of information about the card itself.

When you swipe, tap, or enter your card details online, the BIN is the very first thing a payment processor reads. It routes the transaction to the correct issuing bank and helps verify that the card is legitimate before a single cent moves.

How Many Digits Does a BIN Have?

Traditionally, BINs were 6 digits long. However, as the global card market expanded and card numbers grew more complex, the industry has been migrating to an 8-digit BIN standard (ISO/IEC 7812). Most major networks — Visa, Mastercard, and others — have adopted or are adopting this extended format to accommodate the growing number of card issuers worldwide.

What Information Does a BIN Reveal?

A BIN lookup can decode a wide range of card attributes, including:

  • Issuing bank or financial institution — who issued the card
  • Card network — Visa, Mastercard, American Express, Discover, UnionPay, etc.
  • Card type — credit, debit, prepaid, or charge card
  • Card level — standard, gold, platinum, business, corporate
  • Country of issuance — the country where the card was issued
  • Card currency — the default currency associated with the card

The Anatomy of a Card Number

A standard payment card number follows the ISO/IEC 7812 structure:

  1. MII (Major Industry Identifier) — the very first digit, indicating the card's industry (banking, travel, healthcare, etc.)
  2. BIN / IIN — the first 6–8 digits identifying the issuer
  3. Account Number — the middle digits unique to the cardholder's account
  4. Check Digit — the final digit, calculated using the Luhn algorithm to validate the entire number

How Is a BIN Used in Payment Processing?

When a merchant submits a transaction, the payment gateway extracts the BIN from the card number and uses it to:

  • Route the authorization request to the correct card network
  • Apply the right interchange fees based on card type and level
  • Perform fraud screening based on the card's country of origin
  • Determine whether the card supports features like 3D Secure authentication

Why Does the BIN Matter for Businesses?

For e-commerce merchants, payment service providers, and fraud analysts, BIN data is invaluable. It allows businesses to:

  • Verify that a card's stated country matches the billing address
  • Flag transactions using high-risk prepaid cards
  • Tailor checkout experiences for international customers
  • Calculate accurate processing costs before authorizing a transaction

BIN vs. IIN: Is There a Difference?

The terms are often used interchangeably. BIN (Bank Identification Number) is the older, more widely used term in the industry. IIN (Issuer Identification Number) is the official ISO standard term, which is more accurate since non-bank institutions — like fintech companies and retailers — now issue cards too. For everyday purposes, BIN remains the dominant term.

Key Takeaways

  • A BIN is the first 6–8 digits of any payment card number.
  • It identifies the issuing institution, card network, type, and country of issuance.
  • BINs are critical for transaction routing, fraud detection, and interchange fee calculation.
  • The industry is moving from 6-digit to 8-digit BINs to support more issuers globally.