From our understanding of solubility rules and solubility product constant, we can predict whether a precipitate will form when we mix two solutions or add a soluble compound to a solution.
Where Q is the ion product (almost the same as the reaction quotient, Qc). It represents the product of the molar concentrations of the ions raised to the power of their stoichiometric coefficients.