A bank identification number (BIN) is the first six digits of a Visa or Mastercard account number. The bank identification number is used to identify the card-issuing institution.