In a chemical reaction, the total mass of substances before and after the reaction remains the same. This principle is known as the law of conservation of mass. It states that mass can neither be created nor destroyed in a chemical reaction, only rearranged. Therefore, the total mass of the substances before the reaction is equal to the total mass of the substances after the reaction.