Formula Writing Examples: 46 Problems with Answers

Worked examples of Formula Writing to try before you open each solution, then practice problems with answers.

Worked Examples

Example 1

easy
Write the chemical formula for aluminum chloride using the charges of the ions: Al3+ and Cl−.
Show solution

Answer

AlCl3

First step

1.
Aluminum has a charge of +3 and chlorine has a charge of −1.

Full solution

  1. 2.
    To balance the charges, we need 3 chloride ions for every 1 aluminum ion: 3×(−1)=−3 balances +3.
  2. 3.
    The formula is AlCl3. The subscript 3 on Cl indicates three chloride ions per formula unit.
When writing ionic compound formulas, the total positive charge must equal the total negative charge so the compound is electrically neutral. The crisscross method (using charge magnitudes as subscripts) is a quick shortcut.

Example 2

medium
Write the chemical formula for calcium phosphate using the crisscross method. Calcium forms Ca2+ and phosphate is PO43−.

Example 3

medium
Write the formula for copper(I) sulfide using the Stock system.

Example 4

hard
Combustion analysis of 0.500 g of a hydrocarbon yields 1.571 g CO2 and 0.643 g H2O. Find its empirical formula.

Practice Problems

Try each one, then open the solution to compare your method.

Example 1

medium
Write the correct chemical formulas for: (a) iron(III) sulfate, (b) ammonium carbonate.

Example 2

hard
A student writes the formula for magnesium nitride as MgN. Explain why this is incorrect and determine the correct formula. (Mg2+, N3−)

Example 3

easy
Write the formula for sodium chloride from Na+ and Cl−.

Example 4

easy
Write the formula for Mg2+ and Cl−.

Example 5

easy
Write the formula for Al3+ and O2−.

Example 6

easy
Write the formula for calcium hydroxide (Ca2+ and OH−).

Example 7

easy
Write the formula for potassium oxide (K+ and O2−).

Example 8

easy
Write the formula for ammonium chloride (NH4+ and Cl−).

Example 9

easy
Write the formula for magnesium oxide (Mg2+ and O2−).

Example 10

easy
Write the formula for sodium sulfate (Na+ and SO42−).

Example 11

medium
Write the formula for aluminum sulfate (Al3+ and SO42−).

Example 12

medium
Write the formula for iron(III) oxide.

Example 13

medium
Write the formula for calcium phosphate (Ca2+ and PO43−).

Example 14

medium
Write the formula for ammonium sulfate (NH4+ and SO42−).

Example 15

medium
Write the formula for copper(II) nitrate.

Example 16

medium
Distinguish: in 3H2O, what does the 3 represent versus the 2?

Example 17

medium
Write the formula for iron(II) phosphate.

Example 18

medium
Why must Al2O3 (not Al2O2) form from Al3+ and O2−?

Example 19

medium
Write the formula for sodium phosphate (Na+ and PO43−).

Example 20

challenge
A metal M forms M2(SO4)3. What is the charge on M?

Example 21

challenge
Write the formula for chromium(III) sulfate and total the atoms.

Example 22

challenge
Element X is in group 2 and Y is in group 16. Predict the compound formula.

Example 23

easy
Write the chemical formula for lithium fluoride (Li+ and F−).

Example 24

easy
Write the chemical formula for barium chloride (Ba2+ and Cl−).

Example 25

easy
Write the formula for zinc oxide (Zn2+ and O2−).

Example 26

easy
Write the formula for potassium bromide.

Example 27

medium
Write the formula for sodium phosphide (Na+ and P3−).

Example 28

medium
Write the formula for aluminum nitrate (Al3+ and NO3−).

Example 29

medium
Write the formula for magnesium phosphate.

Example 30

medium
Write the formula for tin(IV) oxide.

Example 31

medium
Write the formula for potassium permanganate (K+ and MnO4−).

Example 32

medium
Write the formula for ammonium phosphate.

Example 33

medium
Write the formula for calcium carbonate.

Example 34

medium
Write the formula for lead(II) nitrate.

Example 35

medium
Write the formula for iron(III) hydroxide.

Example 36

hard
A compound has the empirical formula CH2O and a molar mass of 180 g/mol. Write its molecular formula.

Example 37

hard
A sample contains 40.0% S and 60.0% O by mass. Find its empirical formula.

Example 38

hard
Write the formula for chromium(III) phosphate.

Example 39

hard
Write the formula for ammonium dichromate (NH4+ and Cr2O72−).

Example 40

hard
Write the formula for the binary covalent compound dinitrogen pentoxide.

Example 41

challenge
Hydrated copper(II) sulfate has formula CuSO4⋅xH2O and is 36.1% water by mass (MCuSO4=159.6, MH2O=18.0). Find x.

Example 42

challenge
A binary ionic compound of element X (group 13) and element Y (group 16) is electrically neutral. Predict X's charge, Y's charge, and the formula.

What to focus on

Core idea: An ionic compound has no overall charge, so its formula uses the smallest whole numbers of cations and anions whose charges cancel, with polyatomic ions kept intact as units in parentheses.

Common stuck point: Students often know a formula related to formula writing but skip the recognition step: Am I combining ions in the ratio that makes the total charge zero? That leads to a correct-looking substitution attached to the wrong chemical model.

Ask yourself: Am I combining ions in the ratio that makes the total charge zero?

Concept recap

The systematic process of combining element symbols and numerical subscripts to represent the exact composition of a chemical compound, ensuring that the total positive charge from the cations balances the total negative charge from the anions so the compound is electrically neutral.

Writing an ionic formula is like levelling a seesaw with +3 weights on one side and −2 weights on the other: it balances only with two of the first and three of the second, and you always use the fewest weights that work. Compounds of two nonmetals don't use the seesaw; their formulas come from their names.

Read the full lesson on Formula Writing

Background knowledge

These ideas may be useful before you work through the harder examples.

ionchemical bond