WordGPT

Balance Mg + HCl → MgCl₂ + H₂: magnesium and hydrochloric acid

The balanced equation for magnesium and hydrochloric acid is Mg + 2HCl → MgCl₂ + H₂. It is a single replacement reaction.

How to work it out

  1. 1

    Write the unbalanced equation: reactants on the left, products on the right.

    Mg+HCl⟶MgCl2+H2\mathrm{Mg} + \mathrm{HCl} \longrightarrow \mathrm{MgCl_{2}} + \mathrm{H_{2}}
  2. 2

    Give each species an unknown coefficient (a, b, c, d) and write one equation per element: the atoms on the left must equal the atoms on the right.

    Mg:  a=c,H:  b=2d,Cl:  b=2c\mathrm{Mg}:\; a = c,\quad \mathrm{H}:\; b = 2d,\quad \mathrm{Cl}:\; b = 2c
  3. 3

    Solve the equations. Setting one coefficient to 1 and solving for the others, then scaling to the smallest whole numbers, gives:

    a=1,  b=2,  c=1,  d=1a = 1,\; b = 2,\; c = 1,\; d = 1
  4. 4

    Put the coefficients in front of the formulas.

    Mg+2HCl⟶MgCl2+H2\mathrm{Mg} + 2\mathrm{HCl} \longrightarrow \mathrm{MgCl_{2}} + \mathrm{H_{2}}
  5. 5

    Check: count the atoms of each element on both sides. They must match.

    Mg:  1=1,H:  2=2,Cl:  2=2\mathrm{Mg}:\; 1 = 1,\quad \mathrm{H}:\; 2 = 2,\quad \mathrm{Cl}:\; 2 = 2
LaTeX source of the formulas on this page
\[ \mathrm{Mg} + 2\mathrm{HCl} \longrightarrow \mathrm{MgCl_{2}} + \mathrm{H_{2}} \]
\[ \mathrm{Mg} + \mathrm{HCl} \longrightarrow \mathrm{MgCl_{2}} + \mathrm{H_{2}} \]
\[ \mathrm{Mg}:\; a = c,\quad \mathrm{H}:\; b = 2d,\quad \mathrm{Cl}:\; b = 2c \]
\[ a = 1,\; b = 2,\; c = 1,\; d = 1 \]
\[ \mathrm{Mg}:\; 1 = 1,\quad \mathrm{H}:\; 2 = 2,\quad \mathrm{Cl}:\; 2 = 2 \]

Atoms on each side of the balanced equation

ElementLeftRight
Mg11
H22
Cl22

Masses in the balanced equation (grams per the coefficients)

SpeciesSideCoefficientMolar mass (g/mol)Mass (g)
Mgreactant124.30524.305
HClreactant236.45872.916
MgClâ‚‚product195.20595.205
Hâ‚‚product12.0162.016
Total reactants / products97.221 / 97.221

From 10 g of Mg

SpeciesMolesMass (g)
Mg (given)0.411410
HCl (needed)0.822930
MgClâ‚‚ (made)0.411439.171
Hâ‚‚ (made)0.41140.829

Questions

What is the balanced equation for magnesium and hydrochloric acid?

Mg + 2HCl → MgCl₂ + H₂.

What are the coefficients?

Mg: 1, HCl: 2, MgClâ‚‚: 1, Hâ‚‚: 1.

What type of reaction is Mg + HCl → MgCl₂ + H₂?

A single replacement reaction.

Does the balanced equation obey conservation of mass?

Yes: 97.221 g of reactants and 97.221 g of products, taking the coefficients as moles.

How many moles of HCl react with 1 mole of Mg?

2 mol, because the coefficients are in the ratio 1 : 2.

Try your own equation

Species in this reaction

Similar reactions

    Balanced equation: Mg + HCl → MgCl₂ + H₂ (magnesium and hydrochloric acid) | WordGPT