3.1.3.1 - Ionic Bonding
Ionic bonding explains how metals and non-metals form compounds by making ions, and how those ions are held together in a giant structure. In this lesson, you will build the particle model first, then use it to predict ion charges and construct correct formulae for ionic compounds, including ones that contain compound ions.
What ionic bonding really is
Many common ionic compounds form when electrons are transferred from metal atoms to non-metal atoms. Ionic compounds can also contain compound ions, such as ammonium, so a metal is not always present. That transfer creates charged particles called ions. A sodium atom, for example, loses one electron to form , while a chlorine atom gains one electron to form .
Ionic bond
The ionic bond is the strong electrostatic attraction between oppositely charged ions in a lattice.
Keep two ideas separate here. Electron transfer is how the ions are formed, but it is not itself the bond. The bond is the attraction between the positive and negative ions after those ions exist.
In sodium chloride, the ions do not sit as one isolated next to one isolated . They arrange in a giant three-dimensional ionic lattice with alternating positive and negative ions. Each positive ion is attracted to negative ions around it, and each negative ion is attracted to positive ions around it. That repeated electrostatic attraction is why ionic compounds are stable.
The diagram below separates the two linked ideas in ionic bonding: electron transfer forms the ions, and the giant lattice holds those ions together by repeated electrostatic attraction.
[DIAGRAM: asset_name: 1.3.1 - Ionic Bonding - Diagram 1; asset_slug: 1.3.1 - Ionic Bonding - Diagram 1; recommended_method: deterministic_code; description: Outer-electron transfer from sodium to chlorine forms Na+ and Cl−; dots and crosses identify electron origins.]

This also explains why the formula of an ionic compound shows the simplest ratio of ions in the lattice, not a small molecule. means the ratio is 1 sodium ion to 1 chloride ion throughout the lattice.
Predicting charges on simple ions
A simple ion is an ion formed from a single atom. For the main-group elements in this part of the course, the position of the element in the Periodic Table helps you predict the charge of the ion it forms.
Simple ion
A simple ion is an ion formed when a single atom gains or loses electrons and carries an overall charge.
The pattern comes from how many electrons an atom needs to lose or gain to reach a full outer shell:
- Group 1 elements lose 1 electron to form ions, for example and .
- Group 2 elements lose 2 electrons to form ions, for example and .
- Group 3 (13) elements such as aluminium lose 3 electrons to form ions, for example .
- Group 5 (15) elements such as nitrogen can gain 3 electrons to form ions, for example .
- Group 6 (16) elements commonly gain 2 electrons to form ions, for example and .
- Group 7 (17) elements gain 1 electron to form ions, for example and .
You can think of the charge as a balance between protons and electrons. Magnesium has 12 protons. When it loses 2 electrons, it still has 12 protons but now only 10 electrons, so the ion has an overall charge.
For this spec point, these charge predictions work best for the common main-group simple ions. Group 0 elements do not normally form ions, and Group 4 does not usually form simple ions in this model.
When you write an ion, include both the symbol and the charge.
The compound ions you must know
Not all ions are single atoms. Some are groups of covalently bonded atoms that carry an overall charge.
Compound ion
A compound ion is a group of two or more bonded atoms with an overall charge that acts as a single ion.
For this lesson, you need the formulae of these common compound ions:
- sulfate,
- hydroxide,
- nitrate,
- carbonate,
- ammonium,
The charge belongs to the whole ion, not to one atom inside it. For example, is one nitrate ion with a charge overall. The three oxygen atoms are part of the ion; they are not three separate oxide ions.
Ammonium is especially important because it is a positive compound ion. The others in this list are negative compound ions. Once you know these five ions securely, building ionic formulae becomes much quicker and more reliable.
Worked example: calcium nitrate contains ions and ions. One calcium ion has charge , so it needs two nitrate ions with total charge . The formula is .
Learn these as whole units. If you recognise the ion quickly, you are much less likely to invent incorrect formulae such as or .
Constructing formulae for ionic compounds
To construct the formula of an ionic compound, use charges to find the smallest whole-number ratio of ions that gives no overall charge.
This four-step method is reliable:
- Write the ions with their charges.
- Choose the ratio that makes the total positive charge equal the total negative charge.
- Write the formula without the charges.
- Use brackets if you need more than one of a compound ion.
For magnesium chloride:
- ions: and
- charge balance: one needs two
- formula:
For aluminium oxide:
- ions: and
- charge balance: two give , and three give
- formula:
The diagram below shows that the formula comes directly from balancing the total positive and negative charges in the smallest whole-number ratio.
[DIAGRAM: asset_name: 1.3.1 - Ionic Bonding - Diagram 2; asset_slug: 1.3.1 - Ionic Bonding - Diagram 2; recommended_method: retained_png; description: Two Al3+ ions balance three O2− ions to form the formula Al2O3.]

For ammonium sulfate:
- ions: and
- charge balance: two ions give , which balances one
- formula:
The brackets matter because there are two ammonium ions. Without brackets, would mean something different and would be chemically wrong.
Two easy mistakes are worth avoiding:
- Do not leave charges in the final formula. Write , not .
- Do not change the inside of a compound ion. Hydroxide stays , so write calcium hydroxide as so the repeated hydroxide ion is explicit. has the same elemental composition but obscures the compound-ion grouping.
If the charges already balance in a 1:1 ratio, keep the formula simple. Calcium oxide is , not .
The big idea to remember is that an ionic formula is a charge-balance statement. If the total positive and negative charges cancel in the smallest whole-number ratio, your formula is correct.