Solubility from Ksp and pH Calculator
Estimate the molar solubility of a sparingly soluble metal hydroxide in water at a specified pH. This calculator numerically solves the Ksp expression, shows the effect of hydroxide concentration, and plots solubility across the full pH scale.
Expert Guide to Calculating Solubility from Ksp and pH
Calculating solubility from Ksp and pH is one of the most practical equilibrium skills in general chemistry, analytical chemistry, environmental science, and materials chemistry. The idea is simple: a sparingly soluble ionic solid dissolves until the ionic concentrations satisfy its solubility product constant, Ksp. When pH is involved, however, the system becomes more interesting because the hydrogen ion concentration controls the hydroxide ion concentration, and that can strongly increase or suppress dissolution. In many laboratory and industrial cases, changing pH by only a few units changes solubility by orders of magnitude.
This calculator focuses on hydroxide salts, which are among the most common systems where pH directly affects solubility. For a generic metal hydroxide written as M(OH)n, the dissolution reaction is:
The corresponding solubility product expression is:
If the molar solubility is s, then the dissolved metal ion concentration is [Mn+] = s. If pure water is the solvent and no strong acid or base is present, the hydroxide concentration contributed by dissolution is n s. But if the solution already has a known pH, there is a starting hydroxide concentration from the acid-base equilibrium of water. At 25 C, that relationship is:
In a buffered or strongly basic solution, the initial hydroxide level can dominate the equilibrium. In that case, the common ion effect suppresses dissolution. In acidic conditions, hydroxide is consumed by hydrogen ions, which tends to increase the apparent solubility of the hydroxide solid. That is why many metal hydroxides are much more soluble at low pH than at high pH.
Why Ksp Alone Is Not Enough
A common student mistake is to think Ksp gives one fixed solubility value. In reality, Ksp is fixed at a given temperature, but the solubility may change if one of the ions in the equilibrium is already present or is removed by another reaction. pH matters because it changes the concentration of hydroxide ions. If your sparingly soluble solid releases OH-, then any increase in [OH-] shifts the dissolution equilibrium toward the solid, reducing solubility. This is a classic Le Chatelier effect and one of the most important applications of equilibrium theory.
- Low pH: lower [OH-], generally higher solubility for hydroxides.
- Neutral pH: moderate [OH-], intermediate solubility.
- High pH: higher [OH-], much lower solubility because of the common ion effect.
Exact Method for Solubility Calculation
For a metal hydroxide M(OH)n, the most accurate way to calculate solubility at a known pH is to use the exact equation:
Here:
- s = molar solubility in mol/L
- [OH-]initial = hydroxide concentration from pH before dissolution begins
- n = number of hydroxide ions released per formula unit
Because s appears both outside and inside the exponent term, many real cases require a numerical solution rather than a simple algebraic shortcut. This page does exactly that. The script tests values of s and converges on the physically meaningful root. That gives a more reliable result than the common approximation used in introductory chemistry, especially when the hydroxide supplied by dissolution is not negligible compared with the hydroxide already present in solution.
Approximation Versus Exact Solution
If the solution is strongly basic and the added hydroxide concentration is much larger than the hydroxide released by the dissolving solid, then you may use the approximation:
This shortcut is useful for quick estimates, but it can fail near neutral pH or for salts with relatively larger solubility. In those cases, an exact numerical solution is more defensible because it includes the hydroxide generated by dissolution itself.
Worked Conceptual Example
Suppose you have a hydroxide with Ksp = 5.61 x 10-12 and the dissolution model is M(OH)2. At pH 10.5, the pOH is 3.5, so the initial hydroxide concentration is about 3.16 x 10-4 M. The equilibrium expression becomes:
If the solution is fairly basic, 2s is often small relative to 3.16 x 10-4, so the approximate result is:
The exact answer will be close, but not always identical. That small difference matters in high-precision work, especially in analytical chemistry, geochemistry, and water treatment design.
Real Data: Typical Ksp Values for Selected Hydroxides at 25 C
The table below gives commonly cited approximate Ksp values at 25 C for several metal hydroxides. Published values can vary slightly by source and ionic strength assumptions, so always use the value specified in your textbook, lab manual, or data sheet.
| Compound | Dissolution Model | Approximate Ksp at 25 C | General Solubility Trend |
|---|---|---|---|
| Mg(OH)2 | M(OH)2 | 5.6 x 10-12 | Very low in basic media, higher in acid |
| Ca(OH)2 | M(OH)2 | 5.0 x 10-6 | Much more soluble than Mg(OH)2 |
| Fe(OH)3 | M(OH)3 | 2.8 x 10-39 | Extremely insoluble near neutral and basic pH |
| Al(OH)3 | M(OH)3 | About 1 x 10-33 | Very low simple Ksp, but amphoteric behavior can matter |
These values show why pH control is so powerful. A trivalent hydroxide with a tiny Ksp becomes almost nonexistent in solution at moderate to high pH, while a more soluble hydroxide can still maintain meaningful dissolved concentrations under similar conditions.
How pH Changes Hydroxide Concentration
At 25 C, pH and pOH are linked by pH + pOH = 14. Therefore, each unit increase in pH makes [OH-] ten times larger. Since hydroxide concentration enters the Ksp expression as a power, the effect on solubility can be dramatic. For M(OH)2, solubility is approximately inversely proportional to [OH-]2 under strong common-ion conditions. That means a one-unit increase in pH can reduce solubility by about a factor of 100. For M(OH)3, the suppression can be closer to a factor of 1000 per pH unit.
| pH | pOH | [OH-] in mol/L | Relative Solubility Trend for M(OH)2 |
|---|---|---|---|
| 7 | 7 | 1.0 x 10-7 | Baseline reference |
| 8 | 6 | 1.0 x 10-6 | About 100 times lower than pH 7 if common ion dominates |
| 9 | 5 | 1.0 x 10-5 | About 10,000 times lower than pH 7 |
| 10 | 4 | 1.0 x 10-4 | About 1,000,000 times lower than pH 7 |
| 11 | 3 | 1.0 x 10-3 | About 100,000,000 times lower than pH 7 |
This table is especially useful because it translates abstract equilibrium constants into physically intuitive changes. For divalent hydroxides, pH is not just a minor correction. It can determine whether a compound remains dissolved, precipitates rapidly, or serves as an effective scavenger in wastewater treatment.
Step-by-Step Procedure
- Write the dissolution equation for the solid.
- Write the Ksp expression using dissolved ions only.
- Convert pH to pOH using pOH = 14 – pH.
- Convert pOH to hydroxide concentration: [OH-] = 10-pOH.
- Let solubility be s, then write total hydroxide as [OH-]initial + n s.
- Substitute into Ksp = s([OH-]initial + n s)n.
- Solve exactly, or use an approximation if justified.
- Check whether the result is chemically reasonable.
When the Calculator Is Most Reliable
This tool is ideal for generic metal hydroxides in dilute aqueous systems where the dominant pH effect comes from the hydroxide ion. That covers many educational examples and many practical engineering approximations. It is especially useful for:
- General chemistry homework and exam preparation
- Analytical chemistry precipitation calculations
- Introductory geochemistry and environmental chemistry estimates
- Water treatment design screening calculations
- Comparing pH-dependent precipitation windows
Important Limitations
Not every real system can be reduced to a simple Ksp-plus-pH expression. Some metal ions hydrolyze, form complexes, or become amphoteric. Aluminum, zinc, chromium, and lead are classic examples where solubility may decrease over one pH range and increase again at very high pH because new dissolved hydroxo complexes form. Ionic strength, temperature, dissolved carbon dioxide, and competing ligands can also shift the observed solubility away from the ideal model.
Therefore, if you are working on research-grade calculations or regulated process design, use activity corrections, speciation software, and temperature-specific data. The present calculator is best viewed as a rigorous instructional model for non-complexing hydroxide systems.
Practical Applications
Understanding how to calculate solubility from Ksp and pH has real-world value. In drinking water and wastewater treatment, pH is adjusted to precipitate undesirable metals. In soil chemistry, mineral dissolution and precipitation influence nutrient availability. In pharmaceutical science, pH-dependent solubility affects formulation and bioavailability. In corrosion and surface finishing, local pH changes can trigger oxide or hydroxide deposition. Across all these fields, equilibrium calculations guide process choices.
Authoritative Learning Resources
If you want to go deeper, consult these reliable educational and reference sources:
- Chemistry LibreTexts for equilibrium and solubility product tutorials
- NIST for standards, reference data, and measurement guidance
- USGS for water chemistry, pH, and environmental geochemistry context
- MIT OpenCourseWare for university-level chemistry instruction
Final Takeaway
The core principle is straightforward: Ksp defines the equilibrium limit, while pH changes hydroxide concentration and therefore shifts where that equilibrium lands. For hydroxide salts, increasing pH usually suppresses solubility dramatically. The mathematically correct expression is Ksp = s([OH-]initial + n s)n, and solving that equation gives the true molar solubility under the chosen conditions. Use the calculator above to get an exact numerical result, compare that with an approximation, and visualize how solubility changes over the entire pH range.