The mass of one substance in a reaction can be calculated if the ... gained from the air, to produce magnesium oxide If a gas escapes, the total mass will look as if it has decreased.