The solubility of a compound affects the equilibrium constant of chemical reactions involving the compound.