Ksp Calculator
Calculate Ksp, molar solubility (s), and common-ion adjusted solubility for salts of the form AmBn.
AmBn(s) ⇌ mA + nB, Ksp = [A]m[B]n
What is Ksp, and why use a Ksp calculator?
Ksp (the solubility product constant) tells you how much of a sparingly soluble ionic compound dissolves in water at equilibrium. In practical terms, it helps you predict whether a salt will dissolve, remain mostly solid, or precipitate when ions are mixed.
A good Ksp calculator saves time and avoids algebra mistakes by quickly connecting three common chemistry tasks:
- Finding Ksp from measured molar solubility
- Finding molar solubility from a known Ksp
- Estimating solubility in the presence of common ions
How this calculator works
1) Stoichiometry matters
For a generic salt AmBn, each mole dissolved produces m moles of cation A and n moles of anion B. If molar solubility is s, then:
- [A] = m·s
- [B] = n·s
So, Ksp = (m·s)m(n·s)n.
2) Solving for molar solubility (no common ion)
Rearranging gives:
s = (Ksp / (mmnn))1/(m+n)
The calculator applies this directly when no initial ions are present.
3) Solving with common ions
If solution already contains A or B ions, equilibrium becomes:
Ksp = ([A]0 + m·s)m([B]0 + n·s)n
This usually cannot be rearranged neatly, so the calculator uses a numerical method (bisection) to solve for s.
Step-by-step usage guide
- Select calculation type.
- Enter stoichiometric coefficients m and n.
- Provide either s or Ksp, depending on mode.
- If using common-ion mode, add initial concentrations [A]0 and [B]0.
- Click Calculate to view the result and equilibrium concentrations.
Worked examples
Example A: find Ksp from solubility
Suppose AB dissolves with s = 1.0 × 10-4 M and m = n = 1. Then Ksp = (1·s)1(1·s)1 = s2 = 1.0 × 10-8.
Example B: find solubility from Ksp
For AB with Ksp = 9.0 × 10-10, s = √Ksp = 3.0 × 10-5 M.
Example C: common-ion effect
If AB has Ksp = 1.0 × 10-10 and initial [A] = 0.010 M, [B] = 0, added A suppresses dissolution. Solubility drops dramatically compared with pure water. The calculator estimates that reduced value numerically.
Common mistakes to avoid
- Using stoichiometric coefficients incorrectly (especially 2:1 or 3:2 salts)
- Forgetting exponents in the Ksp expression
- Ignoring units (concentrations should be in mol/L)
- Treating Ksp as changing with concentration (it is constant at a fixed temperature)
- Confusing Q and Ksp when diagnosing precipitation
Quick FAQ
Does this include activity coefficients?
No. This is an ideal-solution approximation using concentrations. For high ionic strength solutions, activity corrections may be needed.
Can I use scientific notation?
Yes. Inputs like 3.2e-6 are supported.
What if the calculator returns s = 0 in common-ion mode?
That means the initial ion concentrations already satisfy or exceed the solubility condition, so no additional solid is expected to dissolve.