Mass in a reaction
The first thing you need to know is that what ever mass you get at the beginning of a reaction you will have the same mass at the end of the reaction (products). Unlike in nuclear reactions, chemical reaction atoms are neither created or destroyed. All what is happening is the reshuffling of these atoms from one compound or element to another.
Sodium + chlorine => Sodium chloride
12g + 8g => 20g