Solutions

Solubility Product (Ksp)

The equilibrium that decides what precipitates

The solubility product (Ksp) is the equilibrium constant for a slightly soluble ionic solid dissolving into its ions in a saturated solution. For a salt MxAy(s) ⇌ x Mn+(aq) + y Am−(aq), the expression is Ksp = [Mn+]x[Am−]y, and the pure solid is left out. A small Ksp means very little dissolves: AgCl has Ksp = 1.8×10⁻¹⁰, so a saturated solution holds barely 1.3×10⁻⁵ mol/L of silver. Comparing the reaction quotient Qsp against Ksp predicts whether a salt stays dissolved or crashes out as a precipitate — the single most useful tool for controlling what does and does not stay in solution.

  • ExpressionKsp = [Mn+]x[Am−]y
  • AgClKsp = 1.8×10⁻¹⁰
  • CuS (very insoluble)Ksp ≈ 6×10⁻³⁷
  • Precipitates whenQsp > Ksp
  • Thermo linkΔG° = −RT ln Ksp
  • Solid in expressionOmitted (activity = 1)

Interactive visualization

Press play, or step through manually. The visualization is yours to drive — try it before reading on.

Open visualization fullscreen ↗

Watch the 60-second explainer

A condensed visual walkthrough — narrated, captioned, under a minute.

What Ksp actually measures

Drop a pinch of silver chloride into water and almost nothing happens — the crystal sits at the bottom, apparently inert. But "insoluble" is a half-truth. A tiny, fixed fraction of the solid is constantly dissolving while dissolved ions are constantly re-depositing. When those two rates balance, the solution is saturated and the system has reached a dynamic equilibrium:

AgCl(s) ⇌ Ag⁺(aq) + Cl⁻(aq)

The equilibrium constant for this dissolution is the solubility product, Ksp. As with any heterogeneous equilibrium, the pure solid is assigned an activity of 1 and dropped from the expression — its "concentration" is a property of the crystal lattice, not of the solution. What remains is a product of the dissolved ion concentrations, each raised to its stoichiometric coefficient:

Ksp = [Ag⁺][Cl⁻] = 1.8×10⁻¹⁰

For a generic salt MxAy that ionizes into x cations and y anions, the pattern generalizes to Ksp = [Mn+]x[Am−]y. The exponents come straight from the balanced dissolution equation, which is exactly why CaF₂ → Ca²⁺ + 2F⁻ gives Ksp = [Ca²⁺][F⁻]², with the fluoride term squared. Strictly, Ksp is built from activities, so it is dimensionless; the tabulated number you look up assumes the standard 1 mol/L reference state and is accurate only in dilute solution where activity coefficients stay near 1.

The crucial property of Ksp is that, like any equilibrium constant, it depends only on temperature. It does not care whether you reached saturation by dissolving solid into water or by mixing two solutions until a precipitate appeared. At 25 °C the product [Ag⁺][Cl⁻] in any saturated AgCl system is always 1.8×10⁻¹⁰, no matter the individual ion concentrations. That invariance is what makes Ksp predictive.

From Ksp to molar solubility (and the trap)

The number people actually want is the molar solubility s — how many moles of solid dissolve per liter before saturation. You get it by writing each ion concentration in terms of s and substituting into the Ksp expression. The stoichiometry controls the algebra:

  • 1:1 salts (AgCl, BaSO₄): Ksp = s·s = s², so s = √Ksp. For AgCl, s = √(1.8×10⁻¹⁰) ≈ 1.3×10⁻⁵ M.
  • 1:2 salts (CaF₂, Mg(OH)₂): Ksp = (s)(2s)² = 4s³, so s = (Ksp/4)1/3. For CaF₂ (Ksp 3.9×10⁻¹¹), s ≈ 2.1×10⁻⁴ M.
  • 1:3 salts (Fe(OH)₃, La(OH)₃-type): Ksp = (s)(3s)³ = 27s⁴, so s = (Ksp/27)1/4.

This exposes the most common misconception in the whole topic: a smaller Ksp does not always mean a less soluble salt. The comparison is only valid between salts of the same formula type. CaF₂ has a smaller Ksp than AgCl (3.9×10⁻¹¹ vs 1.8×10⁻¹⁰) yet its molar solubility is higher (2.1×10⁻⁴ vs 1.3×10⁻⁵ M), because the cube root of a 1:2 salt's Ksp produces more dissolved formula units than the square root of a 1:1 salt's. Ranking solubility by raw Ksp across different stoichiometries is a textbook error.

Selected solubility products at 25 °C and the molar solubility they imply in pure water
SaltDissolutionKspMolar solubility (M)
AgClAg⁺ + Cl⁻1.8×10⁻¹⁰1.3×10⁻⁵
BaSO₄Ba²⁺ + SO₄²⁻1.1×10⁻¹⁰1.0×10⁻⁵
CaCO₃Ca²⁺ + CO₃²⁻3.3×10⁻⁹5.7×10⁻⁵
CaF₂Ca²⁺ + 2F⁻3.9×10⁻¹¹2.1×10⁻⁴
Mg(OH)₂Mg²⁺ + 2OH⁻5.6×10⁻¹²1.1×10⁻⁴
AgIAg⁺ + I⁻8.5×10⁻¹⁷9.2×10⁻⁹
CuSCu²⁺ + S²⁻~6×10⁻³⁷~8×10⁻¹⁹

The span here is staggering: CuS has a Ksp roughly 10²⁷ times smaller than CaCO₃ (which still works out to about 10¹⁴ times lower molar solubility, since the square root compresses the gap). That dynamic range is exactly why sulfide precipitation has historically been so powerful in qualitative analysis — even a trace of a metal ion can be forced out as an extraordinarily insoluble sulfide.

Qsp vs Ksp: the precipitation test

Ksp by itself describes a system already at saturation. To predict what happens when you mix two solutions, you need the ion product (reaction quotient) Qsp, calculated from the actual ion concentrations the instant of mixing — which are usually not at equilibrium. The comparison of Qsp to Ksp is identical in spirit to comparing Q to K for any reaction:

  • Qsp < Ksp: unsaturated. The solution can hold more; any solid present keeps dissolving. No precipitate.
  • Qsp = Ksp: exactly saturated. The system is at equilibrium; rates of dissolution and deposition match.
  • Qsp > Ksp: supersaturated. The solution holds more than it can sustain, so a precipitate forms and ion concentrations fall until Qsp drops back to Ksp.

A concrete example: mix 0.5 L of 2.0×10⁻⁴ M AgNO₃ with 0.5 L of 2.0×10⁻⁴ M NaCl. Dilution halves each ion to 1.0×10⁻⁴ M, so Qsp = (1.0×10⁻⁴)(1.0×10⁻⁴) = 1.0×10⁻⁸. Since 1.0×10⁻⁸ ≫ 1.8×10⁻¹⁰ = Ksp, AgCl precipitates. Keep diluting the starting solutions and you eventually reach a point where Qsp drops below Ksp and the mix stays clear — the threshold concentration for visible cloudiness is set entirely by Ksp.

This same logic drives selective (fractional) precipitation. If a solution contains both Cl⁻ and I⁻ and you slowly add Ag⁺, the salt with the smaller Ksp precipitates first: AgI (Ksp 8.5×10⁻¹⁷) drops out long before AgCl (1.8×10⁻¹⁰). By the time AgCl just begins to form, the residual iodide has been reduced to roughly Ksp(AgI)/[Ag⁺] — a separation of many orders of magnitude. Engineers exploit exactly this in hydrometallurgy and water treatment to pull one ion out of a mixture while leaving the rest dissolved.

The common-ion effect and pH

Because Ksp is fixed, anything that changes one ion's concentration must force the other to change to compensate. The cleanest demonstration is the common-ion effect. Dissolve AgCl in 0.10 M NaCl instead of pure water: the chloride is now pinned near 0.10 M by the freely soluble NaCl, so [Ag⁺] = Ksp/[Cl⁻] = 1.8×10⁻¹⁰/0.10 = 1.8×10⁻⁹ M. That is about 7000 times less silver than in pure water. By Le Chatelier's principle, the shared ion pushes the dissolution equilibrium back toward solid. This is precisely why a freshly made precipitate is rinsed with a dilute solution containing one of its own ions rather than pure water — washing with water would redissolve product you are trying to collect.

pH is the other great lever, and it works by removing an ion through a separate reaction. Salts of weak acids and all metal hydroxides become far more soluble in acid:

  • Carbonates: CaCO₃ is essentially insoluble at neutral pH, but CO₃²⁻ + 2H⁺ → H₂O + CO₂ strips the anion away, pulling more solid into solution. Carbonic-acid-laden groundwater dissolving limestone this way is the engine behind caves, sinkholes, and karst terrain.
  • Hydroxides: Mg(OH)₂ dissolution consumes OH⁻; adding H⁺ neutralizes it and the solid melts away. Milk of magnesia (a Mg(OH)₂ slurry) works as an antacid precisely because stomach acid dissolves it on demand, buffering near neutrality.
  • Sulfides: in acid, S²⁻ + 2H⁺ → H₂S escapes as gas, so even some "insoluble" sulfides give way — the basis of separating metal-sulfide groups by controlling [H⁺].

The thermodynamic and lattice connection

Ksp is a genuine equilibrium constant, so it plugs directly into thermodynamics: ΔG°dissolution = −RT ln Ksp. A salt with Ksp ≪ 1 has a large positive ΔG°, meaning that, under standard conditions, dissolution is uphill — the lattice would rather stay assembled. That free-energy balance is itself a tug-of-war between the lattice energy that holds the crystal together and the hydration enthalpy released when water surrounds the freed ions, set against the entropy gained by liberating ions into solution. When lattice energy dominates (as in tiny, highly charged ions packed in a tight lattice), Ksp is minuscule.

Temperature dependence follows the van 't Hoff equation, d(ln Ksp)/dT = ΔH°dissolution/RT². Most salts dissolve endothermically, so their Ksp rises with temperature — heat dissolves more. The instructive exceptions dissolve exothermically and therefore become less soluble when heated: CaSO₄, Ca(OH)₂, and Li₂CO₃ all show this inverted behavior. It is why boiler scale and "hard-water" calcium-sulfate deposits build up preferentially on the hottest surfaces of pipes, kettles, and heat exchangers — the very places you would naively expect material to stay dissolved.

Why it matters in the body and in industry

Solubility products quietly govern an enormous amount of biology and engineering:

  • Kidney stones. Calcium oxalate (Ksp ~2×10⁻⁹) and calcium phosphate crystallize from urine when Qsp creeps above Ksp; hydration and citrate (which complexes Ca²⁺ and lowers free [Ca²⁺]) are the front-line defenses against pushing Qsp over the edge.
  • Teeth and bone. Hydroxyapatite, Ca₅(PO₄)₃OH, has an astronomically small Ksp; demineralization in acid (lowered pH from bacterial acids) raises solubility and causes cavities, while fluoride converts it to even-less-soluble fluorapatite.
  • Medical imaging. Barium sulfate (Ksp 1.1×10⁻¹⁰) is swallowed as a contrast agent precisely because its Ksp is so small that essentially no toxic Ba²⁺ enters the bloodstream — solubility, not chemistry alone, makes it safe.
  • Water treatment and scaling. Softening removes Ca²⁺ and Mg²⁺ by precipitating carbonates and hydroxides; conversely, predicting CaCO₃ scaling (via the Langelier saturation index, a Qsp/Ksp comparison) keeps cooling towers and municipal pipes from clogging.
  • Analytical and process chemistry. Gravimetric analysis weighs a quantitatively precipitated salt; selective sulfide and hydroxide precipitation separates metals in ore processing and effluent cleanup.

Where the simple picture breaks

The tidy Ksp expression assumes ideal, dilute solutions. Several real-world complications shift apparent solubility well away from the naive prediction:

  • Activity effects (the salt effect). An inert background electrolyte that shares no ion with the solid actually increases solubility, because the ionic atmosphere lowers ion activities (Debye–Hückel). The thermodynamic Ksp is constant, but the concentration-based product is not.
  • Complex-ion formation. Excess of a ligand can redissolve a precipitate: AgCl dissolves in concentrated ammonia as Ag(NH₃)₂⁺, and Al(OH)₃ redissolves in excess base as aluminate. Here a second equilibrium (formation constant Kf) overwhelms the solubility equilibrium.
  • Ion pairing and incomplete dissociation. For 2:2 salts like CaSO₄, a significant fraction of "dissolved" material exists as neutral ion pairs, so measured solubility exceeds what Ksp alone predicts.
  • Kinetics and supersaturation. Ksp is thermodynamic. A solution can sit supersaturated (Qsp > Ksp) for a long time if nucleation is slow — the basis of controlled crystallization and the reason a seed crystal can trigger sudden precipitation.

Frequently asked questions

What is the solubility product (Ksp)?

Ksp is the equilibrium constant for a sparingly soluble ionic solid dissolving into its ions in a saturated solution. For MxAy(s) ⇌ x Mn+ + y Am−, Ksp = [Mn+]x[Am−]y. The solid does not appear (its activity is 1). A small Ksp means very little dissolves; AgCl has Ksp = 1.8×10⁻¹⁰, so a saturated solution holds only ~1.3×10⁻⁵ mol/L. Ksp is fixed at a given temperature and is independent of how the equilibrium was reached.

How do you calculate molar solubility from Ksp?

Let s be the molar solubility (mol/L dissolved). Substitute the stoichiometric ion concentrations into the Ksp expression. For AgCl: Ksp = s·s = s² → s = √Ksp = √(1.8×10⁻¹⁰) ≈ 1.3×10⁻⁵ M. For CaF₂ (1:2): Ksp = (s)(2s)² = 4s³ → s = (Ksp/4)1/3. For Ksp = 3.9×10⁻¹¹, s ≈ 2.1×10⁻⁴ M. Note CaF₂ has a smaller Ksp than AgCl yet a higher solubility — the exponents matter, so you cannot rank solubility by Ksp alone unless the salts share the same formula type.

How does Ksp predict whether a precipitate forms?

Compute the ion product Qsp using the actual (often non-equilibrium) ion concentrations, then compare it to Ksp. If Qsp < Ksp the solution is unsaturated and more solid can dissolve. If Qsp = Ksp it is exactly saturated, at equilibrium. If Qsp > Ksp the solution is supersaturated and a precipitate forms until Qsp falls back to Ksp. This Qsp-vs-Ksp test is the basis of all precipitation predictions, including which salt of a mixture drops out first during selective precipitation.

What is the common-ion effect?

Adding a soluble salt that shares an ion with the solid suppresses the solid's solubility, by Le Chatelier's principle. Ksp stays constant, but the added common ion forces the equilibrium back toward solid. AgCl in pure water dissolves to ~1.3×10⁻⁵ M; in 0.10 M NaCl the chloride is fixed near 0.10 M, so [Ag⁺] = Ksp/[Cl⁻] = 1.8×10⁻¹⁰/0.10 = 1.8×10⁻⁹ M — about 7000× less silver dissolves. This is why a precipitate is washed with a dilute solution of one of its own ions rather than pure water.

How does pH affect solubility?

Salts of weak acids or hydroxides are far more soluble in acid. Adding H⁺ consumes the anion (e.g., CO₃²⁻ + 2H⁺ → H₂O + CO₂, or OH⁻ + H⁺ → H₂O), removing it from solution and pulling more solid into dissolution. CaCO₃ (Ksp 3.3×10⁻⁹) is essentially insoluble at neutral pH but dissolves readily in stomach acid or carbonic-acid-rich groundwater, which is how limestone caves and karst form. For metal hydroxides like Mg(OH)₂, solubility scales steeply with [H⁺] because two protons are consumed per formula unit.

How is Ksp related to thermodynamics?

Ksp is a true equilibrium constant, so ΔG°dissolution = −RT ln Ksp. A small Ksp (Ksp ≪ 1) gives a large positive ΔG°, meaning dissolution is non-spontaneous under standard conditions. The temperature dependence follows the van 't Hoff equation: d(ln Ksp)/dT = ΔH°dissolution/RT². Endothermic dissolution (most salts) means Ksp rises with temperature; the rare exothermic cases (CaSO₄, Ca(OH)₂, Li₂CO₃) become less soluble when heated — which is why scale forms on hot pipes and heat exchangers.