Finding moles with a solubility curve