How to name ionic compounds, step by step

An ionic compound is named cation first, then anion. A metal cation keeps the element's name; a one-atom anion changes its ending to -ide; a polyatomic ion keeps its own name. NaCl is sodium chloride, Mg₃N₂ is magnesium nitride, and Ca₃(PO₄)₂ is calcium phosphate.

Ionic names never use prefixes like di- or tri-: the charges already fix how many of each ion there are. If the metal can form more than one charge, the name adds a Roman numeral, as in iron(III) chloride.

The steps

Common anion names

ElementAnionName
fluorineF⁻fluoride
chlorineCl⁻chloride
bromineBr⁻bromide
iodineI⁻iodide
oxygenO²⁻oxide
sulfurS²⁻sulfide
nitrogenN³⁻nitride
phosphorusP³⁻phosphide

From name to formula

A quick check: the formula should be in the lowest whole-number ratio, and the charges should add up to zero.

Is it ionic or molecular?

The naming rules depend on the type of compound, so decide that first. A metal or ammonium with anything else is ionic: no prefixes. Two nonmetals, like CO₂ or N₂O₄, form a molecular compound, which does use prefixes: carbon dioxide, dinitrogen tetroxide. Calling CaCl₂ “calcium dichloride” mixes the two systems.

Worked example: five ionic compounds

  1. NaCl: sodium + chloride = sodium chloride.
  2. Mg₃N₂: magnesium + nitride = magnesium nitride (no prefixes, even with 3 and 2).
  3. Al³⁺ and O²⁻ combine 2 : 3, so aluminum oxide is Al₂O₃.
  4. Ca²⁺ and PO₄³⁻ combine 3 : 2, so calcium phosphate is Ca₃(PO₄)₂.
  5. NH₄⁺ and NO₃⁻: ammonium nitrate, NH₄NO₃.

Common mistakes

Check yourself

Three questions from the Molar Mass Learning Lab, Stage 1. Work each one out, then open the answer.

  1. In NH₃, what does the small 3 after H tell you?

    1. There are 3 NH₃ molecules
    2. There are 3 hydrogen atoms in one NH₃
    3. There are 3 nitrogen atoms
    4. Hydrogen has a charge of 3+
    Show the answer

    Answer: B. There are 3 hydrogen atoms in one NH₃

    1. The 3 is a subscript. It belongs to H, so one NH₃ contains 3 hydrogen atoms.

    A subscript is the small number written after an element symbol.

  2. In KBr, there is no subscript after Br. How many bromine atoms are in one formula unit?

    1. You can't tell
    2. 0
    3. 1
    4. 2
    Show the answer

    Answer: C. 1

    1. No subscript means 1, so there is 1 bromine atom in KBr.

    Chemists don't write the number 1 as a subscript.

  3. In a balanced equation you see 3CO₂. Which number is the coefficient?

    1. 3
    2. Neither
    3. Both 3 and 2
    4. 2
    Show the answer

    Answer: A. 3

    1. 3 is the coefficient: there are 3 separate CO₂ units. Molar mass is always for one CO₂, so the coefficient doesn't change it.

    A coefficient is written in front of the whole formula, at full size.

Try it in the lab

Practice it as a game

Naming Compounds Game → Match chemical names and formulas: binary ionic compounds, Roman numerals, polyatomic ions and molecular prefixes. Every wrong choice is a mistake students really make.

Questions students ask

Why don't ionic compounds use prefixes?

The charges set the ratio. Calcium is always Ca²⁺ and chloride always Cl⁻, so calcium chloride can only be CaCl₂.

Which ion is named first?

The cation, the positive ion.

What about ammonium compounds?

Ammonium, NH₄⁺, is named like a metal cation: ammonium chloride, ammonium sulfate.

Related calculators

More guides on this topic

Teaching molar mass? Poll your class on it

A live poll shows you in seconds who has the idea and who doesn't. Every student answers the same question on their phone, the big screen shows the spread of answers without any names, and you see where the class is before you explain.

Ready-made questions: the three checks in each stage of the Molar Mass Learning Lab work well as poll questions. They're built around the slips students make most with molar mass: ignoring a subscript, not multiplying through brackets and using the atomic number instead of the atomic mass. Stage 2: Counting atoms is a good place to start.

How Classroom Polls work →

Students join at pollwithali.com with the code on the screen; no account needed. Presenter accounts are by invitation during the pilot.