Determination and explanation of solubility