Calculation of the amount of reactants or products involved in a chemical reaction that produces or consumes gases.