When the product of the ion concentrations (the ionic product) exceeds the equilibrium constant for solubility (the solubility product, Ksp), the solution is supersaturated and precipitation will occur to restore equilibrium.