BalancerEquations › Mg + 2H2O = Mg(OH)2 + H2

Mg + 2H2O Mg(OH)2 + H2

Magnesium and water — balanced chemical equation, step by step.

Balanced equation
Mg + 2H2O Mg(OH)2 + H2
Single replacement reaction

Magnesium reacts slowly with water (and faster with steam) to release hydrogen gas.

How to balance Mg + H2O = Mg(OH)2 + H2

In a single-replacement reaction, one element displaces another from a compound. Balancing means choosing coefficients so that every element has the same number of atoms on both sides of the arrow — the Law of Conservation of Mass. Here is how it's done, step by step.

Step 1 — Write the unbalanced equation

Start with the correct formulas for every reactant and product:

Mg + H2O = Mg(OH)2 + H2

Step 2 — Count the atoms of each element

With no coefficients yet (everything counted once), the atoms do not match. The ✗ marks show which elements are unbalanced:

ElementReactantsProductsEqual?
Mg11
H24
O12

Step 3 — Add the smallest whole-number coefficients

Adjust the coefficients in front of each formula until every element balances. The smallest whole-number coefficients are 1 Mg, 2 H2O, 1 Mg(OH)2, 1 H2, giving:

Mg + 2H2O = Mg(OH)2 + H2

For a single-replacement reaction, balance the element being displaced first, then balance the spectator ions, and finish with any free element or hydrogen gas.

Step 4 — Verify the balance

Recount every element. Each one now matches on both sides:

ElementReactantsProductsBalanced
Mg11
H44
O22

All elements are balanced and the coefficients are the smallest whole numbers, so Mg + 2H2O = Mg(OH)2 + H2 is the correct balanced equation.

Molar masses and mole ratio

The balanced coefficients are also the mole ratio of the reaction. Using standard atomic masses, the molar mass of each substance is:

SubstanceRoleMolar mass (g/mol)Moles
Mgreactant24.311
H2Oreactant18.022
Mg(OH)2product58.321
H2product2.021

For this reaction the mole ratio is 1 : 2 : 1 : 1. Combine these molar masses with the ratio in the free stoichiometry calculator to convert between moles, grams, and the number of particles for any reactant or product.

Try another equation

Use the free balancer to solve any reaction instantly with step-by-step explanations and a stoichiometry calculator.

Open the balancer →

Related single replacement reactions