A mathematical and computational model is introduced for optimization of background electrolyte systems for capillary zone electrophoresis. The model assesses the composition of the background electrolyte in the analyte zone.