Calculation of excess reactant volume