Interactive Chemistry · Ali Shafiee · University of Florida
What this tool shows
In reversed-phase HPLC, every molecule constantly moves back and forth between the polar mobile phase (water plus an organic solvent) and the nonpolar C18 stationary phase. It only travels down the column while it is in the mobile phase. The retention factor k is the ratio of the time spent in the stationary phase to the time spent in the mobile phase, so a molecule spends a fraction k/(1 + k) of its time stuck, and tR = tM(1 + k).
Why pH matters
Acids and bases exist in a neutral form and a charged form. The neutral form is much more soluble in the nonpolar C18 layer, so it is retained far more strongly; the charged form prefers the polar mobile phase. The pH of the mobile phase sets the fraction of each form (Henderson–Hasselbalch). For an acid HA, the neutral fraction is 1/(1 + 10pH − pKa); for a base B, it is 1/(1 + 10pKa − pH). The observed k is the average of the two forms weighted by those fractions.
So acids are retained at low pH and elute early at high pH; bases do the opposite. The biggest change happens within about one pH unit of the pKa. Neutral compounds don’t care about pH. Changing pH can therefore move peaks a lot and even change their order, which makes it a powerful way to improve a separation.
Is the equilibrium the same everywhere in the column?
Yes, in a run with constant mobile phase composition. The pH is the same throughout the column, and each molecule switches between its charged and neutral forms, and between the two phases, extremely quickly. Its retention reflects the average over all those switches. Retention changes along the run only if the mobile phase composition changes (gradient elution).
Structures
Each compound is drawn as a line-angle (skeletal) structure in the form it mostly has at the current pH. Charged groups are shown in red, so as you drag the pH past a pKa you can watch –COOH turn into –COO⁻, or –NH₂ into –NH₃⁺, and see the peak move at the same time.
The organic solvent
More acetonitrile makes the mobile phase less polar and a stronger eluent, so every compound spends less time in the C18 layer. We use log k = log kw − S·φ, where φ is the volume fraction of acetonitrile and kw is k in pure water.
How to use it
Pick compounds in the Compounds tab and set pH and % acetonitrile in the Mobile phase tab. The chromatogram shows the separation; the k vs pH view shows why; the Close-up shows molecules switching between neutral and charged forms and between phases, plus a race showing each compound’s average speed. Tap any dashed value to type an exact number. On the k vs pH graph, drag sideways to change the pH.
Values are typical and illustrative. We assume the charged form is retained 40 times less than the neutral form, ignore the small shift of pKa in mixed solvents, and assume the mobile phase is buffered. Silica-based C18 columns are normally used between about pH 2 and 8; outside that range the silica dissolves or the bonded phase is stripped.