Activity coefficients, solubility product, and pH

A voltmeter clipped across two electrodes in a beaker can do far more than confirm a cell "works" — read carefully, it can weigh how non-ideal a real electrolyte is, pin down the vanishingly small solubility of an insoluble salt, or report the pH of an unknown solution to two decimal places. All three tricks lean on the same machinery already built for concentration cells: write the Nernst equation for the setup, measure EE, and invert the equation for the one unknown hiding inside it. Here the unknown is, in turn, a mean ionic activity coefficient γ±\gamma_\pm, an ionic concentration [Mn+][\text{M}^{n+}] fixed by a sparingly soluble salt's equilibrium, or the H+\text{H}^+ activity itself. This article works through all three uses of EMF, keeping the algebra to Nernst-equation inversions you already know.

The core insight

Because the Nernst equation links a cell's measured EMF to the activities of the species at its electrodes, inverting it lets a single voltage reading extract the mean ionic activity coefficient γ±\gamma_\pm of a real electrolyte, the solubility product KspK_{sp} of a sparingly soluble salt, or the pH of an unknown solution.

The core idea

Real electrolyte solutions are not ideal: ion–ion electrostatic interactions mean the Nernst equation must be written with activities ai=γicia_i = \gamma_i c_i, not raw concentrations, where γi\gamma_i is the single-ion activity coefficient. Because a single ion's activity coefficient can never be measured alone (you cannot isolate one sign of charge in solution), the experimentally accessible quantity for an electrolyte that dissociates into ν+\nu_+ cations and ν−\nu_- anions is the mean ionic activity coefficient:

γ±=(γ+ν+γ−ν−)1/(ν++ν−)\gamma_\pm = \left(\gamma_+^{\nu_+}\gamma_-^{\nu_-}\right)^{1/(\nu_++\nu_-)}

where: γ+\gamma_+ and γ−\gamma_- are the (individually inaccessible) cation and anion activity coefficients, and ν+,ν−\nu_+,\nu_- are the numbers of cations and anions produced per formula unit. γ±\gamma_\pm is found from cell EMF by computing the Nernst equation "as if" γ±=1\gamma_\pm = 1 and attributing the gap between that ideal prediction and the measured EE to the activity-coefficient correction. Theoretically, dilute-solution electrostatics predicts γ±\gamma_\pm directly via the Debye–Hückel limiting law:

log⁡10γ±=−A z+∣z−∣I\log_{10}\gamma_\pm = -A\,z_+|z_-|\sqrt{I}

where: A≈0.509 (mol−1L)1/2A \approx 0.509\ (\text{mol}^{-1}\text{L})^{1/2} for water at 298 K298\ \text{K}, z+,z−z_+,z_- are the ionic charges, and I=12∑icizi2I = \tfrac12\sum_i c_i z_i^2 is the ionic strength, summed over every ion present in solution (spectators included). The law explains why measured EMF of real electrolyte cells departs from the ideal, concentration-only Nernst prediction, and it is trustworthy only for dilute solutions, roughly I≲0.01 mol L−1I \lesssim 0.01\ \text{mol L}^{-1}; beyond that, higher-order corrections are needed. The same inversion trick, applied to a different electrode pair, gives KspK_{sp}. Build a concentration-cell-like arrangement: one half-cell is a metal MM dipped in a saturated solution of a sparingly soluble salt MXMX (so [Mn+][\text{M}^{n+}] is pinned by the dissolution equilibrium, and is tiny), the other half-cell is the same metal in a reference solution of known [Mn+][\text{M}^{n+}]. The figure below shows this setup for silver and silver chloride, the running example of this article.

Figure
A concentration cell for measuring solubility product with a silver wire in saturated silver chloride on the left, a silver wire in a known silver ion reference solution on the right, joined by a salt bridge and a voltmeter reading E cell
Concentration cell used to find Ksp from EMF Ag Ag saturated AgCl(aq) [Ag+] small, anode Ag+ (0.10 M) reference, cathode salt bridge V E cell measured here

Measuring EcellE_{cell} and applying the Nernst equation solves for the unknown [Mn+][\text{M}^{n+}]; the dissolution stoichiometry then gives [Xn−][\text{X}^{n-}], and Ksp=[Mn+][Xn−]K_{sp} = [\text{M}^{n+}][\text{X}^{n-}] follows. The full working is the derivation below.

pH from EMF uses the same inversion once more, this time on an electrode whose potential responds only to H+\text{H}^+ activity: the hydrogen electrode (E=−0.0592 pHE = -0.0592\,\text{pH} at 298 K298\ \text{K} against SHE, accurate but experimentally fiddly), the quinhydrone electrode (simpler, but unreliable above pH ≈8\approx 8), and the practical standard, the glass electrode, whose boundary potential is linear in pH, E=const−0.0592 pHE = \text{const} - 0.0592\,\text{pH} at 298 K298\ \text{K}, with the constant fixed by a buffer calibration.

Derivation ASolubility product from a measured cell EMF

The goal of this derivation is to turn a single measured cell voltage into the numerical solubility product of a sparingly soluble 1:1 salt, using nothing beyond the Nernst equation already familiar from concentration cells and the stoichiometry of the dissolution equilibrium.

Step 1. Set up the concentration cell as in the figure: a metal MM electrode sits in a saturated solution of MXMX (anode, since [Mn+][\text{M}^{n+}] there is tiny) and an identical MM electrode sits in a reference solution of known [Mn+]ref[\text{M}^{n+}]_{ref} (cathode, since its concentration is larger). For n=1n=1 (one electron transferred, as for Ag+/Ag\text{Ag}^+/\text{Ag}), the Nernst equation for the cell reads Ecell=0.0592log⁡10[Mn+]ref[Mn+]satE_{cell} = 0.0592\log_{10}\dfrac{[\text{M}^{n+}]_{ref}}{[\text{M}^{n+}]_{sat}}.

Step 2. Rearrange to isolate the logarithm: log⁡10([Mn+]ref[Mn+]sat)=Ecell0.0592\log_{10}\left(\dfrac{[\text{M}^{n+}]_{ref}}{[\text{M}^{n+}]_{sat}}\right) = \dfrac{E_{cell}}{0.0592}. Everything on the right is known once EcellE_{cell} is measured, so the left side — a ratio of concentrations — is now pinned down numerically.

Step 3. Undo the logarithm by raising 1010 to that power: [Mn+]ref[Mn+]sat=10Ecell/0.0592\dfrac{[\text{M}^{n+}]_{ref}}{[\text{M}^{n+}]_{sat}} = 10^{E_{cell}/0.0592}, and solve for the target, [Mn+]sat=[Mn+]ref10Ecell/0.0592[\text{M}^{n+}]_{sat} = \dfrac{[\text{M}^{n+}]_{ref}}{10^{E_{cell}/0.0592}}. Because EcellE_{cell} is typically several tenths of a volt, this ratio is enormous, so [Mn+]sat[\text{M}^{n+}]_{sat} comes out extremely small — consistent with "sparingly soluble."

Step 4. Bring in the dissolution stoichiometry. For a 1:1 salt MX⇌Mn++Xn−MX \rightleftharpoons \text{M}^{n+} + \text{X}^{n-}, every mole of salt that dissolves releases one Mn+\text{M}^{n+} and one Xn−\text{X}^{n-}, so [Xn−]=[Mn+]sat[\text{X}^{n-}] = [\text{M}^{n+}]_{sat}, and Ksp=[Mn+]sat[Xn−]=[Mn+]sat2K_{sp} = [\text{M}^{n+}]_{sat}[\text{X}^{n-}] = [\text{M}^{n+}]_{sat}^2. For a salt with different stoichiometry, such as Ag2CrO4\text{Ag}_2\text{CrO}_4, the anion concentration is not equal to the cation concentration and the appropriate stoichiometric ratio must replace this last squaring step.

Worked example

Problem. A saturated AgCl\text{AgCl} solution is in contact with a silver electrode, forming the anode of a concentration cell against a Ag∣Ag+(0.10 M)\text{Ag}\mid\text{Ag}^+(0.10\ \text{M}) reference cathode. The measured Ecell=0.450 VE_{cell} = 0.450\ \text{V} at 298 K298\ \text{K}. Find [Ag+][\text{Ag}^+] in the saturated solution and Ksp(AgCl)K_{sp}(\text{AgCl}).

Step 1. Apply the Nernst equation from the derivation with n=1n=1: Ecell=0.0592log⁡100.10[Ag+]satE_{cell} = 0.0592\log_{10}\dfrac{0.10}{[\text{Ag}^+]_{sat}}, so 0.450=0.0592log⁡10(0.10[Ag+]sat)0.450 = 0.0592\log_{10}\left(\dfrac{0.10}{[\text{Ag}^+]_{sat}}\right).

Step 2. Solve for the log term: log⁡10(0.10[Ag+]sat)=0.4500.0592=7.60\log_{10}\left(\dfrac{0.10}{[\text{Ag}^+]_{sat}}\right) = \dfrac{0.450}{0.0592} = 7.60.

Step 3. Invert: 0.10[Ag+]sat=107.60=3.98×107\dfrac{0.10}{[\text{Ag}^+]_{sat}} = 10^{7.60} = 3.98\times10^{7}, giving [Ag+]sat=0.103.98×107=2.51×10−9 M[\text{Ag}^+]_{sat} = \dfrac{0.10}{3.98\times10^{7}} = 2.51\times10^{-9}\ \text{M}.

Step 4. Apply the 1:1 stoichiometry of AgCl⇌Ag++Cl−\text{AgCl} \rightleftharpoons \text{Ag}^+ + \text{Cl}^-: [Cl−]=[Ag+]sat[\text{Cl}^-] = [\text{Ag}^+]_{sat}, so Ksp=[Ag+][Cl−]=(2.51×10−9)2=6.3×10−18K_{sp} = [\text{Ag}^+][\text{Cl}^-] = (2.51\times10^{-9})^2 = \mathbf{6.3\times10^{-18}}. (This is smaller than the accepted textbook Ksp(AgCl)≈1.8×10−10K_{sp}(\text{AgCl}) \approx 1.8\times10^{-10}; the numbers illustrate the method, not a calibrated real system.)

Competitive stretch

Convert the molar solubility into a mass concentration: with molar mass M(AgCl)=143.5 g/molM(\text{AgCl}) = 143.5\ \text{g/mol}, the solubility is s=[Ag+]sat×M=2.51×10−9×143.5=3.60×10−7 g/Ls = [\text{Ag}^+]_{sat}\times M = 2.51\times10^{-9}\times143.5 = 3.60\times10^{-7}\ \text{g/L}, and pKsp=−log⁡10(6.3×10−18)=17.20\text{pK}_{sp} = -\log_{10}(6.3\times10^{-18}) = \mathbf{17.20} — a compact way to report a very small equilibrium constant.

Common traps

  • Using raw molar concentration instead of activity (ai=γicia_i = \gamma_i c_i) once the solution is not dilute or the ions are multiply charged — the Debye–Hückel correction is not optional above a few millimolar.
  • Forgetting that ionic strength I=12∑icizi2I = \tfrac12\sum_i c_i z_i^2 sums over all ions in solution, including spectator ions, not just the salt of interest.
  • Assuming [cation]=[anion][\text{cation}] = [\text{anion}] in every KspK_{sp}-from-EMF problem — this only holds for 1:1 salts like AgCl\text{AgCl}; Ag2CrO4\text{Ag}_2\text{CrO}_4 needs [CrO42−]=12[Ag+][\text{CrO}_4^{2-}] = \tfrac12[\text{Ag}^+].
  • Treating a glass electrode's calibration constant as fixed forever — it must be re-established with a buffer for each electrode and each session.

Ask the tutor: if the stoichiometric step for a non-1:1 salt like Ag2CrO4\text{Ag}_2\text{CrO}_4 or PbCl2\text{PbCl}_2 feels shaky, ask the AI tutor to walk through one such example alongside the AgCl calculation above.

Why can we not just measure a single ion's activity coefficient directly?

Because any real solution must stay electrically neutral, you can never isolate a beaker containing only cations or only anions to measure its activity coefficient alone. Every experiment — including EMF measurements — reports the combined effect of both ion types together. That is exactly why chemists define the mean ionic activity coefficient γ±\gamma_\pm, a geometric average weighted by the stoichiometric numbers ν+\nu_+ and ν−\nu_-, as the quantity that experiment can actually access.

Why does the Debye-Hückel limiting law only work at low ionic strength?

The law is derived by treating each ion as surrounded by a diffuse cloud of oppositely charged ions and calculating the electrostatic energy of that cloud using approximations that assume ions are far apart and interactions are weak. As concentration rises, ions crowd closer, their finite size and short-range repulsions start to matter, and the simple I\sqrt{I} dependence breaks down. Beyond roughly I≈0.01 mol L−1I \approx 0.01\ \text{mol L}^{-1}, extended versions of the theory (with extra correction terms) are needed instead.

Why is the glass electrode preferred over the hydrogen electrode for everyday pH measurement even though the hydrogen electrode is the reference standard?

The hydrogen electrode requires bubbling pure hydrogen gas over a platinized platinum surface, and that catalyst is easily poisoned by trace sulfur compounds or other contaminants in the test solution, making it slow and fragile to use routinely. The glass electrode instead relies on a thin glass membrane that develops a boundary potential proportional to H+\text{H}^+ activity, needs no gas handling, responds quickly, and only needs a two-point buffer calibration before use — which is why it is the standard laboratory pH probe despite being the less fundamentally "pure" measurement.

Before this

Where this leads