Find a course

Module 3: Bonds and CompoundsLesson 7 of 1111 min

Chemical Formulas and Naming Compounds

Read chemical formulas and count atoms, write formulas for ionic compounds by balancing charges, and name ionic and covalent compounds correctly.

Step 1 of 12Learn

One extra oxygen

H₂O is water. Add one more oxygen atom and you get H₂O₂, hydrogen peroxide, a bleaching agent you should never drink. In chemistry, every symbol and number in a formula matters.

A chemical formula lists the elements in a substance and how many atoms of each it contains:

  • A subscript (small number after a symbol) counts the atoms of the element just before it. In CO₂ there is 1 carbon and 2 oxygens. No subscript means 1.
  • Parentheses group atoms that act as a unit, and a subscript after the parentheses multiplies everything inside. Ca(OH)₂ contains 1 calcium, 2 oxygen and 2 hydrogen atoms.
  • A coefficient (big number in front) counts whole units. 3H₂O means three water molecules: 6 hydrogen atoms and 3 oxygen atoms.

Worked example: how many atoms are in Mg(NO₃)₂? Magnesium: 1. Nitrogen: 1 × 2 = 2. Oxygen: 3 × 2 = 6. Total: 9 atoms.

The most common slip is forgetting that a subscript after parentheses applies to every atom inside, not just the last one.

Step 2 of 12Practice · Work it out

How many atoms in total are in one unit of aluminum sulfate, Al₂(SO₄)₃?

Step 3 of 12Chart

The 17 atoms in one unit of Al₂(SO₄)₃

The subscript 3 outside the bracket multiplies everything inside it.

The 17 atoms in one unit of Al₂(SO₄)₃Donut chart with 3 categories: Aluminum: 2 (11.8%); Sulfur: 3 (17.6%); Oxygen: 12 (70.6%).12%18%71%17Total
The 17 atoms in one unit of Al₂(SO₄)₃
ItemAtoms
Aluminum2
Sulfur3
Oxygen12

Step 4 of 12Learn

Writing ionic formulas

An ionic compound has no overall charge, so the positive and negative charges must cancel. To write its formula, combine just enough ions to make the total charge zero.

  • Na⁺ and Cl⁻: one of each cancels (+1 − 1 = 0), giving NaCl.
  • Mg²⁺ and Cl⁻: one Mg²⁺ needs two Cl⁻, giving MgCl₂.
  • Al³⁺ and O²⁻: the smallest numbers that balance are 2 aluminum (+6) and 3 oxygen (−6), giving Al₂O₃.

A handy shortcut is the criss-cross method: use each ion's charge number as the other ion's subscript, then reduce to the simplest ratio. Al³⁺ and O²⁻ criss-cross to Al₂O₃. Ca²⁺ and O²⁻ criss-cross to Ca₂O₂, which reduces to CaO.

Some ions are groups of atoms that stay together, called polyatomic ions. Treat them as single units, using parentheses when you need more than one: calcium hydroxide is Ca(OH)₂, not CaOH₂.

Step 5 of 12Flashcards

Common polyatomic ions

Tap a card to flip it.

Step 6 of 12Practice · Choose one

Calcium forms Ca²⁺ ions and oxygen forms O²⁻ ions. What is the formula of calcium oxide?

Step 7 of 12Learn

Naming compounds

Ionic and covalent compounds follow different naming rules, so first decide which kind you have.

Ionic compounds (metal + nonmetal): name the metal, then the nonmetal with its ending changed to -ide. NaCl is sodium chloride; MgO is magnesium oxide; K₂S is potassium sulfide. Polyatomic ions keep their names: CaCO₃ is calcium carbonate. Ionic names never use prefixes like "di-", because the charges already fix the ratio. MgCl₂ is magnesium chloride, not magnesium dichloride.

Some metals, mostly transition metals, can form ions with different charges. A Roman numeral shows which: FeO is iron(II) oxide and Fe₂O₃ is iron(III) oxide, the reddish compound in rust.

Covalent compounds (two nonmetals): use prefixes to show the number of each atom: mono- (1), di- (2), tri- (3), tetra- (4), penta- (5). CO₂ is carbon dioxide, CO is carbon monoxide, and N₂O₄ is dinitrogen tetroxide. Skip "mono-" on the first element: CO is carbon monoxide, not monocarbon monoxide.

A few compounds keep common names that everyone uses: H₂O is water and NH₃ is ammonia.

Step 8 of 12Practice · Match the pairs

Match each formula to its correct name.

Tap an answer, then tap the place where it belongs (or drag it there).

  1. CO
  2. CO₂
  3. CaCO₃
  4. Fe₂O₃
  5. N₂O₄

Step 9 of 12Practice · Fill in the blanks

Fill in the blanks

Aluminum forms Al³⁺ ions and chlorine forms Cl⁻ ions, so the formula of aluminum chloride is .

Step 10 of 12Practice · Spot the mistake

A student labeled six bottles. Tap the two labels that are named incorrectly.

Step 11 of 12Diagram

Which naming rule?

Which naming rule?Hierarchy diagram: What is it made of?, Metal + nonmetal (ionic), Two nonmetals (covalent), Metal + nonmetal-ide, Roman numeral if needed, Keep polyatomic names, Use prefixes.What is it madeof?Metal + nonmetal(ionic)Two nonmetals(covalent)Metal +nonmetal-ideRoman numeralif neededKeeppolyatomicnamesUse prefixes

Tap a shape with to see more.

What is it made of?
Metal + nonmetal (ionic)
Two nonmetals (covalent)
Metal + nonmetal-ide

No prefixes: CaCl₂ is calcium chloride.

Roman numeral if needed

For metals with several charges: Fe₂O₃ is iron(III) oxide.

Keep polyatomic names

CaCO₃ is calcium carbonate.

Use prefixes

mono-, di-, tri-, tetra-: N₂O₄ is dinitrogen tetroxide.

Step 12 of 12Practice · True or false

The expression 2H₂O represents a total of 2 hydrogen atoms.