📘 CodingMarble Learn

Naming Inorganic Compounds: Formulas and Names

Every compound has a formula and a name that follow fixed rules. Ions carry charges: metals form positive ions, non-metals form negative ions. A compound must have zero total charge, so the numbers of ions are chosen to cancel (criss-cross: swap the charge numbers). The metal name comes first, then the non-metal with an -ide ending (sodium chloride). Groups like sulfate, nitrate and hydroxide keep their own names and need brackets when there is more than one. Roman numerals show the charge of metals such as iron(III), and prefixes (mono, di, tri) name molecules like CO2.

🎬 Step-by-step story

  1. Here are two ions: sodium (Na) and chloride (Cl). Each has one small glowing dot. The dots count the charge: Na has 1 plus, Cl has 1 minus.
  2. A compound must have zero total charge. One plus and one minus cancel. So one Na joins one Cl. The formula is NaCl. Metal first, then the other one with -ide: sodium chloride.
  3. Now magnesium (Mg) has two plus dots, but chloride has only one minus dot. One Cl is not enough. Two Cl are needed. The formula is MgCl2 and the name is magnesium chloride.
  4. Aluminium (Al) has 3 plus and oxide (O) has 2 minus. Swap the numbers: 2 Al and 3 O. Check: 2 × 3 = 6 plus and 3 × 2 = 6 minus. The formula is Al2O3.
  5. Some ions are small groups: hydroxide is OH. Calcium has 2 plus, so it needs two OH. We put OH in brackets: Ca(OH)2. The name is calcium hydroxide.
  6. Free play: pick any positive ion and any negative ion. Watch the ions join, count the dots, and read the formula and the name.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

How do I know how many ions to take?

Count the charge dots. Add ions on either side until the plus dots and the minus dots are equal.

What does the criss-cross trick really do?

It gives the numbers that make the totals equal: charge of one times its count equals charge of the other times its count.

Why does the name end with -ide?

-ide is the ending for a simple negative non-metal ion: chloride, oxide, sulfide. It tells you the compound is made of two kinds of element.

When do I use brackets?

Only when you need more than one of a group of atoms, like OH or SO₄. A single group needs no brackets.

Do all metals have one charge?

No. Iron and copper have two possible charges, so the Roman numeral in the name tells which one. Try Fe with different negative ions in free play.

Names and symbols of elements

Every element has a one or two letter symbol. The first letter is a capital, the second (if any) is small: H, C, O, Na, Cl. Some symbols come from old Latin names: Na (natrium) for sodium, K (kalium) for potassium, Fe (ferrum) for iron, Cu (cuprum) for copper.

To read a formula you must know these symbols. Learn the first 20 elements, and a few common metals, as a start.

Ions and their charges

An ion is an atom, or a group of atoms, that has gained or lost electrons and so carries a charge.

Charge patterns: metals of group 1 are 1+, group 2 are 2+, aluminium is 3+; halogens are 1−, oxygen and sulfur are 2−.

Writing a formula: the criss-cross rule

A compound has zero total charge. So we pick numbers of ions that make plus and minus equal.

  1. Write the symbols with charges: Al³⁺ and O²⁻.
  2. Criss-cross: the number of the charge of one becomes the small number of the other. Al gets 2 and O gets 3.
  3. Write Al₂O₃. If both small numbers can be divided by the same number, divide (Mg²⁺ and O²⁻ gives MgO, not Mg₂O₂).
  4. Check: 2 × 3+ = 6+ and 3 × 2− = 6−. Equal, so correct.

The cation goes first in the formula and in the name. A small number 1 is never written.

Polyatomic ions, brackets and common names

Some groups of atoms move together as one ion. They keep their own name and charge:

If you need more than one of the group, put brackets round it: Ca(OH)₂, Al₂(SO₄)₃, (NH₄)₂SO₄. Without brackets Ca(OH)₂ would wrongly look like CaOH2.

Name endings: -ide for simple non-metal ions and OH⁻, -ate for groups with more oxygen (sulfate, nitrate, carbonate), -ite for groups with less oxygen (sulfite, nitrite).

Metals with more than one charge, and molecules

Some metals can form more than one ion. Iron forms Fe²⁺ and Fe³⁺, copper forms Cu⁺ and Cu²⁺. We show the charge with a Roman numeral in brackets: FeCl₂ is iron(II) chloride, FeCl₃ is iron(III) chloride.

Molecules of two non-metals do not use ion charges. We use prefixes for the numbers of atoms: mono 1, di 2, tri 3, tetra 4, penta 5. So CO is carbon monoxide, CO₂ is carbon dioxide, N₂O₅ is dinitrogen pentoxide. (The first prefix mono is dropped.)

Acids have names you should also know: HCl hydrochloric acid, H₂SO₄ sulfuric acid, HNO₃ nitric acid.

Everyday uses of compounds

NaCl is table salt and keeps food tasty and safe. Ca(OH)₂ (slaked lime) is used in whitewash and in treating acidic soil. CaCO₃ is limestone, chalk and marble. NaHCO₃ is baking soda. NH₄NO₃ and (NH₄)₂SO₄ are fertilisers. MgO is used in antacid tablets. When you read the name on a label, you can now work out which ions are in it.

Try it: take 5 labels from your kitchen or medicine box (salt, baking soda, toothpaste, antacid, fertiliser if possible). Write each compound name and then its formula, and use the 3D builder to check.

Key formulas and definitions

Worked examples

1. Write the formula of magnesium chloride.

Mg²⁺ and Cl⁻. Criss-cross gives Mg₁Cl₂, so MgCl₂. Check: 2+ and 2 × 1− = 2−.

2. Write the formula of aluminium oxide.

Al³⁺ and O²⁻. Criss-cross: Al₂O₃. Check: 2 × 3+ = 6+, 3 × 2− = 6−.

3. Write the formula of calcium hydroxide.

Ca²⁺ and OH⁻. We need two OH, so Ca(OH)₂ with brackets.

4. Name Fe₂O₃ and write what the Roman numeral means.

Three O²⁻ give 6−, so the two Fe give 6+, which is 3+ each. Name: iron(III) oxide. The (III) means Fe³⁺.

5. Name N₂O₅ and SO₃.

N₂O₅ is dinitrogen pentoxide (di = 2 nitrogen, penta = 5 oxygen). SO₃ is sulfur trioxide (no mono on the first atom).

6. Write the formula of aluminium sulfate.

Al³⁺ and SO₄²⁻. Criss-cross: Al₂(SO₄)₃, with brackets round the sulfate. Check: 2 × 3+ = 6+ and 3 × 2− = 6−.

Common mistakes

Practice quiz

1. What is the formula of sodium chloride?
2. The formula of calcium hydroxide is:
3. What is the name of CO₂?
4. A negative ion of a simple non-metal ends with:
5. In iron(III) chloride the charge on iron is:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

How do I write a chemical formula quickly?

Write the ions with their charges, swap the charge numbers (criss-cross), reduce if both can be divided, add brackets for groups when the number is more than 1, and check that plus equals minus.

What is the difference between sulfate and sulfide?

Sulfide is the simple ion S²⁻. Sulfate is the group SO₄²⁻, which has oxygen too. -ide means one simple non-metal, -ate means a group with oxygen.

Why does iron have a Roman numeral in its name?

Iron can form two ions, Fe²⁺ and Fe³⁺. The Roman numeral tells you which one is in the compound, for example iron(III) chloride is FeCl₃.

Learn first

Learn next

Related lessons

All Chemistry lessons