Chemistry › Section B · Atoms, molecules, and ions › Topic B.3

Chemical formulas

A chemical formula packs the make-up of a substance into a few letters and numbers. Learning to read formulas exactly, and to tell an empirical formula from a molecular one, is the groundwork for every calculation in chemistry.

Formulas as chemistry's shorthand

Many substances are made of molecules: groups of two or more atoms held together by chemical bonds, the attractions that hold atoms or ions together. A molecular formula lists the symbols of the elements in one molecule, each followed by a subscript giving how many atoms of that element it contains. Water is \(\text{H}_2\text{O}\): two hydrogen atoms and one oxygen atom. Carbon dioxide is \(\text{CO}_2\). A subscript of 1 is never written, so the C in \(\text{CO}_2\) stands for one carbon atom. The same formula serves at two scales: it describes a single molecule and also names the substance in a whole bottle.

Reading a formula exactly

A subscript belongs only to the symbol just before it. Parentheses group atoms that act as a unit, and a subscript after the closing bracket multiplies everything inside: \(\text{Ca(OH)}_2\) has one calcium, two oxygen and two hydrogen atoms. A coefficient, a number written in front of a formula, counts whole units and multiplies every atom: \(3\text{Ca(OH)}_2\) means 3 calcium, 6 oxygen and 6 hydrogen atoms, 15 atoms in all. Likewise \(\text{Al}_2(\text{SO}_4)_3\) holds 2 aluminium, 3 sulfur and 12 oxygen atoms. Changing a subscript changes the substance; changing a coefficient only changes how much of it you have.

Elements that come as molecules

Some elements are made of separate atoms: the noble gases such as helium and neon. Others exist as molecules. Seven elements normally form diatomic (two-atom) molecules: \(\text{H}_2\), \(\text{N}_2\), \(\text{O}_2\), \(\text{F}_2\), \(\text{Cl}_2\), \(\text{Br}_2\) and \(\text{I}_2\). Oxygen also forms ozone, \(\text{O}_3\), with very different properties; white phosphorus is \(\text{P}_4\); and the common form of sulfur is \(\text{S}_8\), a ring of eight atoms. Keep the notation straight: O is one oxygen atom, 2O is two separate atoms, \(\text{O}_2\) is one molecule of two bonded atoms, and \(2\text{O}_2\) is two such molecules.

Structural formulas and models

A molecular formula says which atoms are present, not how they are joined. A structural formula adds that, drawing each bond as a line: water is H–O–H, showing that both hydrogens attach to the oxygen, not to each other. A condensed structural formula writes the groups in order, such as \(\text{CH}_3\text{CH}_2\text{OH}\) for ethanol, the alcohol in drinks. Three-dimensional models go further. A ball-and-stick model shows atoms as balls and bonds as sticks, making the angles between bonds easy to see. A space-filling model shows atoms at their relative sizes, merging into each other, which gives a truer picture of the molecule's overall shape.

Empirical formulas

An empirical formula gives only the simplest whole-number ratio of atoms in a compound. Hydrogen peroxide is \(\text{H}_2\text{O}_2\) as a molecule, but its atoms are in the ratio 1 : 1, so its empirical formula is HO. For many compounds the two agree: \(\text{H}_2\text{O}\) and \(\text{CO}_2\) cannot be simplified. Each subscript in a molecular formula equals the empirical subscript times one shared whole number. Empirical formulas matter because laboratory analysis usually reveals the ratio of elements first. Some substances, such as table salt, do not form separate molecules at all, so they are described only by a ratio formula, NaCl; you will meet these in a later topic.

Worked example: finding empirical formulas

Find the empirical formulas of butane, \(\text{C}_4\text{H}_{10}\); the nitrogen oxide \(\text{N}_2\text{O}_4\); and ethanol, \(\text{C}_2\text{H}_6\text{O}\). 1. Butane: the ratio 4 : 10 has a highest common factor of 2, so divide both by 2 to get \(\text{C}_2\text{H}_5\). 2. The nitrogen oxide: 2 : 4 divides by 2, giving \(\text{NO}_2\). 3. Ethanol: 2 : 6 : 1 has no common factor bigger than 1, because of the single oxygen, so its empirical formula is \(\text{C}_2\text{H}_6\text{O}\), the same as its molecular formula. 4. Check: multiplying each empirical formula back by the factor you divided by returns the molecular formula, and no subscript is a fraction.

From empirical to molecular formula

To recover a molecular formula, you need one more fact: the molecular mass, the sum of the atomic masses of every atom in one molecule, in u. Find the mass of one empirical formula unit the same way, then divide:

n = \frac{\text{molecular mass}}{\text{empirical formula mass}}

The answer \(n\) should be a whole number, or very close to one. Multiply every subscript in the empirical formula by \(n\). Use the atomic masses from the periodic table, such as C 12.011, H 1.008, N 14.007 and O 15.999.

Worked example: finding a molecular formula

A liquid has the empirical formula \(\text{CH}_2\) and a molecular mass of 84.16 u. Find its molecular formula. 1. Empirical formula mass: \(12.011 + 2(1.008) = 14.027\) u. 2. Divide: \(n = 84.16 \div 14.027 = 6.000\). 3. Multiply each subscript by 6: \(\text{C}_6\text{H}_{12}\). 4. Check by adding up the molecular mass: \(6(12.011) + 12(1.008) = 72.066 + 12.096 = 84.162\) u, which rounds to the given 84.16 u. Notice that the empirical formula alone could not tell \(\text{C}_6\text{H}_{12}\) apart from \(\text{C}_2\text{H}_4\) or \(\text{C}_4\text{H}_8\); the molecular mass settles it.

Isomers: same formula, different molecule

Even a molecular formula does not always identify a single substance. Isomers share one molecular formula yet differ in how their atoms are put together. Ethanol and dimethyl ether are both \(\text{C}_2\text{H}_6\text{O}\). In ethanol, \(\text{CH}_3\text{CH}_2\text{OH}\), the oxygen sits at the end and carries a hydrogen; ethanol is a liquid that boils at about 78 °C. In dimethyl ether, \(\text{CH}_3\text{OCH}_3\), the oxygen sits between the two carbons, and the compound is a gas at room temperature, boiling at about \(-24\) °C. Atoms joined in a different order make structural isomers. Other isomers differ only in how their atoms point in space, like a left and a right hand.

Common mistakes to avoid

First, confusing coefficients with subscripts: \(2\text{H}_2\text{O}\) is two water molecules, while \(\text{H}_2\text{O}_2\) is a different substance. Second, forgetting that a subscript after a bracket multiplies everything inside it. Third, simplifying a ratio that cannot be simplified, or dividing only some of the subscripts. Fourth, assuming the empirical and molecular formulas are always different; often they are the same. Fifth, writing H or O for the elements hydrogen and oxygen as they normally exist; as gases they are \(\text{H}_2\) and \(\text{O}_2\). Sixth, thinking one molecular formula means one compound: isomers share formulas.

Key takeaways

A molecular formula gives the actual number of each kind of atom in one molecule; subscripts count atoms, brackets group them and coefficients count whole units. Seven elements form diatomic molecules, and some form larger ones such as \(\text{O}_3\), \(\text{P}_4\) and \(\text{S}_8\). Structural formulas and models show how atoms connect and how they sit in space. An empirical formula is the simplest whole-number ratio; dividing the molecular mass by the empirical formula mass gives the multiplier \(n\). Isomers share a molecular formula but differ in structure and properties.

Flashcards

Flashcard

Molecule

Two or more atoms held together by chemical bonds

H₂O is one molecule of water.

Test your understanding

Question 1 of 5

A compound has the molecular formula C₆H₁₀O₂. What is its empirical formula?

Question 2 of 5

How many oxygen atoms are shown in 2Ca(NO₃)₂?

Question 3 of 5

A gas has the empirical formula CH₂ and a molecular mass of 56.11 u. What is its molecular formula? (C = 12.011, H = 1.008)

Question 4 of 5

Which notation shows two separate oxygen atoms that are not bonded to each other?

Question 5 of 5

Ethanol, CH₃CH₂OH, and dimethyl ether, CH₃OCH₃, are both C₂H₆O. How are they related?

← Previous topicNext topic →