Skip to main content
Chemistry LibreTexts

18.7: Solubility and pH

  • Page ID
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    Learning Objectives
    • To understand why the solubility of many compounds depends on pH.

    The solubility of many compounds depends strongly on the pH of the solution. For example, the anion in many sparingly soluble salts is the conjugate base of a weak acid that may become protonated in solution. In addition, the solubility of simple binary compounds such as oxides and sulfides, both strong bases, is often dependent on pH. In this section, we discuss the relationship between the solubility of these classes of compounds and pH.

    The Effect of Acid–Base Equilibria the Solubility of Salts

    We begin our discussion by examining the effect of pH on the solubility of a representative salt, \(\ce{M^{+}A^{−}}\), where \(\ce{A^{−}}\) is the conjugate base of the weak acid \(\ce{HA}\). When the salt dissolves in water, the following reaction occurs:

    \[\ce{MA (s) \rightleftharpoons M^{+} (aq) + A^{-} (aq)} \label{17.13a} \nonumber\]


    \[K_{sp} = [\ce{M^{+}}][\ce{A^{−}}] \label{17.13b} \nonumber\]

    The anion can also react with water in a hydrolysis reaction:

    \[\ce{A^{-} (aq) + H2O (l) \rightleftharpoons OH^{-} (aq) + HA (aq)} \label{17.14}\]

    Because of the reaction described in Equation \(\ref{17.14}\), the predicted solubility of a sparingly soluble salt that has a basic anion such as S2−, PO43, or CO32 is increased. If instead a strong acid is added to the solution, the added H+ will react essentially completely with A to form HA. This reaction decreases [A], which decreases the magnitude of the ion product

    \[Q = [\ce{M^{+}}][\ce{A^{-}}]\]

    According to Le Chatelier’s principle, more MA will dissolve until \(Q = K_{sp}\). Hence an acidic pH dramatically increases the solubility of virtually all sparingly soluble salts whose anion is the conjugate base of a weak acid. In contrast, pH has little to no effect on the solubility of salts whose anion is the conjugate base of a stronger weak acid or a strong acid, respectively (e.g., chlorides, bromides, iodides, and sulfates). For example, the hydroxide salt Mg(OH)2 is relatively insoluble in water:

    \[Mg(OH)_{2(s)} \rightleftharpoons Mg^{2+} (aq) + 2OH^− (aq) \label{17.15a}\]


    \[K_{sp} = 5.61 \times 10^{−12} \label{17.15b}\]

    When acid is added to a saturated solution that contains excess solid Mg(OH)2, the following reaction occurs, removing OH from solution:

    \[H^+ (aq) + OH^− (aq) \rightarrow H_2O (l) \label{17.16}\]

    The overall equation for the reaction of Mg(OH)2 with acid is thus

    \[Mg(OH)_{2(s)} + 2H^+ (aq) \rightleftharpoons Mg^{2+} (aq) + 2H_2O (l) \label{17.17}\]

    As more acid is added to a suspension of Mg(OH)2, the equilibrium shown in Equation \(\ref{17.17}\) is driven to the right, so more Mg(OH)2 dissolves.

    Such pH-dependent solubility is not restricted to salts that contain anions derived from water. For example, CaF2 is a sparingly soluble salt:

    \[CaF_{2(s)} \rightleftharpoons Ca^{2+} (aq) + 2F^− (aq) \label{17.18a}\]


    \[K_{sp} = 3.45 \times 10^{−11} \label{17.18b}\]

    When strong acid is added to a saturated solution of CaF2, the following reaction occurs:

    \[H^+ (aq) + F^− (aq) \rightleftharpoons HF (aq) \label{17.19}\]

    Because the forward reaction decreases the fluoride ion concentration, more CaF2 dissolves to relieve the stress on the system. The net reaction of CaF2 with strong acid is thus

    \[CaF_{2(s)} + 2H^+ (aq) \rightarrow Ca^{2+} (aq) + 2HF (aq) \label{17.20}\]

    Example \(\PageIndex{1}\) shows how to calculate the solubility effect of adding a strong acid to a solution of a sparingly soluble salt.

    Sparingly soluble salts derived from weak acids tend to be more soluble in an acidic solution.

    Example \(\PageIndex{1}\)

    Lead oxalate (PbC2O4), lead iodide (PbI2), and lead sulfate (PbSO4) are all rather insoluble, with Ksp values of 4.8 × 10−10, 9.8 × 10−9, and 2.53 × 10−8, respectively. What effect does adding a strong acid, such as perchloric acid, have on their relative solubilities?

    Given: Ksp values for three compounds

    Asked for: relative solubilities in acid solution


    Write the balanced chemical equation for the dissolution of each salt. Because the strongest conjugate base will be most affected by the addition of strong acid, determine the relative solubilities from the relative basicity of the anions.


    The solubility Equilibria for the three salts are as follows:

    \[PbC_2O_{4(s)} \rightleftharpoons Pb^{2+} (aq) + C_2O^{2−}_{4(aq)} \nonumber\]

    \[PbI_{2(s)} \rightleftharpoons Pb^{2+} (aq) + 2I^− (aq) \nonumber\]

    \[PbSO_{4(s)} \rightleftharpoons Pb^{2+} (aq) + SO^{2−}_{4(aq)} \nonumber\]

    The addition of a strong acid will have the greatest effect on the solubility of a salt that contains the conjugate base of a weak acid as the anion. Because HI is a strong acid, we predict that adding a strong acid to a saturated solution of PbI2 will not greatly affect its solubility; the acid will simply dissociate to form H+(aq) and the corresponding anion. In contrast, oxalate is the fully deprotonated form of oxalic acid (HO2CCO2H), which is a weak diprotic acid (pKa1 = 1.23 and pKa2 = 4.19). Consequently, the oxalate ion has a significant affinity for one proton and a lower affinity for a second proton. Adding a strong acid to a saturated solution of lead oxalate will result in the following reactions:

    \[C_2O^{2−}_{4(aq)} + H^+ (aq) \rightarrow HO_2CCO^−_{2(aq)} \nonumber\]

    \[HO_2CCO^−_{2(aq)} + H^+ (aq) \rightarrow HO_2CCO_2H (aq) \nonumber\]

    These reactions will decrease [C2O42], causing more lead oxalate to dissolve to relieve the stress on the system. The pKa of HSO4 (1.99) is similar in magnitude to the pKa1 of oxalic acid, so adding a strong acid to a saturated solution of PbSO4 will result in the following reaction:

    \[ SO^{2-}_{4(aq)} + H^+ (aq) \rightleftharpoons HSO^-_{4(aq)} \nonumber\]

    Because HSO4 has a pKa of 1.99, this reaction will lie largely to the left as written. Consequently, we predict that the effect of added strong acid on the solubility of PbSO4 will be significantly less than for PbC2O4.

    Exercise \(\PageIndex{1}\)

    Which of the following insoluble salts—AgCl, Ag2CO3, Ag3PO4, and/or AgBr—will be substantially more soluble in 1.0 M HNO3 than in pure water?


    Ag2CO3 and Ag3PO4

    Solubility Products and pH:

    Caves and their associated pinnacles and spires of stone provide one of the most impressive examples of pH-dependent solubility Equilbria(part (a) in Figure \(\PageIndex{1}\):). Perhaps the most familiar caves are formed from limestone, such as Carlsbad Caverns in New Mexico, Mammoth Cave in Kentucky, and Luray Caverns in Virginia. The primary reactions that are responsible for the formation of limestone caves are as follows:

    \[\ce{CO2(aq) + H2O (l) \rightleftharpoons H^{+} (aq) + HCO^{−}3(aq)} \label{17.21}\]

    \[\ce{HCO^{−}3(aq) \rightleftharpoons H^{+} (aq) + CO^{2-}3(aq)} \label{17.22}\]

    \[\ce{Ca^{2+} (aq) + CO^{2−}3(aq) \rightleftharpoons CaCO3(s)} \label{17.23}\]

    Limestone deposits that form caves consist primarily of CaCO3 from the remains of living creatures such as clams and corals, which used it for making structures such as shells. When a saturated solution of CaCO3 in CO2-rich water rises toward Earth’s surface or is otherwise heated, CO2 gas is released as the water warms. CaCO3 then precipitates from the solution according to the following equation (part (b) in Figure \(\PageIndex{1}\):):

    \[Ca^{2+} (aq) + 2HCO^−_{3(aq)} \rightleftharpoons CaCO_{3(s)} + CO_{2(g)} + H_2O (l) \label{17.24}\]

    The forward direction is the same reaction that produces the solid called scale in teapots, coffee makers, water heaters, boilers, and other places where hard water is repeatedly heated.

    Figure \(\PageIndex{1}\): The Chemistry of Cave Formation. (a) This cave in Campanet, Mallorca, Spain, and its associated formations are examples of pH-dependent solubility equilibriums. (b) A cave forms when groundwater containing atmospheric CO2, forming an acidic solution, dissolves limestone (CaCO3) in a process that may take tens of thousands of years. As groundwater seeps into a cave, water evaporates from the solution of CaCO3 in CO2-rich water, producing a supersaturated solution and a shift in equilibrium that causes precipitation of the CaCO3. The deposited limestone eventually forms stalactites and stalagmites.

    When groundwater-containing atmospheric CO2 (Equations \(\ref{17.21}\) and \(\ref{17.22}\)) finds its way into microscopic cracks in the limestone deposits, CaCO3 dissolves in the acidic solution in the reverse direction of Equation \(\ref{17.24}\). The cracks gradually enlarge from 10–50 µm to 5–10 mm, a process that can take as long as 10,000 yr. Eventually, after about another 10,000 yr, a cave forms. Groundwater from the surface seeps into the cave and clings to the ceiling, where the water evaporates and causes the equilibrium in Equation \(\ref{17.24}\) to shift to the right. A circular layer of solid CaCO3 is deposited, which eventually produces a long, hollow spire of limestone called a stalactite that grows down from the ceiling. Below, where the droplets land when they fall from the ceiling, a similar process causes another spire, called a stalagmite, to grow up. The same processes that carve out hollows below ground are also at work above ground, in some cases producing fantastically convoluted landscapes like that of Yunnan Province in China (Figure \(\PageIndex{2}\)).

    Figure \(\PageIndex{2}\): Solubility Equilbriain the Formation of Karst Landscapes. Landscapes such as the steep limestone pinnacles of the Stone Forest in Yunnan Province, China, are formed from the same process that produces caves and their associated formations.

    Acidic, Basic, and Amphoteric Oxides and Hydroxides

    One of the earliest classifications of substances was based on their solubility in acidic versus basic solution, which led to the classification of oxides and hydroxides as being either basic or acidic. Basic oxides and hydroxides either react with water to produce a basic solution or dissolve readily in aqueous acid. Acidic oxides or hydroxides either react with water to produce an acidic solution or are soluble in aqueous base. There is a clear correlation between the acidic or the basic character of an oxide and the position of the element combined with oxygen in the periodic table. Oxides of metallic elements are generally basic oxides, and oxides of nonmetallic elements are acidic oxides. Compare, for example, the reactions of a typical metal oxide, cesium oxide, and a typical nonmetal oxide, sulfur trioxide, with water:

    \[Cs_2O (s) + H_2O (l) \rightarrow 2Cs^+ (aq) + 2OH^− (aq) \label{17.25}\]

    \[SO_{3(g)} + H_2O (l) \rightarrow H_2SO_{4(aq)} \label{17.26}\]

    Cesium oxide reacts with water to produce a basic solution of cesium hydroxide, whereas sulfur trioxide reacts with water to produce a solution of sulfuric acid—very different behaviors indeed

    Metal oxides generally react with water to produce basic solutions, whereas nonmetal oxides produce acidic solutions.

    The difference in reactivity is due to the difference in bonding in the two kinds of oxides. Because of the low electronegativity of the metals at the far left in the periodic table, their oxides are best viewed as containing discrete Mn+ cations and O2− anions. At the other end of the spectrum are nonmetal oxides; due to their higher electronegativities, nonmetals form oxides with covalent bonds to oxygen. Because of the high electronegativity of oxygen, however, the covalent bond between oxygen and the other atom, E, is usually polarized: Eδ+–Oδ−. The atom E in these oxides acts as a Lewis acid that reacts with the oxygen atom of water to produce an oxoacid. Oxides of metals in high oxidation states also tend to be acidic oxides for the same reason: they contain covalent bonds to oxygen. An example of an acidic metal oxide is MoO3, which is insoluble in both water and acid but dissolves in strong base to give solutions of the molybdate ion (MoO42):

    \[MoO_{3(s)} + 2OH^− (aq) \rightarrow MoO^{2−}_{4(aq)} + H_2O (l) \label{17.27}\]

    Figure \(\PageIndex{3}\): Classification of the Oxides of the Main Group Elements According to Their Acidic or Basic Character. There is a gradual transition from basic oxides to acidic oxides from the lower left to the upper right in the periodic table. Oxides of metallic elements are generally basic oxides, which either react with water to form a basic solution or dissolve in aqueous acid. In contrast, oxides of nonmetallic elements are acidic oxides, which either react with water to form an acidic solution or are soluble in aqueous base. Oxides of intermediate character, called amphoteric oxides, are located along a diagonal line between the two extremes. Amphoteric oxides either dissolve in acid to produce water or dissolve in base to produce a soluble complex ion. (Radioactive elements are not classified.)

    As shown in Figure \(\PageIndex{3}\), there is a gradual transition from basic metal oxides to acidic nonmetal oxides as we go from the lower left to the upper right in the periodic table, with a broad diagonal band of oxides of intermediate character separating the two extremes. Many of the oxides of the elements in this diagonal region of the periodic table are soluble in both acidic and basic solutions; consequently, they are called amphoteric oxides (from the Greek ampho, meaning “both,” as in amphiprotic). Amphoteric oxides either dissolve in acid to produce water or dissolve in base to produce a soluble complex. As shown in Video \(\PageIndex{1}\), for example, mixing the amphoteric oxide Cr(OH)3 (also written as Cr2O3•3H2O) with water gives a muddy, purple-brown suspension. Adding acid causes the Cr(OH)3 to dissolve to give a bright violet solution of Cr3+(aq), which contains the [Cr(H2O)6]3+ ion, whereas adding strong base gives a green solution of the [Cr(OH)4] ion. The chemical equations for the reactions are as follows:

    \[\mathrm{Cr(OH)_3(s)}+\mathrm{3H^+(aq)}\rightarrow\underset{\textrm{violet}}{\mathrm{Cr^{3+}(aq)}}+\mathrm{3H_2O(l)} \label{17.28}\]


    Video \(\PageIndex{1}\): Chromium(III) Hydroxide [Cr(OH)3 or Cr2O3•3H2O] is an Example of an Amphoteric Oxide. All three beakers originally contained a suspension of brownish purple Cr(OH)3(s) (center). When concentrated acid (6 M H2SO4) was added to the beaker on the left, Cr(OH)3 dissolved to produce violet [Cr(H2O)6]3+ ions and water. The addition of concentrated base (6 M NaOH) to the beaker on the right caused Cr(OH)3 to dissolve, producing green [Cr(OH)4]ions. For a more complete description, see

    Example \(\PageIndex{2}\)

    Aluminum hydroxide, written as either Al(OH)3 or Al2O3•3H2O, is amphoteric. Write chemical equations to describe the dissolution of aluminum hydroxide in (a) acid and (b) base.

    Given: amphoteric compound

    Asked for: dissolution reactions in acid and base


    Using Equations \(\ref{17.28}\) and \(\ref{17.29}\) as a guide, write the dissolution reactions in acid and base solutions.


    1. An acid donates protons to hydroxide to give water and the hydrated metal ion, so aluminum hydroxide, which contains three OH ions per Al, needs three H+ ions:

    \[Al(OH)_{3(s)} + 3H^+ (aq) \rightarrow Al^{3+} (aq) + 3H_2O (l) \nonumber\]

    In aqueous solution, Al3+ forms the complex ion [Al(H2O)6]3+.

    1. In basic solution, OH is added to the compound to produce a soluble and stable poly(hydroxo) complex:

    \[Al(OH)_{3(s)} + OH^− (aq) \rightarrow [Al(OH)_4]^− (aq) \nonumber\]

    Exercise \(\PageIndex{2}\)

    Copper(II) hydroxide, written as either Cu(OH)2 or CuO•H2O, is amphoteric. Write chemical equations that describe the dissolution of cupric hydroxide both in an acid and in a base.


    \[Cu(OH)_{2(s)} + 2H^+ (aq) \rightarrow Cu^{2+} (aq) + 2H_2O (l) \nonumber\]

    \[Cu(OH)_{2(s)} + 2OH^− (aq) \rightarrow [Cu(OH)_4]^2_{−(aq)} \nonumber\]

    Selective Precipitation Using pH

    Many dissolved metal ions can be separated by the selective precipitation of the cations from solution under specific conditions. In this technique, pH is often used to control the concentration of the anion in solution, which controls which cations precipitate.

    The concentration of anions in solution can often be controlled by adjusting the pH, thereby allowing the selective precipitation of cations.

    Suppose, for example, we have a solution that contains 1.0 mM Zn2+ and 1.0 mM Cd2+ and want to separate the two metals by selective precipitation as the insoluble sulfide salts, ZnS and CdS. The relevant solubility equilbria can be written as follows:

    \[ZnS (s) \rightleftharpoons Zn^{2+} (aq) + S^{2−} (aq) \label{17.30a}\]


    \[K_{sp}= 1.6 \times 10^{−24} \label{17.30b}\]


    \[CdS (s) \rightleftharpoons Cd^{2+} (aq) + S^{2−} (aq) \label{17.31a}\]


    \[K_{sp} = 8.0 \times 10^{−27} \label{17.31b}\]

    Because the S2− ion is quite basic and reacts extensively with water to give HS and OH, the solubility equilbria are more accurately written as \(MS (s) \rightleftharpoons M^{2+} (aq) + HS^− (aq) + OH^−\) rather than \(MS (s) \rightleftharpoons M^{2+} (aq) + S^{2−} (aq) \). Here we use the simpler form involving S2−, which is justified because we take the reaction of S2− with water into account later in the solution, arriving at the same answer using either equilibrium equation.

    The sulfide concentrations needed to cause \(ZnS\) and \(CdS\) to precipitate are as follows:

    \[K_{sp} = [Zn^{2+}][S^{2−}] \label{17.32a}\]

    \[1.6 \times 10^{−24} = (0.0010\; M)[S^{2−}]\label{17.32b}\]

    \[1.6 \times 10^{−21}\; M = [S^{2−}]\label{17.32c}\]


    \[K_{sp} = [Cd^{2+}][S^{2−}] \label{17.33a}\]

    \[8.0 \times 10^{−27} = (0.0010\; M)[S^{2−}]\label{17.33b}\]

    \[8.0 \times 10^{−24}\; M = [S^{2−}] \label{17.33c}\]

    Thus sulfide concentrations between 1.6 × 10−21 M and 8.0 × 10−24 M will precipitate CdS from solution but not ZnS. How do we obtain such low concentrations of sulfide? A saturated aqueous solution of H2S contains 0.10 M H2S at 20°C. The pKa1for H2S is 6.97, and pKa2 corresponding to the formation of [S2−] is 12.90. The equations for these reactions are as follows:

    \[H_2S (aq) \rightleftharpoons H^+ (aq) + HS^− (aq) \label{17.34a}\]


    \[pK_{a1} = 6.97 \; \text{and hence} \; K_{a1} = 1.1 \times 10^{−7} \label{17.34b}\]

    \[HS^− (aq) \rightleftharpoons H^+ (aq) + S^{2−} (aq) \label{17.34c}\]


    \[pK_{a2} = 12.90 \; \text{and hence} \; K_{a2} = 1.3 \times 10^{−13} \label{17.34d}\]

    We can show that the concentration of S2− is 1.3 × 10−13 by comparing Ka1 and Ka2 and recognizing that the contribution to [H+] from the dissociation of HS is negligible compared with [H+] from the dissociation of H2S. Thus substituting 0.10 M in the equation for Ka1 for the concentration of H2S, which is essentially constant regardless of the pH, gives the following:

    \[K_{\textrm{a1}}=1.1\times10^{-7}=\dfrac{[\mathrm{H^+}][\mathrm{HS^-}]}{[\mathrm{H_2S}]}=\dfrac{x^2}{0.10\textrm{ M}}
    \\x=1.1\times10^{-4}\textrm{ M}=[\mathrm{H^+}]=[\mathrm{HS^-}] \label{17.35}\]

    Substituting this value for [H+] and [HS] into the equation for Ka2,

    \[K_{\textrm{a2}}=1.3\times10^{-13}=\dfrac{[\mathrm{H^+}][\mathrm{S^{2-}}]}{[\mathrm{HS^-}]}=\dfrac{(1.1\times10^{-4}\textrm{ M})x}{1.1\times10^{-4}\textrm{ M}}=x=[\mathrm{S^{2-}}]\]

    Although [S2−] in an H2S solution is very low (1.3 × 10−13 M), bubbling H2S through the solution until it is saturated would precipitate both metal ions because the concentration of S2− would then be much greater than 1.6 × 10−21 M. Thus we must adjust [S2−] to stay within the desired range. The most direct way to do this is to adjust [H+] by adding acid to the H2S solution (recall Le Chatelier's principle), thereby driving the equilibrium in Equation \(\ref{17.34d}\) to the left. The overall equation for the dissociation of H2S is as follows:

    \[H_2S (aq) \rightleftharpoons 2H^+ (aq) + S^{2−} (aq) \label{17.36}\]

    Now we can use the equilibrium constant K for the overall reaction, which is the product of Ka1 and Ka2, and the concentration of H2S in a saturated solution to calculate the H+ concentration needed to produce [S2−] of 1.6 × 10−21 M:

    \[K=K_{\textrm{a1}}K_{\textrm{a2}}=(1.1\times10^{-7})(1.3\times10^{-13})=1.4\times10^{-20}=\dfrac{[\mathrm{H^+}]^2[\mathrm{S^{2-}}]}{[\mathrm{H_2S}]} \label{17.37}\]

    \[\begin{align}\mathrm{[H^+]^2}=\dfrac{K[\mathrm{H_2S}]}{[\mathrm{S^{2-}}]}=\dfrac{(1.4\times10^{-20})(\textrm{0.10 M})}{1.6\times10^{-21}\textrm{ M}}&=0.88
    \\ [\mathrm{H^+}]&=0.94\end{align} \label{17.38}\]

    Thus adding a strong acid such as HCl to make the solution 0.94 M in H+ will prevent the more soluble ZnS from precipitating while ensuring that the less soluble CdS will precipitate when the solution is saturated with H2S.

    Example \(\PageIndex{3}\)

    A solution contains 0.010 M Ca2+ and 0.010 M La3+. What concentration of HCl is needed to precipitate La2(C2O4)3•9H2O but not Ca(C2O4)•H2O if the concentration of oxalic acid is 1.0 M? Ksp values are 2.32 × 10−9 for Ca(C2O4) and 2.5 × 10−27 for La2(C2O4)3; pKa1 = 1.25 and pKa2 = 3.81 for oxalic acid.

    Given: concentrations of cations, Ksp values, and concentration and pKa values for oxalic acid

    Asked for: concentration of HCl needed for selective precipitation of La2(C2O4)3


    1. Write each solubility product expression and calculate the oxalate concentration needed for precipitation to occur. Determine the concentration range needed for selective precipitation of La2(C2O4)3•9H2O.
    2. Add the equations for the first and second dissociations of oxalic acid to get an overall equation for the dissociation of oxalic acid to oxalate. Substitute the [ox2] needed to precipitate La2(C2O4)3•9H2O into the overall equation for the dissociation of oxalic acid to calculate the required [H+].


    A Because the salts have different stoichiometries, we cannot directly compare the magnitudes of the solubility products. Instead, we must use the equilibrium constant expression for each solubility product to calculate the concentration of oxalate needed for precipitation to occur. Using ox2 for oxalate, we write the solubility product expression for calcium oxalate as follows:

    \[K_{sp} = [Ca^{2+}][ox^{2−}] = (0.010)[ox^{2−}] = 2.32 \times 10^{−9} \nonumber\]

    \[[ox^{2−}] = 2.32 \times 10^{−7}\; M \nonumber\]

    The expression for lanthanum oxalate is as follows:

    \[K_{sp} = [La^{3+}]^2[ox^{2−}]^3 = (0.010)^2[ox^{2−}]^3 = 2.5 \times 10^{−27} \nonumber\]

    \[[ox^{2−}] = 2.9 \times 10^{−8}\; M \nonumber\]

    Thus lanthanum oxalate is less soluble and will selectively precipitate when the oxalate concentration is between \(2.9 \times 10^{−8} M\) and \(2.32 \times 10^{−7} M\).

    B To prevent Ca2+ from precipitating as calcium oxalate, we must add enough H+ to give a maximum oxalate concentration of 2.32 × 10−7 M. We can calculate the required [H+] by using the overall equation for the dissociation of oxalic acid to oxalate:

    \[HO_2CCO_2H (aq) \rightleftharpoons 2H^+ (aq) + C_2O^{2−}_{4(aq)}\]

    K = Ka1Ka2 = (10−1.25)(10−3.81) = 10−5.06 = 8.7×10−6

    Substituting the desired oxalate concentration into the equilibrium constant expression,

    \[\begin{align}8.7\times10^{-6}=\dfrac{[\mathrm{H^+}]^2[\mathrm{ox^{2-}}]}{[\mathrm{HO_2CCO_2H}]} &= \dfrac{[\mathrm{H^+}]^2(2.32\times10^{-7})}{1.0} \\ [\mathrm{H^+}] &=\textrm{6.1 M}\end{align} \nonumber\]

    Thus adding enough HCl to give [H+] = 6.1 M will cause only La2(C2O4)3•9H2O to precipitate from the solution.

    Exercise \(\PageIndex{3}\)

    A solution contains 0.015 M Fe2+ and 0.015 M Pb2+. What concentration of acid is needed to ensure that Pb2+ precipitates as PbS in a saturated solution of H2S, but Fe2+ does not precipitate as FeS? Ksp values are 6.3 × 10−18 for FeS and 8.0 × 10−28 for PbS.


    0.018 M H+


    The anion in sparingly soluble salts is often the conjugate base of a weak acid that may become protonated in solution, so the solubility of simple oxides and sulfides, both strong bases, often depends on pH. The anion in many sparingly soluble salts is the conjugate base of a weak acid. At low pH, protonation of the anion can dramatically increase the solubility of the salt. Oxides can be classified as acidic oxides or basic oxides. Acidic oxides either react with water to give an acidic solution or dissolve in strong base; most acidic oxides are nonmetal oxides or oxides of metals in high oxidation states. Basic oxides either react with water to give a basic solution or dissolve in strong acid; most basic oxides are oxides of metallic elements. Oxides or hydroxides that are soluble in both acidic and basic solutions are called amphoteric oxides. Most elements whose oxides exhibit amphoteric behavior are located along the diagonal line separating metals and nonmetals in the periodic table. In solutions that contain mixtures of dissolved metal ions, the pH can be used to control the anion concentration needed to selectively precipitate the desired cation.

    Contributors and Attributions

    • Anonymous

    18.7: Solubility and pH is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by LibreTexts.