Calculation of Substance Amount