Formulas and Equations

AS · 9 min

A correct formula and a balanced equation are the starting point of every chemical calculation, and most Paper 2 questions contain at least one "write an equation" mark. This note covers how to build formulas of ionic compounds from ionic charges, the ions you must know by heart, how to balance full and ionic equations with state symbols, and how to find empirical and molecular formulas from experimental data, including hydrated salts and combustion analysis.

Formulas of ionic compounds

An ionic compound is neutral overall, so the total positive charge equals the total negative charge. To write its formula you need the charge on each ion.

Predicting ionic charges from the Periodic Table

Atoms of main-group elements gain or lose electrons to reach the electronic configuration of the nearest noble gas.

group1213151617
typical ionMX+\ce{M+}MX2+\ce{M^2+}MX3+\ce{M^3+}XX3−\ce{X^3-}XX2−\ce{X^2-}XX−\ce{X-}
exampleNaX+\ce{Na+}MgX2+\ce{Mg^2+}AlX3+\ce{Al^3+}NX3−\ce{N^3-}OX2−\ce{O^2-}ClX−\ce{Cl-}

Transition metals can form ions with different charges, so the charge is shown by a Roman numeral in the name, which gives the oxidation number: iron(II) is FeX2+\ce{Fe^2+} and iron(III) is FeX3+\ce{Fe^3+}; copper(I) is CuX+\ce{Cu+} and copper(II) is CuX2+\ce{Cu^2+}.

Ions to learn

Key result
nameformulanameformula
nitrateNOX3X−\ce{NO3-}ammoniumNHX4X+\ce{NH4+}
carbonateCOX3X2−\ce{CO3^2-}zincZnX2+\ce{Zn^2+}
sulfateSOX4X2−\ce{SO4^2-}silverAgX+\ce{Ag+}
hydroxideOHX−\ce{OH-}hydrogencarbonateHCOX3X−\ce{HCO3-}
phosphatePOX4X3−\ce{PO4^3-}
Method

Writing the formula of an ionic compound

  1. Write the two ions with their charges, for example AlX3+\ce{Al^3+} and SOX4X2−\ce{SO4^2-}.
  2. Find the lowest common multiple of the charges: here 6.
  3. Use enough of each ion to reach that total: two AlX3+\ce{Al^3+} (+6+6) and three SOX4X2−\ce{SO4^2-} (−6-6).
  4. Write the formula, using brackets around a polyatomic ion when there is more than one of it: AlX2(SOX4)X3\ce{Al2(SO4)3}.
compoundionsformula
calcium hydroxideCaX2+\ce{Ca^2+}, OHX−\ce{OH-}Ca(OH)X2\ce{Ca(OH)2}
ammonium sulfateNHX4X+\ce{NH4+}, SOX4X2−\ce{SO4^2-}(NHX4)X2SOX4\ce{(NH4)2SO4}
iron(III) oxideFeX3+\ce{Fe^3+}, OX2−\ce{O^2-}FeX2OX3\ce{Fe2O3}
sodium phosphateNaX+\ce{Na+}, POX4X3−\ce{PO4^3-}NaX3POX4\ce{Na3PO4}
calcium hydrogencarbonateCaX2+\ce{Ca^2+}, HCOX3X−\ce{HCO3-}Ca(HCOX3)X2\ce{Ca(HCO3)2}
silver carbonateAgX+\ce{Ag+}, COX3X2−\ce{CO3^2-}AgX2COX3\ce{Ag2CO3}

Roman numerals also appear in the names of oxyanions, where they give the oxidation number of the central atom: sodium chlorate(I) is NaClO\ce{NaClO}, potassium manganate(VII) is KMnOX4\ce{KMnO4} and potassium dichromate(VI) is KX2CrX2OX7\ce{K2Cr2O7}.

Watch out

Never change a subscript inside an ion to balance charges. Sulfate is always SOX4X2−\ce{SO4^2-}; three of them are (SOX4)X3\ce{(SO4)3}, not SOX12\ce{SO12}. And do not put brackets around a single ion: NaOH\ce{NaOH}, not Na(OH)\ce{Na(OH)}.

Balancing equations

An equation shows the reactants and products and the amounts in which they react. A balanced equation has the same number of each type of atom on both sides (and, for ionic equations, the same total charge on both sides).

Method
  1. Write correct formulas for every reactant and product. Never alter a formula to make it balance.
  2. Balance one element at a time using coefficients in front of formulas. Leave elements that appear in several substances, and free elements like OX2\ce{O2} or HX2\ce{H2}, until last.
  3. Check every element, and the total charge if ions appear.
  4. Add state symbols.

State symbols

symbolmeaning
(s)solid, including precipitates
(l)liquid (pure liquid, for example water or molten salt)
(g)gas
(aq)aqueous: dissolved in water

Water formed in a reaction in solution is HX2O(l)\ce{H2O(l)}, not HX2O(aq)\ce{H2O(aq)}.

Balancing a combustion equation

Write a balanced equation, with state symbols, for the complete combustion of butane, CX4HX10\ce{C4H10}.

Solution

Carbon first: CX4HX10+OX2→4 COX2+HX2O\ce{C4H10 + O2 -> 4CO2 + H2O}. Then hydrogen: 10 H gives 5 HX2O\ce{5H2O}. Oxygen on the right: 4×2+5=134 \times 2 + 5 = 13 atoms, so 132 OX2\tfrac{13}{2}\ \ce{O2}.

CX4HX10(g)+132 OX2(g)→4 COX2(g)+5 HX2O(l)\ce{C4H10(g) + 13/2 O2(g) -> 4CO2(g) + 5H2O(l)}

or, doubling to remove the fraction:

2 CX4HX10(g)+13 OX2(g)→8 COX2(g)+10 HX2O(l)\ce{2C4H10(g) + 13O2(g) -> 8CO2(g) + 10H2O(l)}

Fractions are acceptable in equations; they are used routinely in enthalpy definitions where one mole of a substance must appear.

Ionic equations

In aqueous solution, soluble ionic compounds, strong acids and strong alkalis exist as separate ions. Many of those ions take no part in the reaction: they are spectator ions. An ionic equation shows only the species that change, and must not include spectator ions.

Method

Writing an ionic equation

  1. Write the full balanced equation with state symbols.
  2. Split every aqueous ionic substance (and strong acid) into its ions. Do not split solids, liquids, gases, water, precipitates, or weak acids.
  3. Cross out ions that appear unchanged on both sides.
  4. Check atoms and charge balance.
Ionic equation for a precipitation

Write the ionic equation for the reaction between aqueous silver nitrate and aqueous sodium chloride.

Solution

Full equation: AgNOX3(aq)+NaCl(aq)→AgCl(s)+NaNOX3(aq)\ce{AgNO3(aq) + NaCl(aq) -> AgCl(s) + NaNO3(aq)}

Split aqueous species: AgX+(aq)+NOX3X−(aq)+NaX+(aq)+ClX−(aq)→AgCl(s)+NaX+(aq)+NOX3X−(aq)\ce{Ag+(aq) + NO3-(aq) + Na+(aq) + Cl-(aq) -> AgCl(s) + Na+(aq) + NO3-(aq)}

NaX+\ce{Na+} and NOX3X−\ce{NO3-} are spectators. Ionic equation:

AgX+(aq)+ClX−(aq)→AgCl(s)\ce{Ag+(aq) + Cl-(aq) -> AgCl(s)}

Some ionic equations to know:

reactionionic equation
any acid with any alkaliHX+(aq)+OHX−(aq)→HX2O(l)\ce{H+(aq) + OH-(aq) -> H2O(l)}
aqueous carbonate with acidCOX3X2−(aq)+2 HX+(aq)→COX2(g)+HX2O(l)\ce{CO3^2-(aq) + 2H+(aq) -> CO2(g) + H2O(l)}
test for sulfateBaX2+(aq)+SOX4X2−(aq)→BaSOX4(s)\ce{Ba^2+(aq) + SO4^2-(aq) -> BaSO4(s)}
metal displacementZn(s)+CuX2+(aq)→ZnX2+(aq)+Cu(s)\ce{Zn(s) + Cu^2+(aq) -> Zn^2+(aq) + Cu(s)}

For an insoluble carbonate such as CaCOX3\ce{CaCO3}, the solid is not split into ions, so the ionic equation is CaCOX3(s)+2 HX+(aq)→CaX2+(aq)+COX2(g)+HX2O(l)\ce{CaCO3(s) + 2H+(aq) -> Ca^2+(aq) + CO2(g) + H2O(l)}.

Exam tip

"Write an ionic equation" questions check that the charges balance as well as the atoms. In Zn(s)+CuX2+(aq)→ZnX2+(aq)+Cu(s)\ce{Zn(s) + Cu^2+(aq) -> Zn^2+(aq) + Cu(s)} the charge is +2+2 on each side. Including a spectator ion, or omitting state symbols when asked for them, loses the mark.

Empirical and molecular formulas

Definition
  • The empirical formula of a compound is the simplest whole-number ratio of the atoms of each element present in the compound.
  • The molecular formula is the actual number of atoms of each element present in one molecule of the compound.

Ethane has molecular formula CX2HX6\ce{C2H6} and empirical formula CHX3\ce{CH3}. Glucose, CX6HX12OX6\ce{C6H12O6}, and ethanoic acid, CX2HX4OX2\ce{C2H4O2}, share the empirical formula CHX2O\ce{CH2O}. Ionic compounds are described by empirical formulas only, because they do not form molecules.

Method

Finding an empirical formula

  1. Write the mass (or percentage) of each element.
  2. Divide each by its ArA_r to get moles.
  3. Divide every value by the smallest.
  4. If the result is not close to whole numbers, multiply through by a small integer (values like 1.5 mean multiply by 2; 1.33 or 1.67 mean multiply by 3).
  5. Molecular formula: divide MrM_r by the empirical formula mass; multiply the empirical formula by the result.
From percentage composition to molecular formula

A compound contains 40.0% carbon, 6.7% hydrogen and 53.3% oxygen by mass. Its MrM_r is 60. Find its empirical and molecular formulas.

Solution
CHO
mass in 100 g40.06.753.3
moles40.012.0=3.33\tfrac{40.0}{12.0} = 3.336.71.0=6.7\tfrac{6.7}{1.0} = 6.753.316.0=3.33\tfrac{53.3}{16.0} = 3.33
÷ smallest1.002.011.00

Empirical formula CHX2O\ce{CH2O}, empirical formula mass =12.0+2.0+16.0=30.0= 12.0 + 2.0 + 16.0 = 30.0.

6030.0=2\dfrac{60}{30.0} = 2, so the molecular formula is CX2HX4OX2\ce{C2H4O2}.

Hydrated salts and water of crystallisation

Definition
  • Water of crystallisation is water that is chemically bonded within the crystal lattice of a salt.
  • A hydrated salt contains water of crystallisation, for example CuSOX4 ⋅ 5 HX2O\ce{CuSO4.5H2O} (blue crystals).
  • An anhydrous salt contains no water of crystallisation, for example CuSOX4\ce{CuSO4} (a white powder).

Heating a hydrated salt drives off the water of crystallisation. The mass lost is the mass of water. Comparing moles of water with moles of anhydrous salt gives xx in salt ⋅ x HX2O\ce{salt.xH2O}.

Finding the water of crystallisation

A 2.46 g2.46\ \text{g} sample of hydrated magnesium sulfate, MgSOX4 ⋅ x HX2O\ce{MgSO4.xH2O}, is heated to constant mass. The anhydrous MgSOX4\ce{MgSO4} left has a mass of 1.20 g1.20\ \text{g}. Find xx.

Solution

Mass of water =2.46−1.20=1.26 g= 2.46 - 1.20 = 1.26\ \text{g}.

n(MgSOX4)=1.2024.3+32.1+64.0=1.20120.4=0.009967 moln(\ce{MgSO4}) = \dfrac{1.20}{24.3 + 32.1 + 64.0} = \dfrac{1.20}{120.4} = 0.009967\ \text{mol}

n(HX2O)=1.2618.0=0.0700 moln(\ce{H2O}) = \dfrac{1.26}{18.0} = 0.0700\ \text{mol}

x=0.07000.009967=7.02x = \dfrac{0.0700}{0.009967} = 7.02, so x=7x = 7: the salt is MgSOX4 ⋅ 7 HX2O\ce{MgSO4.7H2O}.

Combustion analysis

When an organic compound containing C, H and possibly O burns completely, all its carbon ends up in COX2\ce{CO2} and all its hydrogen in HX2O\ce{H2O}. Any mass not accounted for by C and H is oxygen.

Exam-style: combustion analysis

Complete combustion of 0.290 g0.290\ \text{g} of a compound containing C, H and O produced 0.660 g0.660\ \text{g} of COX2\ce{CO2} and 0.270 g0.270\ \text{g} of HX2O\ce{H2O}. Its MrM_r is 58. Find its molecular formula.

Solution

Carbon: n(COX2)=0.66044.0=0.0150 moln(\ce{CO2}) = \dfrac{0.660}{44.0} = 0.0150\ \text{mol}, so n(C)=0.0150 moln(\ce{C}) = 0.0150\ \text{mol}, mass =0.180 g= 0.180\ \text{g}.

Hydrogen: n(HX2O)=0.27018.0=0.0150 moln(\ce{H2O}) = \dfrac{0.270}{18.0} = 0.0150\ \text{mol}, so n(H)=2×0.0150=0.0300 moln(\ce{H}) = 2 \times 0.0150 = 0.0300\ \text{mol}, mass =0.0300 g= 0.0300\ \text{g}.

Oxygen: mass =0.290−0.180−0.0300=0.080 g= 0.290 - 0.180 - 0.0300 = 0.080\ \text{g}, so n(O)=0.08016.0=0.0050 moln(\ce{O}) = \dfrac{0.080}{16.0} = 0.0050\ \text{mol}.

Ratio C : H : O =0.0150:0.0300:0.0050=3:6:1= 0.0150 : 0.0300 : 0.0050 = 3 : 6 : 1. Empirical formula CX3HX6O\ce{C3H6O}, mass 58.0.

5858.0=1\dfrac{58}{58.0} = 1, so the molecular formula is CX3HX6O\ce{C3H6O}.

Watch out

Each HX2O\ce{H2O} contains two hydrogen atoms. Forgetting to double the moles of water is the most common error in combustion analysis.

Summary
  • Ionic charges follow the group: +1,+2,+3+1, +2, +3 for Groups 1, 2, 13; −3,−2,−1-3, -2, -1 for Groups 15, 16, 17. Roman numerals give the charge on transition metal ions.
  • Learn NOX3X−\ce{NO3-}, COX3X2−\ce{CO3^2-}, SOX4X2−\ce{SO4^2-}, OHX−\ce{OH-}, NHX4X+\ce{NH4+}, ZnX2+\ce{Zn^2+}, AgX+\ce{Ag+}, HCOX3X−\ce{HCO3-}, POX4X3−\ce{PO4^3-}.
  • Balance with coefficients only; check atoms and charges; add state symbols (s), (l), (g), (aq).
  • Ionic equations omit spectator ions; only aqueous ionic species are split.
  • Empirical formula: simplest whole-number ratio. Molecular formula: actual numbers of atoms in a molecule.
  • Water of crystallisation: compare moles of water lost with moles of anhydrous salt.

Practice

Question
  1. Write formulas for: magnesium nitrate, ammonium sulfate, aluminium oxide, iron(II) phosphate, sodium hydrogencarbonate, silver sulfate, zinc hydroxide.
  2. Balance: (a) FeX2OX3+CO→Fe+COX2\ce{Fe2O3 + CO -> Fe + CO2} (b) Al+HCl→AlClX3+HX2\ce{Al + HCl -> AlCl3 + H2} (c) CX2HX5OH+OX2→COX2+HX2O\ce{C2H5OH + O2 -> CO2 + H2O}.
  3. Write ionic equations, with state symbols, for (a) aqueous barium chloride with aqueous sodium sulfate, (b) magnesium ribbon with aqueous copper(II) sulfate, (c) solid magnesium carbonate with dilute hydrochloric acid.
  4. A hydrocarbon contains 85.7% carbon by mass and has Mr=56M_r = 56. Find its empirical and molecular formulas.
  5. A compound contains 32.4% Na, 22.6% S and 45.0% O. Find its empirical formula and name it.
  6. Heating 5.00 g5.00\ \text{g} of CuSOX4 ⋅ x HX2O\ce{CuSO4.xH2O} to constant mass leaves 3.20 g3.20\ \text{g} of anhydrous CuSOX4\ce{CuSO4}. Find xx.
  7. Complete combustion of 0.580 g0.580\ \text{g} of a hydrocarbon gives 1.760 g1.760\ \text{g} of COX2\ce{CO2} and 0.900 g0.900\ \text{g} of HX2O\ce{H2O}. Mr=58M_r = 58. Find the molecular formula.
  8. Write the formulas of sodium chlorate(I), potassium manganate(VII) and chromium(III) sulfate.
  9. Washing soda is NaX2COX3 ⋅ x HX2O\ce{Na2CO3.xH2O}. Heating 1.430 g1.430\ \text{g} of it to constant mass leaves 0.530 g0.530\ \text{g} of NaX2COX3\ce{Na2CO3}. Find xx, and explain why the sample is heated to constant mass.
  10. A 0.485 g0.485\ \text{g} sample of a compound of carbon, hydrogen and chlorine burns to give 0.440 g0.440\ \text{g} of COX2\ce{CO2} and 0.090 g0.090\ \text{g} of HX2O\ce{H2O} (all chlorine ends up in other products). Mr=97M_r = 97. Find its molecular formula.
Answers
  1. Mg(NOX3)X2\ce{Mg(NO3)2}, (NHX4)X2SOX4\ce{(NH4)2SO4}, AlX2OX3\ce{Al2O3}, FeX3(POX4)X2\ce{Fe3(PO4)2}, NaHCOX3\ce{NaHCO3}, AgX2SOX4\ce{Ag2SO4}, Zn(OH)X2\ce{Zn(OH)2}.
  2. (a) FeX2OX3+3 CO→2 Fe+3 COX2\ce{Fe2O3 + 3CO -> 2Fe + 3CO2} (b) 2 Al+6 HCl→2 AlClX3+3 HX2\ce{2Al + 6HCl -> 2AlCl3 + 3H2} (c) CX2HX5OH+3 OX2→2 COX2+3 HX2O\ce{C2H5OH + 3O2 -> 2CO2 + 3H2O}.
  3. (a) BaX2+(aq)+SOX4X2−(aq)→BaSOX4(s)\ce{Ba^2+(aq) + SO4^2-(aq) -> BaSO4(s)} (b) Mg(s)+CuX2+(aq)→MgX2+(aq)+Cu(s)\ce{Mg(s) + Cu^2+(aq) -> Mg^2+(aq) + Cu(s)} (c) MgCOX3(s)+2 HX+(aq)→MgX2+(aq)+COX2(g)+HX2O(l)\ce{MgCO3(s) + 2H+(aq) -> Mg^2+(aq) + CO2(g) + H2O(l)}.
  4. C: 85.7/12.0=7.1485.7 / 12.0 = 7.14; H: 14.3/1.0=14.314.3 / 1.0 = 14.3; ratio 1:2.001 : 2.00, so CHX2\ce{CH2} (mass 14.0). 56/14.0=456 / 14.0 = 4: CX4HX8\ce{C4H8}.
  5. Na: 32.4/23.0=1.40932.4 / 23.0 = 1.409; S: 22.6/32.1=0.70422.6 / 32.1 = 0.704; O: 45.0/16.0=2.8145.0 / 16.0 = 2.81. Divide by 0.704: 2.00:1:3.992.00 : 1 : 3.99, so NaX2SOX4\ce{Na2SO4}, sodium sulfate.
  6. Water =1.80 g=0.100 mol= 1.80\ \text{g} = 0.100\ \text{mol}. n(CuSOX4)=3.20/159.6=0.02005 moln(\ce{CuSO4}) = 3.20 / 159.6 = 0.02005\ \text{mol}. x=0.100/0.02005=4.99x = 0.100 / 0.02005 = 4.99, so x=5x = 5.
  7. n(C)=1.760/44.0=0.0400n(\ce{C}) = 1.760 / 44.0 = 0.0400; n(H)=2×0.900/18.0=0.100n(\ce{H}) = 2 \times 0.900 / 18.0 = 0.100. Check: 0.0400×12.0+0.100×1.0=0.580 g0.0400 \times 12.0 + 0.100 \times 1.0 = 0.580\ \text{g}, so no oxygen. Ratio 1:2.5=2:51 : 2.5 = 2 : 5, empirical CX2HX5\ce{C2H5} (mass 29.0). 58/29.0=258 / 29.0 = 2: CX4HX10\ce{C4H10}.
  8. NaClO\ce{NaClO}, KMnOX4\ce{KMnO4}, CrX2(SOX4)X3\ce{Cr2(SO4)3}.
  9. Water =0.900 g=0.0500 mol= 0.900\ \text{g} = 0.0500\ \text{mol}. n(NaX2COX3)=0.530/106.0=0.00500 moln(\ce{Na2CO3}) = 0.530 / 106.0 = 0.00500\ \text{mol}. x=10x = 10. Heating to constant mass (heat, cool, weigh, repeat until two masses agree) ensures all the water of crystallisation has been driven off; otherwise the mass of water would be underestimated and xx would be too small.
  10. n(C)=0.440/44.0=0.0100n(\ce{C}) = 0.440 / 44.0 = 0.0100, mass 0.120 g0.120\ \text{g}. n(H)=2×0.090/18.0=0.0100n(\ce{H}) = 2 \times 0.090 / 18.0 = 0.0100, mass 0.010 g0.010\ \text{g}. Mass of Cl =0.485−0.120−0.010=0.355 g= 0.485 - 0.120 - 0.010 = 0.355\ \text{g}, n=0.355/35.5=0.0100n = 0.355 / 35.5 = 0.0100. Ratio 1:1:11 : 1 : 1, empirical CHCl\ce{CHCl} (mass 48.5). 97/48.5=297 / 48.5 = 2: CX2HX2ClX2\ce{C2H2Cl2}.

How well do you know this?

Builds on

Where this leads

Console

Search notes, courses and tools, or run an action