Solubility Product (Ksp) Calculator
Convert between Ksp and molar solubility, include the common-ion effect, and check whether mixing two solutions precipitates a salt.
🧂 What is the Solubility Product (Ksp)?
The solubility product constant, written Ksp, is the equilibrium constant for dissolving a sparingly soluble ionic solid in water. When silver chloride sits in water, a tiny amount dissolves into Ag+ and Cl- ions until the solution is saturated. At that point the product of the ion concentrations, each raised to its stoichiometric power, is fixed at a value that depends only on temperature. For AgCl that product is about 1.8 x 10-10, which tells you at a glance that the salt is very slightly soluble.
Ksp is useful wherever dissolved ions meet a solid. Water chemists use it to predict scale formation of calcium carbonate in boilers and pipes. Analytical chemists use it to separate metal ions by selective precipitation, adding a reagent until one salt just starts to form. Geochemists use it for mineral saturation, and pharmacists use it to judge whether a drug salt will crystallise out of a formulation. The same arithmetic also explains why a kidney stone forms, why fluoride toothpaste works, and why a chloride-rich brine barely dissolves silver chloride.
There are a few distinctions worth keeping straight. Ksp is not the same as solubility: solubility is an amount per litre, while Ksp is a product of concentrations whose units depend on the salt. A smaller Ksp does not always mean lower solubility unless the salts share the same ion ratio. Ksp describes only the dissolution equilibrium, so it ignores complex formation, ion pairing and acid-base side reactions that can raise the real solubility. And the common-ion effect never removes a salt from solution completely, it only pushes the equilibrium toward the solid.
This calculator covers the three questions that appear most often. It converts a measured molar solubility into Ksp, it turns a tabulated Ksp into a solubility with or without a common ion, and it compares the ion product Q with Ksp to decide whether mixing two solutions precipitates a salt. Each mode draws a chart so you can see the steep power-law dependence of Ksp on concentration. Because tabulated Ksp values vary by source and temperature, treat every number on this page as approximate and illustrative rather than a laboratory measurement.
📐 Formula
📖 How to Use This Calculator
Three modes
📊 Approximate Ksp Values at 25 C
These textbook-style values are approximate and illustrative. Published tables differ by tens of percent depending on ionic strength and source, so use them to practise, not as reference data.
| Salt | x : y | Approx. Ksp | Approx. s (mol/L) |
|---|---|---|---|
| AgCl | 1 : 1 | 1.8e-10 | 1.3e-5 |
| AgBr | 1 : 1 | 5.4e-13 | 7.3e-7 |
| BaSO4 | 1 : 1 | 1.1e-10 | 1.0e-5 |
| CaCO3 | 1 : 1 | 3.4e-9 | 5.8e-5 |
| CaF2 | 1 : 2 | 3.9e-11 | 2.1e-4 |
| Mg(OH)2 | 1 : 2 | 5.6e-12 | 1.1e-4 |
| Ca3(PO4)2 | 3 : 2 | 2e-33 | 1.1e-7 |
💡 Example Calculations
Example 1 - Ksp of silver chloride from its solubility
AgCl (x = 1, y = 1), s = 1.34e-5 mol/L (approximate), molar mass 143.32 g/mol
Example 2 - Ksp of calcium fluoride (a 1:2 salt)
CaF2 (x = 1, y = 2), s = 2.1e-4 mol/L (illustrative)
Example 3 - Silver chloride in 0.10 mol/L chloride
AgCl, Ksp = 1.8e-10 (approximate), common anion at 0.10 mol/L
Example 4 - Does calcium fluoride precipitate?
CaF2, Ksp = 3.9e-11 (approximate), [Ca] = 1.0e-3 mol/L, [F] = 1.0e-3 mol/L after mixing
❓ Frequently Asked Questions
📚 Sources and Notes
The definitions follow the LibreTexts chapters on the solubility of slightly soluble salts and solubility equilibria and the solubility product constant, and the Q versus K comparison follows The Reaction Quotient. The Ksp values and solubilities in the table and examples are rounded, approximate and illustrative, not measurements for your system.
See also the reaction quotient calculator, the Le Chatelier shift predictor and the van't Hoff equation calculator for the temperature dependence of Ksp.
🔗 Related Calculators
What is the solubility product constant Ksp?
Ksp is the equilibrium constant for dissolving a sparingly soluble ionic solid. For AxBy(s) = x A + y B it equals [A]^x [B]^y at saturation. The solid does not appear in the expression, and a smaller Ksp means a less soluble salt when salts of the same formula type are compared.
How do you calculate Ksp from molar solubility?
Write the dissolution equation, express each ion concentration through s, and substitute. For AgCl, [Ag] = [Cl] = s so Ksp = s^2. For CaF2, [Ca] = s and [F] = 2s so Ksp = 4 s^3. A solubility of 1.34e-5 mol/L for AgCl gives Ksp = 1.796e-10.
How do you find molar solubility from Ksp?
Invert the Ksp expression: s = (Ksp / (x^x y^y))^(1/(x+y)). For AgCl with Ksp = 1.8e-10 this gives s = 1.342e-5 mol/L. For a 1:2 salt such as Mg(OH)2 divide by 4 and take the cube root.
What is the common-ion effect on solubility?
Adding an ion that the salt already releases shifts the dissolution equilibrium toward the solid, which lowers solubility. AgCl in 0.10 mol/L chloride dissolves only to about 1.8e-9 mol/L instead of 1.34e-5 mol/L, a drop of roughly 7,450 times.
How do you tell whether a precipitate will form?
Compute the ion product Q = [A]^x [B]^y using the concentrations right after mixing and compare it with Ksp. If Q is greater than Ksp, a precipitate forms. If Q is less than Ksp, the solution is unsaturated. If Q equals Ksp, the solution is just saturated.
Does a smaller Ksp always mean lower solubility?
Only when comparing salts with the same stoichiometry. A 1:1 salt has s = sqrt(Ksp) and a 1:2 salt has s = (Ksp/4)^(1/3), so a 1:2 salt with a slightly larger Ksp can still be less soluble in mol/L than a 1:1 salt. Always convert to solubility before ranking.
Why does the solubility of some salts depend on pH?
Basic anions such as hydroxide, carbonate, fluoride and phosphate react with acid, which removes the anion from the equilibrium and pulls more solid into solution. Ksp itself does not change with pH, but the measured solubility does. This calculator ignores side reactions of the ions.
Does Ksp change with temperature?
Yes. Ksp is an equilibrium constant, so it follows the van't Hoff equation and shifts with the dissolution enthalpy. Most salts become more soluble when heated, but a few, such as calcium sulfate over some ranges, become less soluble. Quote the temperature (usually 25 C) with every Ksp.
What is the difference between solubility in g/L and molar solubility?
Molar solubility s is in mol/L and is what the Ksp expression needs. Multiply s by the molar mass in g/mol to get g/L. AgCl at 1.34e-5 mol/L and 143.32 g/mol is about 1.92e-3 g/L, which is roughly 2 mg per litre.
At what concentration does precipitation begin?
Set Q equal to Ksp and solve for the ion you are adding. For CaF2 with Ksp = 3.9e-11 and 1.0e-3 mol/L calcium, fluoride must reach (3.9e-11 / 1.0e-3)^(1/2) = 1.975e-4 mol/L before solid appears.