Compare the total number of atoms of each element on the reactant side and the product side.
Element
Reactant side
Product side
Magnesium()
1
1
Oxygen()
2
1
Now, stoichiometric coefficients are added to molecules containing an element that has a different number of atoms on the reactant side and the product side.
The coefficient must balance the number of atoms on each side.
In order to balance Oxygen() multiply on the product side.
Element
Reactant side
Product side
Magnesium
1
1
Oxygen
2
2
Reaction becomes,
Now, the number of atoms of the elements on the reactant and product side must be updated.
The above step is repeated until all the number of atoms of the reacting elements are equal on the reactant and product side. In this example, hydrogen is balanced next. The chemical equation is transformed as follows.
Now to balance Magnesium multiplied by on the reactant side.