Molar solubility and mass calculation