Calculation of reactant consumption