Dove's LibraryDove's Library

8.11 - pH and Solubility

Overview

Some salts dissolve much better in acid than in water, and some don't care about pH at all. The difference is whether one of the salt's ions reacts with H3O+\mathrm{H_3O^{+}} or OH−\mathrm{OH^{-}}. If it does, changing the pH pulls that ion out of solution, and Le Châtelier's principle says more solid dissolves to replace it. This topic is qualitative: the AP exam asks you to predict and explain the direction of the change, not to calculate solubility at a given pH.

The idea: remove an ion, and more solid dissolves

A slightly soluble salt in water reaches an equilibrium with its ions (Topic 7.11). For calcium fluoride:
CaF2(s)⇌Ca2+(aq)+2F−(aq)\mathrm{CaF_2(s) \rightleftharpoons Ca^{2+}(aq) + 2F^{-}(aq)}Ksp=[Ca2+][F−]2K_{sp} = [\mathrm{Ca^{2+}}][\mathrm{F^{-}}]^2
  • Anything that lowers the concentration of one of the ions makes Q<KspQ < K_{sp}, so more solid dissolves until Q=KspQ = K_{sp} again. The salt is more soluble.
  • Anything that raises the concentration of one of the ions (a common ion, Topic 7.12) makes Q>KspQ > K_{sp}, so solid forms. The salt is less soluble.
KspK_{sp} itself doesn't change with pH; only temperature changes it. What changes is the solubility, how much solid has to dissolve before the ion concentrations satisfy KspK_{sp}.
Three kinds of ions make a salt's solubility depend on pH: the hydroxide ion, an ion that's a weak base, and an ion that's a weak acid.

Salts that contain hydroxide

Metal hydroxides such as Mg(OH)2\mathrm{Mg(OH)_2} and Fe(OH)3\mathrm{Fe(OH)_3} release OH−\mathrm{OH^{-}} when they dissolve:
Mg(OH)2(s)⇌Mg2+(aq)+2OH−(aq)\mathrm{Mg(OH)_2(s) \rightleftharpoons Mg^{2+}(aq) + 2OH^{-}(aq)}
  • Add acid (lower the pH): H3O+\mathrm{H_3O^{+}} reacts with OH−\mathrm{OH^{-}}, which lowers [OH−]\mathrm{[OH^{-}]}. Now Q<KspQ < K_{sp}, so more Mg(OH)2\mathrm{Mg(OH)_2} dissolves. The overall reaction is:
    • Mg(OH)2(s)+2H3O+(aq)→Mg2+(aq)+4H2O(l)\mathrm{Mg(OH)_2(s) + 2H_3O^{+}(aq) \rightarrow Mg^{2+}(aq) + 4H_2O(l)}
  • Add base (raise the pH): extra OH−\mathrm{OH^{-}} is a common ion. Q>KspQ > K_{sp}, so the solubility goes down.
This is how milk of magnesia works. It's a suspension of Mg(OH)2\mathrm{Mg(OH)_2}, which barely dissolves in water but dissolves in stomach acid and neutralizes it.

Example 1: A saturated solution of magnesium hydroxide

A beaker holds a saturated solution of Mg(OH)2\mathrm{Mg(OH)_2} with extra solid on the bottom. Predict what happens to the amount of solid when each of these is added, and explain.
(a) A few drops of 6 M HCl\mathrm{HCl}. The solid decreases. H3O+\mathrm{H_3O^{+}} reacts with OH−\mathrm{OH^{-}}, lowering [OH−]\mathrm{[OH^{-}]}. That makes Q=[Mg2+][OH−]2Q = [\mathrm{Mg^{2+}}][\mathrm{OH^{-}}]^2 smaller than KspK_{sp}, so more Mg(OH)2\mathrm{Mg(OH)_2} dissolves until Q=KspQ = K_{sp} again.
(b) A few drops of 6 M NaOH\mathrm{NaOH}. The solid increases. The added OH−\mathrm{OH^{-}} makes Q>KspQ > K_{sp}, so Mg(OH)2\mathrm{Mg(OH)_2} precipitates until Q=KspQ = K_{sp}.
(c) Does KspK_{sp} change in either case? No. The temperature didn't change, so KspK_{sp} stays the same. Only the solubility changes.

Salts with an anion that's a weak base

The conjugate base of a weak acid is a weak base. Anions like F−\mathrm{F^{-}}, CO32−\mathrm{CO_3^{2-}}, PO43−\mathrm{PO_4^{3-}}, and CH3COO−\mathrm{CH_3COO^{-}} all react with H3O+\mathrm{H_3O^{+}}. For calcium fluoride in acid:
F−(aq)+H3O+(aq)→HF(aq)+H2O(l)\mathrm{F^{-}(aq) + H_3O^{+}(aq) \rightarrow HF(aq) + H_2O(l)}
This reaction removes F−\mathrm{F^{-}}, so Q<KspQ < K_{sp} and more CaF2\mathrm{CaF_2} dissolves. The effect gets large once the pH drops below the pKaK_a of HF (about 3.2), because then most of the dissolved fluoride is in the HF form (Topic 8.7).
Carbonates go one step further. The carbonic acid that forms breaks down into carbon dioxide, which bubbles out of the solution:
CO32−(aq)+2H3O+(aq)→CO2(g)+3H2O(l)\mathrm{CO_3^{2-}(aq) + 2H_3O^{+}(aq) \rightarrow CO_2(g) + 3H_2O(l)}
Since the CO2\mathrm{CO_2} escapes, the reaction can't run backward, and a carbonate keeps dissolving as long as there's acid.
Adding base to these salts has little effect. OH−\mathrm{OH^{-}} doesn't react with F−\mathrm{F^{-}} or CO32−\mathrm{CO_3^{2-}}.

Anions that don't react

Cl−\mathrm{Cl^{-}}, Br−\mathrm{Br^{-}}, I−\mathrm{I^{-}}, and NO3−\mathrm{NO_3^{-}} are conjugate bases of strong acids. They're such weak bases that they don't react with H3O+\mathrm{H_3O^{+}} (Topic 8.6). So adding acid doesn't change the solubility of salts like AgCl\mathrm{AgCl}, AgBr\mathrm{AgBr}, or PbI2\mathrm{PbI_2}.

Example 2: Telling two silver salts apart (AP-style)

A student has two unlabeled powders. One is AgCl\mathrm{AgCl} and the other is Ag2CO3\mathrm{Ag_2CO_3}. She adds 6 M HNO3\mathrm{HNO_3} to a small sample of each. Sample 1 fizzes and the solid dissolves. Sample 2 shows no visible change.
(a) Identify each sample and justify your answer with an equation. Sample 1 is Ag2CO3\mathrm{Ag_2CO_3}. Carbonate is a weak base, so it reacts with the acid and leaves as CO2\mathrm{CO_2} gas (the fizzing):
Ag2CO3(s)+2H3O+(aq)→2Ag+(aq)+CO2(g)+3H2O(l)\mathrm{Ag_2CO_3(s) + 2H_3O^{+}(aq) \rightarrow 2Ag^{+}(aq) + CO_2(g) + 3H_2O(l)}
Sample 2 is AgCl\mathrm{AgCl}. Cl−\mathrm{Cl^{-}} is the conjugate base of a strong acid and doesn't react with H3O+\mathrm{H_3O^{+}}, so the acid doesn't change its solubility.
(b) Why is HCl\mathrm{HCl} a poor choice of acid for this test? HCl\mathrm{HCl} adds Cl−\mathrm{Cl^{-}}. Sample 1 would still fizz, but the Ag+\mathrm{Ag^{+}} it released would immediately precipitate as AgCl\mathrm{AgCl}, so both test tubes would end up with a solid in them. HNO3\mathrm{HNO_3} avoids this because all nitrate salts are soluble.

Salts with an ion that's a weak acid

If one of the salt's ions can donate a proton, raising the pH removes it: OH−\mathrm{OH^{-}} turns it into its conjugate base. So these salts become more soluble as the pH goes up. Cream of tartar, potassium hydrogen tartrate (KHC4H4O6\mathrm{KHC_4H_4O_6}), is only slightly soluble in water. Its anion is a weak acid:
KHC4H4O6(s)⇌K+(aq)+HC4H4O6−(aq)\mathrm{KHC_4H_4O_6(s) \rightleftharpoons K^{+}(aq) + HC_4H_4O_6^{-}(aq)}HC4H4O6−(aq)+OH−(aq)→C4H4O62−(aq)+H2O(l)\mathrm{HC_4H_4O_6^{-}(aq) + OH^{-}(aq) \rightarrow C_4H_4O_6^{2-}(aq) + H_2O(l)}
Adding base removes HC4H4O6−\mathrm{HC_4H_4O_6^{-}}, so Q<KspQ < K_{sp} and more solid dissolves. Nothing new precipitates, since potassium salts are soluble. (HC4H4O6−\mathrm{HC_4H_4O_6^{-}} is amphiprotic, so a strongly acidic solution also dissolves more of it, by turning it into tartaric acid, H2C4H4O6\mathrm{H_2C_4H_4O_6}.)

Summary

Ion in the salt
Examples
Adding acid (lower pH)
Adding base (higher pH)
Hydroxide, OH−\mathrm{OH^{-}}
Mg(OH)2\mathrm{Mg(OH)_2}, Fe(OH)3\mathrm{Fe(OH)_3}
more soluble
less soluble (common ion)
Anion that's a weak base
CaF2\mathrm{CaF_2}, CaCO3\mathrm{CaCO_3}, Ca3(PO4)2\mathrm{Ca_3(PO_4)_2}
more soluble
little change
Ion that's a weak acid
KHC4H4O6\mathrm{KHC_4H_4O_6}
little change, unless the ion is also a weak base
more soluble
Anion of a strong acid
AgCl\mathrm{AgCl}, AgBr\mathrm{AgBr}, PbI2\mathrm{PbI_2}
no change
no change, unless the metal ion forms a hydroxide precipitate
To explain any of these on the AP exam, give three things: the reaction that removes (or adds) an ion, the effect on QQ compared with KspK_{sp} (or the direction of the shift), and the result for solubility.

Example 3: Predicting the effect of acid

Which of these salts are more soluble in 1 M HNO3\mathrm{HNO_3} than in pure water: CaF2\mathrm{CaF_2}, AgBr\mathrm{AgBr}, Fe(OH)3\mathrm{Fe(OH)_3}, BaCO3\mathrm{BaCO_3}? Justify each answer.
  • CaF2\mathrm{CaF_2}: more soluble. F−\mathrm{F^{-}} is a weak base. It reacts with H3O+\mathrm{H_3O^{+}} to form HF, which lowers [F−]\mathrm{[F^{-}]}, so Q<KspQ < K_{sp} and more CaF2\mathrm{CaF_2} dissolves.
  • AgBr\mathrm{AgBr}: no change. Br−\mathrm{Br^{-}} is the conjugate base of a strong acid, HBr, so it doesn't react with H3O+\mathrm{H_3O^{+}}.
  • Fe(OH)3\mathrm{Fe(OH)_3}: more soluble. H3O+\mathrm{H_3O^{+}} reacts with OH−\mathrm{OH^{-}} to form water, which lowers [OH−]\mathrm{[OH^{-}]}, so Q<KspQ < K_{sp} and more dissolves.
  • BaCO3\mathrm{BaCO_3}: more soluble. CO32−\mathrm{CO_3^{2-}} reacts with H3O+\mathrm{H_3O^{+}} and leaves as CO2\mathrm{CO_2} gas, so the solid keeps dissolving as long as acid is present.

Reading solubility data

The graph shows the molar solubility of three salts in solutions held at different pH values. The values were calculated from KspK_{sp} and KaK_a data, and the log scale lets all three fit on one graph. You won't have to do these calculations, but you should be able to read and explain a graph like this one.
8.11 - pH and Solubility
  • AgCl\mathrm{AgCl} (dashed line): flat. Cl−\mathrm{Cl^{-}} doesn't react with H3O+\mathrm{H_3O^{+}}, so pH has no effect.
  • CaF2\mathrm{CaF_2}: flat above about pH 4, then rising as the pH drops. In acid, more and more F−\mathrm{F^{-}} becomes HF.
  • Mg(OH)2\mathrm{Mg(OH)_2} (red line): falls steeply as the pH rises. OH−\mathrm{OH^{-}} is one of the salt's own ions, so every increase in [OH−]\mathrm{[OH^{-}]} pushes the dissolving equilibrium back hard. Below about pH 8.4 its solubility would be above 1 M, so the line runs off the top of the graph.

Example 4: Reading the graph

Use the solubility graph above.
(a) Roughly how many times more soluble is CaF2\mathrm{CaF_2} at pH 2 than at pH 7? At pH 7 the curve sits at about 2×10−42 \times 10^{-4} M. At pH 2 it's a little above 10−310^{-3} M. So CaF2\mathrm{CaF_2} is roughly 7 times more soluble at pH 2.
(b) Explain why CaF2\mathrm{CaF_2}'s solubility doesn't change between pH 5 and pH 11. In that range the pH is well above the pKaK_a of HF, so almost all the dissolved fluoride stays as F−\mathrm{F^{-}}. Nothing removes it, so the solubility is the same as in pure water.
(c) A student wants to dissolve as much Mg(OH)2\mathrm{Mg(OH)_2} as possible. Should she use a solution at pH 5 or pH 10? Explain. pH 5. The lower [OH−]\mathrm{[OH^{-}]} at pH 5 keeps QQ below KspK_{sp} until far more Mg(OH)2\mathrm{Mg(OH)_2} has dissolved. At pH 10, the high [OH−]\mathrm{[OH^{-}]} acts as a common ion and keeps the solubility low.

Where you see this

  • Teeth. Tooth enamel is mostly hydroxyapatite, Ca5(PO4)3OH\mathrm{Ca_5(PO_4)_3OH}. Both OH−\mathrm{OH^{-}} and PO43−\mathrm{PO_4^{3-}} react with acid, so the acids that mouth bacteria make from sugar slowly dissolve enamel. Fluoride replaces some OH−\mathrm{OH^{-}} to form fluorapatite, Ca5(PO4)3F\mathrm{Ca_5(PO_4)_3F}. F−\mathrm{F^{-}} is a much weaker base than OH−\mathrm{OH^{-}}, so fluorapatite holds up better in acid.
  • Stone and shells. Limestone, marble, and seashells are mostly CaCO3\mathrm{CaCO_3}, which dissolves in acid. Acid rain slowly erodes marble statues, and more acidic seawater makes it harder for shellfish to build their shells.

Common mistakes

  • Saying acid makes every salt more soluble. It only matters if one of the ions reacts with H3O+\mathrm{H_3O^{+}}: hydroxide or the conjugate base of a weak acid. AgCl\mathrm{AgCl} doesn't care.
  • Saying KspK_{sp} changes with pH. KspK_{sp} is constant at a given temperature. The solubility changes.
  • Writing "the acid dissolves it" and stopping. Name the ion that reacts, write the reaction, then explain the shift (Q<KspQ < K_{sp}, so more solid dissolves).
  • Getting hydroxides backward in base. Adding OH−\mathrm{OH^{-}} to a metal hydroxide makes it less soluble (common-ion effect).
  • Testing silver or lead salts with HCl\mathrm{HCl}. The Cl−\mathrm{Cl^{-}} precipitates the metal ion. Use HNO3\mathrm{HNO_3}.
  • Calculating when you only need to explain. The AP exam doesn't ask for solubility at a given pH. It asks for the direction and the reason.

AP® is a registered trademark of the College Board, which is not affiliated with Dove's Library and was not involved in the production of, and does not endorse, this website.

Providing free, high-quality AP notes to help students succeed, earn college credit, and reach their educational goals, ensuring everyone has access to the resources they need.

© 2026 Standard Learning Group, Inc., which operates Dove's Library. All rights reserved.