Formulae and Equation Writing

Last updated: 4 October 2026

Diagnose → Learn → Master: Every study-note section includes 15 free MCQs — start with 5 Diagnostic MCQs to identify gaps in your understanding, then complete 10 Mastery MCQs near the end to check what you have learned.

Chemical equations can look like strings of symbols and numbers at first, but each part has a precise meaning. For example, 2H₂ + O₂ → 2H₂O tells us what substances react, what product forms and the ratio in which the particles react.

This makes formula and equation writing much more than a chapter to memorise. You will use these skills repeatedly in acids and bases, salts, electrolysis, energetics, reaction rates and mole calculations. The key is to separate the task into stages: first write the correct formulae, then determine the states, then balance the equation, and finally simplify it to an ionic equation if required.

Diagnostic Quiz
How well do you know the language of Chemistry?

Try these five questions before reading the chapter. They test the ideas you will need when writing formulae and equations.

  • 5 quick questions
  • Instant feedback
  • Every answer explained

1. Understanding Chemical Symbols and Formulae

Every element is represented by a chemical symbol. Some contain one letter, such as H for hydrogen and C for carbon. Others contain two letters, such as Na for sodium, Mg for magnesium and Cl for chlorine.

The capitalisation matters. The first letter is always uppercase, while any second letter is lowercase.

CORE IDEA

Chemical symbols are case-sensitive

Co represents cobalt, whereas CO represents carbon monoxide. The difference between an uppercase and lowercase letter can therefore completely change the chemical meaning.

What does a chemical formula tell us?

A chemical formula tells us which elements are present and the relative numbers of their atoms or ions.

FormulaWhat it tells us
H₂O2 hydrogen atoms and 1 oxygen atom in each water molecule
CO₂1 carbon atom and 2 oxygen atoms in each carbon dioxide molecule
NH₃1 nitrogen atom and 3 hydrogen atoms in each ammonia molecule
NaClNa⁺ and Cl⁻ ions in a 1:1 ratio
MgCl₂Mg²⁺ and Cl⁻ ions in a 1:2 ratio

Subscripts belong to the formula

A small number written at the lower right of a chemical symbol is called a subscript. It tells us how many atoms of that element are represented.

In CO₂, the subscript 2 applies only to oxygen. Since no number follows C, there is one carbon atom.

Subscript versus coefficient

H₂O contains two H atoms and one O atom in each molecule.

2H₂O means two water molecules, containing four H atoms and two O atoms altogether.

The subscript is part of the chemical formula. The coefficient in front tells us how many particles or moles are present.

2. Counting Atoms in Formulae

Before writing equations, you must be able to read formulae accurately. This becomes especially important when brackets appear.

Formulae without brackets

Consider Al₂O₃. The formula contains:

  • 2 aluminium atoms or ions; and
  • 3 oxygen atoms or oxide ions.

Formulae containing brackets

A subscript outside a bracket multiplies every atom inside the bracket.

For example, Ca(OH)₂ contains two complete OH groups. Therefore it contains:

  • 1 calcium atom or ion;
  • 2 oxygen atoms; and
  • 2 hydrogen atoms.

Similarly, Al₂(SO₄)₃ contains three sulfate groups. Therefore it contains:

  • 2 aluminium atoms or ions;
  • 3 sulfur atoms; and
  • 12 oxygen atoms.
CHECK THE BRACKETS

A subscript outside a bracket multiplies the whole group

In Al₂(SO₄)₃, the 3 does not apply only to oxygen. It multiplies both S and O₄, giving 3 sulfur atoms and 12 oxygen atoms.

How to read the formula 3Ca(NO₃)₂, showing the coefficient, element symbol, nitrate ion, subscripts and total numbers of atoms represented.
Reading 3Ca(NO₃)₂: work from the formula itself, through the brackets and subscripts, before applying the coefficient to the whole formula.

3. Writing Formulae for Ionic Compounds

Ionic compounds contain positively charged ions and negatively charged ions. The compound as a whole is electrically neutral, so the total positive charge must exactly balance the total negative charge.

CHARGE BALANCE

Total positive charge = total negative charge

Do not merely memorise where the subscripts go. Ask how many of each ion are required to produce an overall charge of zero.

Example: magnesium chloride

Magnesium forms Mg²⁺ ions and chloride ions are Cl⁻.

One Mg²⁺ contributes +2. Two Cl⁻ ions contribute a total of −2.

Therefore:

Mg²⁺ : Cl⁻ = 1 : 2

The formula is MgCl₂.

Example: aluminium oxide

Aluminium ions are Al³⁺ and oxide ions are O²⁻. We need the smallest combination for which the total positive and negative charges are equal.

  • 2 Al³⁺ ions give a total charge of +6.
  • 3 O²⁻ ions give a total charge of −6.

Therefore the formula is Al₂O₃.

Common ions used at O-Level

Positive ionFormulaNegative ionFormula
HydrogenH⁺ChlorideCl⁻
SodiumNa⁺HydroxideOH⁻
PotassiumK⁺NitrateNO₃⁻
SilverAg⁺OxideO²⁻
AmmoniumNH₄⁺CarbonateCO₃²⁻
MagnesiumMg²⁺SulfateSO₄²⁻
CalciumCa²⁺SulfideS²⁻
ZincZn²⁺BromideBr⁻
Copper(II)Cu²⁺IodideI⁻
Iron(II)Fe²⁺
Iron(III)Fe³⁺
AluminiumAl³⁺

When are brackets needed?

Polyatomic ions such as OH⁻, NO₃⁻, CO₃²⁻, SO₄²⁻ and NH₄⁺ behave as complete groups. If more than one of the group is required, place the group in brackets before adding the subscript.

For example, calcium ions are Ca²⁺ and nitrate ions are NO₃⁻. Two nitrate ions are required for each calcium ion:

Ca(NO₃)₂

The brackets show that the entire NO₃ group occurs twice.

Compare these formulae

NaNO₃ contains only one nitrate ion, so brackets are unnecessary.

Ca(NO₃)₂ contains two nitrate ions, so brackets are required.

Mg(OH)₂ contains two hydroxide ions. Writing MgOH₂ would incorrectly suggest that only H is doubled.

Using the crossover method carefully

You may have learnt a shortcut in which the sizes of the charges are crossed over to become subscripts. The shortcut works only if you still understand the charge balance behind it.

Always check three things afterwards:

  • the final compound has zero overall charge;
  • the ratio has been simplified to the smallest whole numbers; and
  • brackets have been used correctly for repeated polyatomic ions.

For example, Mg²⁺ and O²⁻ do not give Mg₂O₂ as the final formula. The 2:2 ratio simplifies to 1:1, so the formula is MgO.

4. Writing Chemical Equations

A chemical equation shows the reactants on the left and the products on the right.

reactants → products

A plus sign separates different substances on the same side of the equation.

For example:

magnesium + hydrochloric acid → magnesium chloride + hydrogen

becomes:

Mg + HCl → MgCl₂ + H₂

At this stage, the formulae are correct but the equation is not yet balanced.

IMPORTANT ORDER

Write correct formulae before you balance

Balancing cannot repair an incorrect formula. First identify every substance correctly. Only then adjust the coefficients to conserve the atoms.

Remember the diatomic elements

Several non-metallic elements exist naturally as molecules containing two atoms. When these elements appear by themselves in an equation, use their molecular formulae.

ElementFormula
HydrogenH₂
NitrogenN₂
OxygenO₂
FluorineF₂
ChlorineCl₂
BromineBr₂
IodineI₂

5. Using State Symbols

State symbols tell us the physical state of a substance under the conditions of the reaction.

State symbolMeaningExample
(s)SolidMg(s)
(l)LiquidH₂O(l)
(g)GasCO₂(g)
(aq)Aqueous — dissolved in waterNaCl(aq)

Do not confuse (l) and (aq)

H₂O(l) means pure liquid water.

NaCl(aq) means sodium chloride dissolved in water.

A substance can therefore be present in an aqueous solution without itself being a pure liquid.

How do you decide the correct state?

Use the wording of the question together with your chemical knowledge. In particular, consider:

  • whether a substance is naturally solid, liquid or gaseous under the stated conditions;
  • whether an ionic compound is dissolved in water;
  • whether a precipitate is formed;
  • whether a gaseous product is released; and
  • whether water is present as a liquid product.

For example:

AgNO₃(aq) + NaCl(aq) → AgCl(s) + NaNO₃(aq)

Silver chloride is written AgCl(s) because it forms as an insoluble solid precipitate.

6. Balancing Chemical Equations

During a chemical reaction, atoms are rearranged. They are not created or destroyed. The equation must therefore contain the same number of atoms of every element before and after the reaction.

CONSERVATION OF MASS

The number of each type of atom must be conserved

If three oxygen atoms appear among the reactants, three oxygen atoms must still be accounted for among the products. Balancing an equation is simply the symbolic way of ensuring this conservation.

The most important balancing rule

Never change a subscript in a correct formula.

Instead, place coefficients in front of entire formulae.

Why changing subscripts is wrong

H₂O is water. H₂O₂ is hydrogen peroxide. Changing the subscript changes the identity of the substance rather than simply changing how much of it is present.

A systematic method for balancing

  1. Write the correct formula of every reactant and product.
  2. Count the number of each type of atom on both sides.
  3. Add coefficients to balance one element at a time.
  4. Recount all atoms after every change.
  5. Use the smallest possible whole-number coefficients.
  6. Check the equation once more before moving on.

Worked example 1: hydrogen and oxygen

H₂ + O₂ → H₂O

There are two oxygen atoms on the left but only one on the right. Put 2 before H₂O:

H₂ + O₂ → 2H₂O

The right side now contains four hydrogen atoms, so put 2 before H₂:

2H₂ + O₂ → 2H₂O

Both sides now contain four hydrogen atoms and two oxygen atoms.

Worked example 2: aluminium and oxygen

Al + O₂ → Al₂O₃

Oxygen occurs in groups of 2 in O₂ and groups of 3 in Al₂O₃. The smallest number divisible by both 2 and 3 is 6.

Use 3O₂ and 2Al₂O₃:

Al + 3O₂ → 2Al₂O₃

There are now four aluminium atoms on the right, so put 4 before Al:

4Al + 3O₂ → 2Al₂O₃

Worked example 3: magnesium and hydrochloric acid

Mg + HCl → MgCl₂ + H₂

MgCl₂ contains two chlorine atoms, so place 2 before HCl:

Mg + 2HCl → MgCl₂ + H₂

The two hydrogen atoms from 2HCl now form one H₂ molecule. The equation is balanced.

7. What a Balanced Equation Tells Us

The coefficients in a balanced equation show the relative numbers of particles — and therefore the relative numbers of moles — involved in the reaction.

N₂ + 3H₂ → 2NH₃

This represents:

  • 1 nitrogen molecule reacting with 3 hydrogen molecules to form 2 ammonia molecules; or
  • 1 mol of N₂ reacting with 3 mol of H₂ to form 2 mol of NH₃.
MOLE RATIO

Read the reacting ratio from the coefficients

For N₂ + 3H₂ → 2NH₃, the mole ratio N₂ : H₂ : NH₃ is 1 : 3 : 2.

Do not read the reacting ratio from the subscripts. The subscript 2 in N₂ describes the nitrogen molecule itself; it does not mean that two moles of nitrogen are reacting.

8. Writing Ionic Equations

A full chemical equation shows all the substances involved. However, in many reactions occurring in aqueous solution, some ions remain unchanged throughout the reaction.

These unchanged ions are called spectator ions.

An ionic equation removes the spectator ions so that we can see the particles responsible for the actual chemical change.

CORE IDEA

An ionic equation focuses on the particles that change

If an ion appears in exactly the same form on both sides of an equation, it has not taken part in the chemical change and can be removed as a spectator ion.

How to construct an ionic equation

  1. Write the complete balanced chemical equation with state symbols.
  2. Separate appropriate aqueous ionic substances into their ions.
  3. Keep solids, liquids and gases together.
  4. Identify ions that appear unchanged on both sides.
  5. Cancel these spectator ions.
  6. Write the remaining species as the ionic equation.
  7. Check both atoms and total electrical charge.

Worked example: precipitation of silver chloride

Aqueous silver nitrate reacts with aqueous sodium chloride:

AgNO₃(aq) + NaCl(aq) → AgCl(s) + NaNO₃(aq)

Separate the soluble aqueous ionic substances:

Ag⁺(aq) + NO₃⁻(aq) + Na⁺(aq) + Cl⁻(aq) → AgCl(s) + Na⁺(aq) + NO₃⁻(aq)

Na⁺ and NO₃⁻ appear unchanged on both sides. They are spectator ions.

After cancelling them:

Ag⁺(aq) + Cl⁻(aq) → AgCl(s)

This equation shows the actual chemical change: dissolved silver ions and chloride ions combine to form insoluble silver chloride.

Step-by-step ionic equation showing sodium and nitrate spectator ions being removed from the reaction between silver nitrate and sodium chloride, leaving Ag⁺ and Cl⁻ forming AgCl.
Spectator ions remain unchanged on both sides of the reaction and are removed to reveal the net ionic equation.

Check the electrical charge as well as the atoms

In:

Ag⁺(aq) + Cl⁻(aq) → AgCl(s)

the total charge on the left is +1 + (−1) = 0. AgCl is neutral, so the total charge on the right is also 0.

Important ionic equations

ReactionIonic equation
NeutralisationH⁺(aq) + OH⁻(aq) → H₂O(l)
Formation of silver chlorideAg⁺(aq) + Cl⁻(aq) → AgCl(s)
Formation of barium sulfateBa²⁺(aq) + SO₄²⁻(aq) → BaSO₄(s)
Acid reacting with carbonate2H⁺(aq) + CO₃²⁻(aq) → CO₂(g) + H₂O(l)
Zinc displacing copperZn(s) + Cu²⁺(aq) → Zn²⁺(aq) + Cu(s)

Common mistakes with formulae and equations

Common mistakeWhy it is wrongCorrect approach
Writing CL instead of ClChemical symbols are case-sensitive. CL is not the accepted symbol for chlorine.Write the first letter uppercase and the second letter lowercase: Cl.
Writing MgCl instead of MgCl₂One Cl⁻ cannot balance the +2 charge of Mg²⁺.Use two Cl⁻ ions for each Mg²⁺ ion, giving MgCl₂.
Writing MgOH₂ instead of Mg(OH)₂The subscript 2 must apply to the entire hydroxide ion, not just to H.Use brackets around the repeated polyatomic ion: Mg(OH)₂.
Writing Mg₂O₂The ionic formula should show the simplest whole-number ratio of ions.Mg²⁺ and O²⁻ combine in a 1:1 ratio, giving MgO.
Changing H₂O to H₂O₂ while balancingThis changes water into a different substance, hydrogen peroxide.Change coefficients only, for example 2H₂O.
Using (l) whenever something is in solution(l) means the pure substance is liquid. A dissolved substance is aqueous.Use (aq) for a substance dissolved in water.
Splitting AgCl(s) into Ag⁺ and Cl⁻AgCl is an insoluble solid precipitate and should remain together.Separate appropriate aqueous ionic substances, but keep solids intact.
Cancelling Cu²⁺(aq) with Cu(s)These are not identical species. One is an aqueous ion and the other is solid copper.Cancel only species with exactly the same formula, charge and state on both sides.
Checking atoms but not charge in an ionic equationAn ionic equation must conserve electrical charge as well as atoms.Calculate the total charge on both sides before accepting the equation.

Formula and equation writing checklist

Write the formula correctly

  • Check every element symbol.
  • Use the correct ion charges.
  • Balance ionic charges to zero.
  • Use brackets around repeated polyatomic ions.

Add the correct states

  • (s) for solid.
  • (l) for liquid.
  • (g) for gas.
  • (aq) for dissolved in water.

Balance the equation

  • Count each element on both sides.
  • Change coefficients only.
  • Never alter a correct subscript.
  • Use the smallest whole-number coefficients.

Check the ionic equation

  • Separate appropriate aqueous ionic substances.
  • Keep solids, liquids and gases together.
  • Remove genuine spectator ions.
  • Check both atoms and total charge.
Mastery Quiz
Can you apply formula and equation writing?

These ten questions go beyond simple recall. Use charge balance, atom counting, state symbols and ionic-equation reasoning to work out each answer.

  • 10 application questions
  • Instant marking
  • Detailed option-by-option explanations

Questions students often ask about formulae and equations

Once the basic method is clear, most difficulties come from deciding whether a number belongs to the substance itself or merely tells us how much of the substance is present.

Do I need to memorise common ion charges?

You should become familiar with the formulae and charges of the common ions used throughout O-Level Chemistry, including NH₄⁺, OH⁻, NO₃⁻, CO₃²⁻ and SO₄²⁻. However, formula writing should still be based on charge balance rather than memorising entire compounds individually.

Why do we not write a subscript 1?

A missing subscript already means one. CO₂ therefore means one carbon atom and two oxygen atoms. Writing C₁O₂ is unnecessary and is not the normal chemical convention.

Is the crossover method always reliable?

It is useful as a shortcut, but only if you understand the charge balance behind it. You must still simplify the resulting ratio, use brackets correctly for polyatomic ions and check that the final compound has zero overall charge.

Why is calcium nitrate Ca(NO₃)₂ instead of CaNO₃₂?

Calcium forms Ca²⁺ ions, so two NO₃⁻ ions are required. Because the entire nitrate ion occurs twice, NO₃ must be enclosed in brackets before adding the subscript 2. Ca(NO₃)₂ therefore shows two complete nitrate ions.

How do I know whether to write O or O₂ in an equation?

When oxygen appears as the element oxygen, it is written O₂ because elemental oxygen exists as diatomic molecules. When oxygen is part of a compound, use the actual formula of that compound, such as H₂O, CO₂ or MgO.

Can an equation be balanced but still be chemically wrong?

Yes. Balancing only checks whether the numbers of atoms are conserved. An equation can still contain an incorrect formula, incorrect product or incorrect state symbol. This is why the correct formulae must be written before balancing.

Why can't I change a subscript when balancing an equation?

A subscript is part of the identity of the substance. Changing H₂O to H₂O₂ changes water into hydrogen peroxide. To change the amount of a substance without changing its identity, place a coefficient in front instead.

What is the difference between (l) and (aq)?

The symbol (l) means the substance itself is a liquid. The symbol (aq) means the substance is dissolved in water. H₂O(l) is liquid water, whereas NaCl(aq) is sodium chloride dissolved in water.

Why do spectator ions disappear from an ionic equation?

They disappear because they have not undergone chemical change. They remain as the same ions before and after the reaction. Removing them allows the ionic equation to focus on the particles that actually react.

How do I check whether an ionic equation is correct?

Check three things. First, every type of atom must be balanced. Second, the total electrical charge must be the same on both sides. Third, make sure no genuine spectator ions remain and that solids, liquids and gases have not been incorrectly separated into ions.

Formulae and equations become much easier when you stop trying to do everything at once. First identify the substances and write their formulae correctly. Then determine the state symbols and balance the atoms using coefficients. If an ionic equation is required, remove only the spectator ions and check the electrical charge as well as the atoms. Once this sequence becomes familiar, chemical equations begin to read like precise descriptions of what the particles are actually doing.

Scroll to Top