Writing Ionic Formulae by Balancing Charges

Why total positive charge equals total negative charge

Lesson 574 of 4,500 · Chemical Bonding: Ionic and Covalent

Learning objectives

Introduction

Once the ions are known, writing an ionic formula becomes a charge-balance problem. The task is to find the smallest whole-number combination whose total charge is zero. This method handles equal and unequal charges and provides a useful check on memorised formulas, provided we do not alter the identity or charge of the ions themselves.

Core explanation

A neutral ionic compound contains equal magnitudes of positive and negative charge. If a cation has charge +m and an anion has charge −n, choose counts a and b so that am = bn. Use the smallest positive whole-number solution for an ordinary empirical formula.

For Ca²⁺ and Cl⁻, one calcium supplies +2 while two chlorides supply −2. Write CaCl₂. For Al³⁺ and O²⁻, two aluminium ions supply +6 and three oxide ions supply −6. Write Al₂O₃. The positive ion is normally written first.

When the charge magnitudes match, the simplest ratio is 1:1. Mg²⁺ with O²⁻ gives MgO, not Mg₂O₂. A shortcut that swaps charge magnitudes into subscripts must therefore include reduction to the simplest ratio and a final neutrality check. Understanding the balance is safer than treating the shortcut as a law.

Superscripts and subscripts serve different purposes. Ca²⁺ specifies the charge on a calcium ion. The two in CaCl₂ counts chlorides per calcium in the formula ratio. The neutral compound's ordinary formula usually omits individual ion charges, though they should be written in the working when explaining the calculation.

Some elements have variable-charge ions. Iron(II) chloride contains Fe²⁺, so it is FeCl₂. Iron(III) chloride contains Fe³⁺, so it is FeCl₃. A formula cannot be derived uniquely from “iron and chlorine” without identifying the intended iron state. Polyatomic ions introduce an additional bracket convention, but the neutrality principle remains exactly the same.

Step-by-step reasoning

1. Write the cation and anion with their correct charges. 2. Find the smallest total charge magnitude both can supply. 3. Calculate how many of each ion are required, writing the cation first. 4. Reduce any common factor in the ratio and verify that the sum of all ionic charges is zero.

Visual explanation

Draw positive charge units as plus signs and negative units as minus signs. For Al³⁺ and O²⁻, group six plus signs into two threes and six minus signs into three twos. The group counts become the formula subscripts.

Real-world analogy

A tiled strip may match sections of length two with sections of length three at a common length of six. Charge balancing likewise matches complete groups without cutting an ion into a fraction or changing its charge to make the arithmetic easier.

Real-world example

Calcium oxide and calcium chloride contain the same familiar calcium ion but have different ratios: CaO and CaCl₂. Oxide supplies two negative charge units per ion, whereas chloride supplies one. The counterion's charge therefore changes the formula even when the metal stays the same.

Why?

Why must bulk salt formulas be neutral? A macroscopic piece of ordinary salt does not consist of a persistent unmatched excess of one ion type. The composition balances positive and negative charge overall, even though each constituent ion is individually charged.

Common misconception

“Subscripts tell the charge on each ion.” They tell relative particle counts. Three chlorides in AlCl₃ still each carry −1; the subscript does not turn one chloride into Cl³⁻.

Worked example

Derive the formula from Ca²⁺ and N³⁻. The smallest matching charge magnitude is six. Three calcium ions contribute +6 and two nitride ions contribute −6, giving Ca₃N₂. Check 3(2) + 2(−3) = 0. The ratio 3:2 cannot be reduced further, so the formula is already in simplest form.

Quick check

1. What formula follows from ions Mg²⁺ and S²⁻, and why is no subscript needed? Answer: MgS, because equal opposite charges balance in a 1:1 ratio.

Exam focus

Show the charges before presenting the formula when reasoning is required. Avoid a subscript one, and do not retain unreduced ratios produced by a mechanical charge-swapping shortcut.

Advanced insight

An ionic formula represents composition, not necessarily a separate molecule. Real solids can also contain defects or variable compositions that need more advanced notation. The simple whole-number rules here apply to the specified ideal salts used in introductory exercises.

Summary

Neutral ionic formulas balance total positive and negative charge using the smallest whole-number ion ratio. Charges belong to ions; subscripts count them. Identify variable charges first, reduce common factors and confirm the final sum of charges is zero.

Practice questions

1. Write the formula from K⁺ and O²⁻. Answer: K₂O, because two +1 charges balance one −2 charge. 2. Write the formula from Al³⁺ and Cl⁻. Answer: AlCl₃, because three chlorides balance one aluminium ion. 3. A proposed formula Mg₂O₂ is neutral. Why is MgO preferred in this context? Answer: Ionic empirical formulas use the simplest ratio; dividing both counts by two gives MgO.