Calculate Molar Solubility from Ksp and pH
Use this premium calculator to estimate the molar solubility of sparingly soluble metal hydroxides, written as M(OH)n, from a known Ksp and solution pH. The tool uses either an exact numerical solution or a fast approximation, then visualizes how solubility changes across the full pH scale.
Solubility Calculator
Solubility vs pH Chart
The chart plots predicted molar solubility from pH 0 to 14 for the entered Ksp and stoichiometry. Lower pH often increases hydroxide solubility because H+ removes OH– from solution, reducing the common ion effect.
- Higher pH means higher initial [OH-].
- More OH- in solution usually suppresses dissolution of metal hydroxides.
- At low pH, the solubility can increase by many orders of magnitude.
Expert Guide: How to Calculate Molar Solubility from Ksp and pH
Calculating molar solubility from Ksp and pH is one of the most important applications of equilibrium chemistry. It combines solubility product concepts, acid base relationships, and common ion effects into one problem. If you can connect these ideas, you can predict whether a sparingly soluble solid becomes more soluble in acidic media, less soluble in basic media, or barely changes at all. This matters in general chemistry courses, analytical chemistry, water treatment, geochemistry, pharmaceutical formulation, and environmental monitoring.
For many textbook and laboratory problems, the most common pH dependent solids are metal hydroxides such as Mg(OH)2, Ca(OH)2, Al(OH)3, and Fe(OH)3. These compounds dissolve according to an expression that includes OH–. Because pH determines pOH, and pOH determines [OH–], pH directly affects the equilibrium position. That is exactly why a calculator like the one above is useful: it turns a pH reading and a Ksp value into a numerical estimate of molar solubility.
What molar solubility means
Molar solubility is the number of moles of a solid that dissolve per liter of solution at equilibrium. We usually represent it with the symbol s. If a salt dissolves according to a known stoichiometric equation, each ion concentration can be written in terms of s. Once those concentrations are substituted into the Ksp expression, the equilibrium constant can be used to solve for s.
For a simple 1:1 salt AB(s) ⇌ A+ + B–, the relationship is straightforward: Ksp = s2, so s = √Ksp. However, when pH enters the problem, the ion concentrations are no longer controlled only by the dissolution stoichiometry. The surrounding solution already contains H+ and OH–, and these species can strongly shift the equilibrium.
Why pH changes solubility
pH matters because it sets the concentration of hydrogen ions, and through water autoionization it also sets the concentration of hydroxide ions. At 25 C, pH + pOH = 14.00. So if pH = 10, then pOH = 4 and [OH–] = 10-4 M. If pH = 4, then pOH = 10 and [OH–] = 10-10 M. That is a million fold difference in hydroxide concentration, enough to dramatically change the solubility of a hydroxide salt.
This is a classic common ion effect. If the solid already releases OH– when it dissolves, then adding more OH– from the solution suppresses dissolution. Removing OH–, or keeping it very low by using acidic conditions, allows more of the solid to dissolve.
| pH | pOH | [H+] at 25 C | [OH–] at 25 C | Practical implication for metal hydroxides |
|---|---|---|---|---|
| 4 | 10 | 1.0 × 10-4 M | 1.0 × 10-10 M | Usually much higher solubility |
| 7 | 7 | 1.0 × 10-7 M | 1.0 × 10-7 M | Moderate baseline for neutral water |
| 10 | 4 | 1.0 × 10-10 M | 1.0 × 10-4 M | Often lower solubility due to common OH- |
| 12 | 2 | 1.0 × 10-12 M | 1.0 × 10-2 M | Strong suppression of many hydroxides |
The key equation for M(OH)n salts
For a metal hydroxide written as M(OH)n, the dissolution reaction is:
M(OH)n(s) ⇌ Mn+(aq) + nOH–(aq)
The solubility product expression is:
Ksp = [Mn+][OH–]n
If the initial hydroxide concentration from pH is [OH–]initial, and the molar solubility is s, then at equilibrium:
- [Mn+] = s
- [OH–] = [OH–]initial + ns
Substituting these into the Ksp expression gives:
Ksp = s([OH–]initial + ns )n
This is the most complete expression for calculating solubility from Ksp and pH for metal hydroxides. In many real cases, especially at moderate or high pH, students use the approximation [OH–]initial >> ns. Then the equation simplifies to:
s ≈ Ksp / [OH–]initialn
That approximation is fast, but it is not always valid. The calculator above offers both the approximation and an exact numerical solution so you can compare them.
Step by step method to calculate molar solubility from Ksp and pH
- Write the dissolution reaction for the solid.
- Write the correct Ksp expression from the stoichiometry.
- Convert pH to pOH using pOH = 14.00 – pH at 25 C.
- Convert pOH to hydroxide concentration using [OH–] = 10-pOH.
- Define s as the molar solubility and express equilibrium concentrations in terms of s.
- Substitute those concentrations into the Ksp expression.
- Solve exactly, or apply a justified approximation if the common ion concentration dominates.
- Check whether the result is chemically reasonable for the given pH.
Worked concept example
Suppose you have a metal hydroxide with Ksp = 5.61 × 10-12 and formula M(OH)2 in a solution at pH 10.5. First convert pH to pOH:
pOH = 14.0 – 10.5 = 3.5
So the initial hydroxide concentration is:
[OH–]initial = 10-3.5 = 3.16 × 10-4 M
Because the compound is M(OH)2, the exact equation is:
Ksp = s(3.16 × 10-4 + 2s)2
Solving that equation gives the molar solubility. If you use the approximation that 2s is small compared with 3.16 × 10-4, then:
s ≈ 5.61 × 10-12 / (3.16 × 10-4)2 = 5.61 × 10-5 M
The exact answer will usually be close if the approximation is justified, but at lower pH values the amount of OH– generated by dissolution may no longer be negligible. That is where exact numerical solving becomes important.
Comparison table: how Ksp and pH combine in real examples
The table below uses representative literature style Ksp values at 25 C for several hydroxides. The predicted solubility values are approximate and shown to illustrate how strongly pH can change equilibrium concentration. Even when Ksp values are all small, the resulting molar solubilities can differ by many orders of magnitude.
| Compound | Representative Ksp | Stoichiometry | Approx. molar solubility at pH 7 | Approx. molar solubility at pH 12 |
|---|---|---|---|---|
| Ca(OH)2 | 5.02 × 10-6 | M(OH)2 | 1.08 × 10-2 M | 5.02 × 10-2 M |
| Mg(OH)2 | 5.61 × 10-12 | M(OH)2 | 1.12 × 10-4 M | 5.61 × 10-8 M |
| Zn(OH)2 | 3.00 × 10-17 | M(OH)2 | 1.96 × 10-6 M | 3.00 × 10-13 M |
| Fe(OH)3 | 2.79 × 10-39 | M(OH)3 | 1.01 × 10-10 M | 2.79 × 10-33 M |
One subtle point appears in the calcium hydroxide row. Because Ca(OH)2 is relatively more soluble than many transition metal hydroxides, the approximation based only on initial [OH–] can become less reliable in some pH ranges. This highlights a key lesson: the common ion approximation is helpful, but not universal. Exact methods are safer when you are unsure.
When the approximation works and when it fails
The approximation s ≈ Ksp / [OH–]n works best when the OH– already present from the solution is much larger than the OH– produced by dissolving the solid. In practical terms, if ns is far smaller than [OH–]initial, the approximation is usually acceptable. If not, the exact expression must be solved.
- Approximation usually good: strongly basic solution, low Ksp, small resulting s.
- Approximation often weak: near neutral or acidic pH, or whenever the salt dissolves enough to add significant OH-.
- Exact solution preferred: exam problems that ask for precision, design calculations, environmental modeling, and all borderline cases.
Common mistakes students make
- Using pH directly as [H+] without converting from logarithmic form.
- Forgetting that pH determines pOH, which determines [OH–] for hydroxide salts.
- Ignoring stoichiometry, especially for M(OH)2 and M(OH)3.
- Using Ksp = s2 for every compound, even when the coefficients are not 1 and 1.
- Applying the common ion approximation without checking whether ns is actually small.
- Reporting the solubility with no units. Molar solubility should be reported in mol/L or M.
Why this calculation matters outside the classroom
Molar solubility from Ksp and pH has practical value in several fields. In water treatment, metals may precipitate as hydroxides when pH is adjusted upward. In environmental chemistry, pH controls whether metals remain dissolved or settle into sediments. In analytical chemistry, selective precipitation depends on the concentration at which a solid first begins to form. In biochemistry and pharmaceutical science, pH can influence how mineral phases dissolve or persist in a formulation or biological fluid.
If you want background on pH in natural waters and environmental systems, the U.S. Geological Survey overview of pH and water is a strong starting point. The U.S. Environmental Protection Agency discussion of alkalinity, pH, and pe is also useful for understanding how pH interacts with broader water chemistry. For thermodynamic reference data and chemical property context, the NIST Chemistry WebBook remains an authoritative federal resource.
Best practices for accurate results
- Use the correct Ksp for the temperature of interest, because equilibrium constants vary with temperature.
- Confirm the exact dissolution stoichiometry before setting up the expression.
- Check whether pH is fixed externally or altered by dissolution, especially in poorly buffered systems.
- Use exact numerical solutions when the approximation looks questionable.
- Keep significant figures realistic, especially when Ksp spans many orders of magnitude.
Final takeaway
To calculate molar solubility from Ksp and pH, you must connect equilibrium chemistry with acid base chemistry. For hydroxide salts, start by converting pH to [OH–], then insert that concentration into the Ksp expression with the correct stoichiometry. In strongly basic media, the common ion effect usually decreases solubility. In acidic media, solubility often rises because OH– is effectively removed from the equilibrium. The exact equation, Ksp = s([OH–]initial + ns )n, is the most dependable framework and is what this calculator is designed to solve.