Mg + 2H2O → Mg(OH)2 + H2
Magnesium and water — balanced chemical equation, step by step.
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:
| Element | Reactants | Products | Equal? |
|---|---|---|---|
| Mg | 1 | 1 | ✓ |
| H | 2 | 4 | ✗ |
| O | 1 | 2 | ✗ |
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:
| Element | Reactants | Products | Balanced |
|---|---|---|---|
| Mg | 1 | 1 | ✓ |
| H | 4 | 4 | ✓ |
| O | 2 | 2 | ✓ |
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:
| Substance | Role | Molar mass (g/mol) | Moles |
|---|---|---|---|
| Mg | reactant | 24.31 | 1 |
| H2O | reactant | 18.02 | 2 |
| Mg(OH)2 | product | 58.32 | 1 |
| H2 | product | 2.02 | 1 |
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 →