Calculate Molar Solubility Given Ksp and pH
Use this premium calculator to estimate the molar solubility of a metal hydroxide in a solution of known pH. Enter the solubility product constant, choose the hydroxide stoichiometry, and the tool will solve the equilibrium numerically and chart how solubility changes across the pH scale.
Calculator Inputs
Optional label used in the result summary and chart title.
Enter the solubility product at 25 degrees Celsius.
For this calculator, pOH = 14 – pH is assumed.
Choose the number of hydroxide ions released per formula unit.
Controls how many significant digits are shown in the result.
Calculated Result
The tool will show the exact numerical solubility, the initial hydroxide concentration, and a comparison to the pure-water solubility estimate.
How to Calculate Molar Solubility Given Ksp and pH
Molar solubility is the number of moles of a compound that dissolve per liter of solution at equilibrium. When you are dealing with a sparingly soluble salt such as a metal hydroxide, the equilibrium can be strongly influenced by pH. That is why students, laboratory analysts, and engineering professionals often need a specific method to calculate molar solubility given Ksp and pH rather than using a simple pure-water approximation.
The key idea is that pH controls the concentration of hydrogen ions and, through the water ionization relationship, the concentration of hydroxide ions. If the solid you are dissolving releases hydroxide, then a solution that already contains hydroxide will suppress dissolution. This is the common ion effect in action. A high-pH solution already has abundant OH-, so a hydroxide solid such as Mg(OH)2 or Fe(OH)3 generally becomes less soluble as pH rises. In contrast, acidic conditions can increase its solubility because hydrogen ions consume hydroxide and pull the dissolution equilibrium forward.
This calculator focuses on hydroxides of the form M(OH)n. That is one of the most common real-world use cases because pH directly affects the equilibrium expression. If you are reviewing the underlying chemistry, the USGS overview of pH and water is a helpful .gov reference, while the University of Wisconsin discussion of solubility equilibria provides a concise .edu explanation of how pH shifts solubility.
The Core Equilibrium Relationship
For a hydroxide written as M(OH)n(s), the dissolution equilibrium is:
M(OH)n(s) ⇌ Mn+(aq) + nOH-(aq)
The solubility product is:
Ksp = [Mn+][OH-]n
If the molar solubility is s, then the metal ion concentration at equilibrium is usually [Mn+] = s. However, the hydroxide concentration is not simply ns when the solution already has a known pH. Instead, the initial hydroxide already present must be included:
[OH-]eq = [OH-]initial + ns
At 25 degrees Celsius, pH and pOH are related by:
pH + pOH = 14
So the initial hydroxide concentration is:
[OH-]initial = 10-(14 – pH)
Substituting into the Ksp expression gives the working equation:
Ksp = s([OH-]initial + ns)n
For n = 1, this can be solved with a quadratic expression. For n = 2 or n = 3, exact algebra becomes less convenient in practical problem solving, so a numerical method is often cleaner and more reliable. That is exactly what the calculator above does.
Step-by-Step Method
- Write the dissolution equation. Example: Ca(OH)2(s) ⇌ Ca2+ + 2OH-.
- Write the Ksp expression. For calcium hydroxide, Ksp = [Ca2+][OH-]2.
- Convert pH to pOH. If pH = 12.00, then pOH = 2.00.
- Find the initial hydroxide concentration. [OH-] = 10^-2 = 0.0100 M.
- Set up the equilibrium concentration relation. If the molar solubility is s, then [Ca2+] = s and [OH-] = 0.0100 + 2s.
- Substitute into the Ksp equation. Ksp = s(0.0100 + 2s)2.
- Solve for s. In many real cases, a numerical solver is the fastest path.
- Check your approximation. If the background hydroxide concentration is much larger than ns, you may simplify [OH-]eq to [OH-]initial.
When Is the Approximation Valid?
In introductory chemistry, you often see the approximation:
s ≈ Ksp / [OH-]initialn
This works well only when the hydroxide already in solution is much larger than the hydroxide added by dissolution. In other words, the approximation is valid when [OH-]initial >> ns. If that condition is not met, the estimate may be substantially wrong, especially at moderate pH values where the dissolved solid itself contributes a meaningful fraction of the hydroxide.
For example, if pH is only slightly basic, the equilibrium hydroxide may still be dominated by dissolution rather than by the starting solution. In such cases, using the exact numerical method is the safer choice.
Worked Example
Suppose you want to estimate the molar solubility of Mg(OH)2 in a solution of pH 11.0, using a representative Ksp of 5.61 × 10^-12 at 25 degrees Celsius.
- Dissolution: Mg(OH)2(s) ⇌ Mg2+ + 2OH-
- Ksp expression: Ksp = [Mg2+][OH-]2
- Convert pH to pOH: pOH = 14 – 11 = 3
- Initial hydroxide: [OH-]initial = 10^-3 = 0.001 M
- Set up equation: 5.61 × 10^-12 = s(0.001 + 2s)2
If you use the approximation and assume 0.001 >> 2s, then:
s ≈ (5.61 × 10^-12) / (0.001)2 = 5.61 × 10^-6 M
The exact numerical answer is very close because the background hydroxide is indeed much larger than the hydroxide contributed by dissolution. This illustrates why high-pH conditions can dramatically reduce the solubility of metal hydroxides.
Comparison Table: Common Hydroxides and Typical Ksp Values
The table below shows representative 25 degree Celsius Ksp values often used in general chemistry. Exact values can vary slightly by source and temperature, so always check the constant set assigned by your textbook, instructor, or laboratory reference.
| Compound | Dissolution Form | Representative Ksp | n in M(OH)n | Approximate Pure-Water Solubility |
|---|---|---|---|---|
| Ca(OH)2 | Ca2+ + 2OH- | 5.5 × 10^-6 | 2 | 0.011 M |
| Mg(OH)2 | Mg2+ + 2OH- | 5.61 × 10^-12 | 2 | 0.0011 M |
| Fe(OH)3 | Fe3+ + 3OH- | 2.79 × 10^-39 | 3 | 8.9 × 10^-11 M |
| AgOH | Ag+ + OH- | 1.52 × 10^-8 | 1 | 1.23 × 10^-4 M |
How pH Changes Solubility: Real Numerical Comparison
Using Mg(OH)2 with Ksp = 5.61 × 10^-12, we can see how rapidly molar solubility drops as pH rises. At high pH, the approximate relation s ≈ Ksp / [OH-]2 becomes increasingly accurate because the background hydroxide dominates.
| pH | pOH | Initial [OH-] (M) | Approximate Solubility of Mg(OH)2 (M) | Interpretation |
|---|---|---|---|---|
| 11 | 3 | 1.0 × 10^-3 | 5.61 × 10^-6 | Greatly suppressed versus pure water |
| 12 | 2 | 1.0 × 10^-2 | 5.61 × 10^-8 | About 100 times lower than at pH 11 |
| 13 | 1 | 1.0 × 10^-1 | 5.61 × 10^-10 | Extremely low due to strong common ion effect |
Why the pH Effect Is So Strong
The mathematical reason is simple but powerful. In the Ksp expression for a dihydroxide, hydroxide concentration is squared. For a trihydroxide, it is cubed. That means each tenfold increase in hydroxide concentration can reduce solubility by about one hundredfold for M(OH)2 and about one thousandfold for M(OH)3, provided the common ion approximation holds. This is one reason metal hydroxides are frequently precipitated in analytical chemistry and wastewater treatment by adjusting pH.
Practical Uses of This Calculation
- General chemistry coursework: Solubility equilibrium, pH, and common ion effect problems.
- Analytical chemistry: Predicting precipitation windows for selective separations.
- Environmental chemistry: Estimating dissolved metal concentrations as pH changes.
- Water treatment: Understanding why some metals precipitate at alkaline pH.
- Pharmaceutical and materials science: Evaluating sparingly soluble ionic solids in buffered systems.
Important Assumptions and Limitations
No calculator is complete without discussing assumptions. The method here is excellent for textbook-style equilibrium problems, but real systems can be more complicated.
- Temperature is assumed to be 25 degrees Celsius. Since pKw and many Ksp values vary with temperature, changing temperature will shift the answer.
- Activity effects are ignored. At higher ionic strengths, concentrations and activities are not identical, so measured behavior may depart from ideal calculations.
- No complex ion formation is included. Some metal ions form hydroxo complexes or ligand complexes that can increase dissolved concentration.
- No competing acid-base chemistry beyond pH and pOH is modeled. Buffered systems or amphoteric solids may require a more advanced treatment.
- No mass-balance constraints from finite solid amount are included. The result is an equilibrium molar solubility, assuming excess solid is present.
Common Mistakes to Avoid
- Using pH directly as hydroxide concentration. Always convert pH to pOH first.
- Forgetting stoichiometry. M(OH)3 releases three hydroxide ions per dissolved formula unit.
- Applying the common ion approximation when it is not justified.
- Using the wrong Ksp value for the compound or temperature.
- Ignoring whether pH increases or decreases solubility depending on the ions involved.
Exact vs Approximate Solubility Calculations
The exact calculation solves the full equation:
Ksp = s([OH-]initial + ns)n
The approximate calculation assumes the existing hydroxide concentration dominates:
s ≈ Ksp / [OH-]initialn
In classroom settings, teachers often ask for the approximation first because it reveals the structure of the common ion effect. In research, process, or design work, the numerical method is preferred because it is more robust. If you are learning the topic in detail, the Purdue Chemistry solubility product guide is a useful .edu resource for reviewing equilibrium setup and interpretation.
Final Takeaway
To calculate molar solubility given Ksp and pH, you must account for the hydroxide already present in solution. For hydroxides of the form M(OH)n, the governing equation is Ksp = s([OH-]initial + ns)n. That single relationship combines equilibrium chemistry, stoichiometry, and acid-base concepts. As pH rises, hydroxide concentration rises, the common ion effect becomes stronger, and the molar solubility of many metal hydroxides drops sharply.
The calculator above automates the math, provides an exact numerical answer, and graphs solubility versus pH so you can immediately see how sensitive the system is to solution conditions. It is ideal for students checking homework, instructors building examples, and professionals estimating pH-dependent dissolution behavior quickly.