Skip to content
Tutorials Center
My learning

Topics

Lesson 25 of 39 · Ionic and Covalent Bonding

Formulas and Names of Ionic Compounds

Write the formula of an ionic compound by balancing charges, name it correctly, and handle polyatomic ions and transition metals with worked examples.

An ionic compound is electrically neutral overall: the positive and negative charges cancel. That single rule lets you write any ionic formula, and a short set of naming conventions lets you say it in words. This lesson teaches both, including compounds with polyatomic ions such as sulfate and with transition metals.

The neutrality rule

A formula unit is the simplest whole-number ratio of ions in the compound. To find it, choose numbers of each ion so that the total charge is zero.

Example: calcium chloride. Calcium forms Ca²⁺ and chlorine forms Cl⁻. One Ca²⁺ carries +2, so you need two Cl⁻ to balance. The formula is CaCl₂.

Example: aluminum oxide. Al³⁺ and O²⁻. The least common multiple of 3 and 2 is 6. You need two Al³⁺ (+6) and three O²⁻ (-6). The formula is Al₂O₃.

The "crisscross" shortcut gives the same result: the numerical charge of one ion becomes the subscript of the other. Check by adding charges. Always reduce to the lowest ratio: Mg²⁺ with O²⁻ is MgO, not Mg₂O₂.

Naming simple ionic compounds

  1. Name the cation first, using the element's name.
  2. Name the anion second, changing the ending of the nonmetal's name to -ide.
Formula Name
NaCl sodium chloride
CaCl₂ calcium chloride
Al₂O₃ aluminum oxide
Mg₃N₂ magnesium nitride
K₂S potassium sulfide

Do not use prefixes like "di-" or "tri-" for ionic compounds. The charges already fix the ratio, so CaCl₂ is calcium chloride, not calcium dichloride.

Transition metals: Roman numerals

Many transition metals form more than one ion. The name uses a Roman numeral for the charge of the cation.

Formula Cation Name
FeCl₂ Fe²⁺ iron(II) chloride
FeCl₃ Fe³⁺ iron(III) chloride
CuO Cu²⁺ copper(II) oxide
Cu₂O Cu⁺ copper(I) oxide

To find the charge from a formula, work backward: in Cu₂O there are two copper ions balancing one O²⁻, so each carries +1.

Polyatomic ions

A polyatomic ion is a group of atoms that carries an overall charge and stays together as a unit. Learn these common ones:

Name Formula Name Formula
ammonium NH₄⁺ hydroxide OH⁻
nitrate NO₃⁻ sulfate SO₄²⁻
carbonate CO₃²⁻ phosphate PO₄³⁻
hydrogencarbonate HCO₃⁻ nitrite NO₂⁻

When you need more than one polyatomic ion, put the ion in parentheses with the subscript outside:

  • Calcium hydroxide: Ca²⁺ and OH⁻ give Ca(OH)₂.
  • Ammonium sulfate: NH₄⁺ and SO₄²⁻ give (NH₄)₂SO₄.
  • Aluminum sulfate: Al³⁺ and SO₄²⁻ give Al₂(SO₄)₃.

Never change the subscripts inside the polyatomic ion; changing SO₄ to SO₃ would be a different ion altogether.

Do not use parentheses when only one polyatomic ion is needed: NaOH, not Na(OH).

Python Find the ratio from the charges

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Python A small formula writer

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The output prints plain digits (for example Al2(SO4)3) where a textbook uses subscripts. This is a stand-in rule-follower that applies the charge-balance method.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What is the formula of magnesium nitride, from Mg²⁺ and N³⁻?

    Three Mg²⁺ give +6 and two N³⁻ give -6, so the formula is Mg₃N₂.
  2. 2. What is the name of Fe₂O₃?

    Three O²⁻ carry -6, so the two iron ions carry +3 each, which is iron(III).
  3. 3. Which formula is correct for aluminum sulfate?

    Two Al³⁺ (+6) balance three SO₄²⁻ (-6); the polyatomic ion goes in parentheses.
  4. 4. Which name is correct for CaCl₂?

    Ionic compounds are named cation then anion with an -ide ending, and without numeric prefixes.

Summary

  • Ionic formulas are written so that the positive and negative charges cancel.
  • Name the cation first, then the anion with an -ide ending; no prefixes.
  • Transition metal names include a Roman numeral for the charge.
  • Polyatomic ions stay intact and go in parentheses when more than one is needed.

Next: Covalent Bonds and Lewis Structures