Chalk−1

Chemistry · General chemistry I · Concept

Empirical and molecular formulas

To find an empirical formula, treat each element’s mass percent as grams in a 100 g sample, convert each mass to moles, and divide by the smallest amount to get the simplest whole-number ratio. The molar mass then tells you how many empirical units make one molecule.

Try one — Chalk checks each line

A concrete case

Weighing atoms to count them

A strip of magnesium burns in air with a white flash and leaves a white powder. Suppose 2.43 g of magnesium combines with 1.60 g of oxygen. What is the formula of the powder?

The masses alone mislead. 2.43 g against 1.60 g looks like three parts to two. But a magnesium atom is heavier than an oxygen atom, so equal numbers of atoms do not weigh the same.

Count the atoms in moles instead. 2.43 g÷24.31 g/⁢mol =0.100 mol of magnesium, and 1.60 g÷16.00 g/⁢mol =0.100 mol of oxygen. The atoms pair one to one, and the powder is MgO.

2.43 g24.31 g/mol=0.100 mol Mg,1.60 g16.00 g/mol=0.100 mol O
2.43 g24.31 g/mol=0.100 mol Mg1.60 g16.00 g/mol=0.100 mol O

The rule

Two kinds of formula

An empirical formula gives the simplest whole-number ratio of the atoms in a compound. A molecular formula gives the actual number of each atom in one molecule.

Glucose has the molecular formula C6H12O6. Every subscript divides by 6, so its empirical formula is CH2O. Formaldehyde is CH2O both ways, because its subscripts are already as small as they can be.

The molecular formula is always a whole-number multiple of the empirical formula. That multiple, n, is the molar mass of the compound divided by the molar mass of one empirical unit, the empirical formula mass.

n=M⁢(molecular formula)M⁢(empirical formula)
n=M⁢(molecular)M⁢(empirical)

Percent composition

The mass percent of an element is the share of the compound’s mass that the element supplies. Take one mole of the compound. Multiply the element’s atomic mass by the number of its atoms in the formula, divide by the molar mass, and multiply by 100⁢%.

The percentages of all the elements add up to 100⁢%, apart from rounding. A lab report gives percentages, and a formula gives atoms. This lesson runs between the two.

%element=(atoms in formula)×M⁢(element)M⁢(compound)×100⁢%
%element=(atoms)×M⁢(element)M⁢(compound)×100⁢%

Why it works

Why moles, and why divide by the smallest

A formula counts atoms. A percentage counts grams. Dividing each element’s grams by its molar mass, grams per mole, turns every mass into a count in the same unit, moles. Only counts can be compared as a ratio of atoms.

Dividing every count by the same number does not change their ratio, the way 6 : 12 : 6 and 1 : 2 : 1 describe the same mixture. Dividing by the smallest makes that element 1 and shows the others as multiples of it.

The 100 g sample is a convenience. Percent means per hundred, so 100 g turns 40.0⁢% into 40.0 g. Any other sample size scales every mass by the same factor and leaves the ratio unchanged.

Percentages cannot tell a molecule from its multiples. CH2O, C2H4O2 and C6H12O6 each have the same ratio of atoms, so each is 40.00⁢% carbon by mass. Only a measured molar mass separates them.

Three compounds with the empirical formula CH2O
FormulaMolar mass (g/⁢mol)% C% H% O
CH2O30.0340.006.7153.29
C2H4O260.0540.006.7153.29
C6H12O6180.1640.006.7153.29

The method

From mass percents to a formula

Percentages become a formula in five moves.

1. Take a 100 g sample, so each percentage becomes grams. If one element is not listed, it makes up the rest of the 100 g.

2. Convert each mass to moles with its atomic mass. Keep three or four figures.

3. Divide every amount by the smallest amount.

4. If every ratio is within about 0.1 of a whole number, round and write the empirical formula. If a ratio ends near 0.5, 0.33, 0.67 or 0.25, clear it first, as the next section shows.

5. For the molecular formula, divide the measured molar mass by the empirical formula mass, and multiply every subscript by that whole number.

When a ratio ends in 0.5 or 0.33

A ratio of 1.50 is not 1 or 2 with an error. A sample that is 69.94⁢% iron and 30.06⁢% oxygen holds 1.252 mol of iron and 1.879 mol of oxygen in 100 g. Dividing by the smaller gives 1 : 1.501.

Atoms do not come in halves, so multiply every ratio by 2. The ratio 2 : 3.00 gives Fe2O3. Multiply by 2 for halves, by 3 for thirds (0.33 or 0.67), and by 4 for quarters (0.25 or 0.75).

Where it breaks

Where it breaks

An empirical formula does not identify a compound. Formaldehyde, acetic acid and glucose share CH2O. Even a molecular formula can be shared, since ethanol and dimethyl ether are both C2H6O with their atoms joined differently.

An ionic compound such as NaCl or MgO has no molecules. Its formula is the empirical formula of a crystal, and asking for its molecular formula has no answer.

Measured percentages carry error, so the ratios come out near whole numbers rather than on them. A ratio of 1.98 is 2. A ratio of 1.50 is a real half and must be cleared, never rounded. If a ratio is 1.15 or 1.4, recheck the arithmetic or the data before you multiply.

The molecular formula needs a molar mass from outside the percentages, measured by mass spectrometry or from a gas or solution property. Without it, the empirical formula is as far as the data go.

Check your answer

Check your answer

Turn your formula back into percentages and compare them with the data. Fe2O3 is 111.70÷159.70=69.94⁢% iron, which matches.

Check the multiple. The molar mass divided by the empirical formula mass must come out within a percent or so of a whole number. 180.16÷30.03=6.00 fits, and a result of 5.5 means the empirical formula is wrong.

Check that the percentages you used add to 100⁢%. If they add to 85⁢%, an element is missing, often oxygen.

In a Chemistry box, write each conversion as a chain on its own row, as 40.0 g C×1 mol C⁢/12.01 g C =3.33 mol C. The Checker answers “1 mol C / 12.01 g C: matches the molar mass of C, 12.01 g/mol.” A flipped atomic mass reads ✗ with a hint to turn it over.

Write each ratio as a quotient of the amounts, such as the moles of oxygen over the moles of iron, 1.879÷1.252=1.501. The Checker checks the arithmetic and says the quotient is “a ratio of the values written, not a conversion.” Reading the formula off the ratios is your step, and Chalk does not check it. Write M⁢(CH2O) =12.01+2⁢(1.008)+16.00 =30.03 g/⁢mol for the empirical formula mass, and the Checker names the molar mass of CH2O.

Chalk’s precision note can mislead on a multiple. 180.16÷30.03=6.00 reads ✓ with a note that the data support four figures (5.999), but the multiple counts whole empirical units, so it is 6. With the units written, 180.16 g/⁢mol÷30.03 g/⁢mol =6.00, the row reads ✓ with no note. A percent row such as 28.02÷80.05×100⁢% =35.00⁢% reads ✓ with no note either: the 100⁢% is exact, so the four figures of the masses stand.

A hydrocarbon’s empirical formula comes out C2H5. Can that also be its molecular formula?

No. Each carbon forms four bonds and each hydrogen one, so a stable hydrocarbon molecule has an even number of hydrogens, and C2H5 has five. The molecule must be a multiple, and C4H10, butane, is the only one that fits. Eight carbons can hold at most 18 hydrogens, not 20. An empirical formula is a ratio, not always a molecule.

Where the percentages come from

Carbon and hydrogen are usually measured by combustion analysis. A weighed sample burns in excess oxygen. Every carbon atom ends up in CO2 and every hydrogen atom in H2O, and each product is trapped and weighed.

The mass of CO2 gives the moles of carbon one to one, and the mass of water gives twice its moles in hydrogen. Oxygen in the sample cannot be found this way, because the burning adds oxygen. It is taken as the mass left over.

IUPAC’s rules for inorganic names use the same two ideas. The empirical formula gives the simplest integer composition, and the molecular formula is kept for substances made of discrete molecules. Sulfur is S as an empirical formula and S8 as a molecular one.

Common mistakes

  • Reading the percentages as a ratio of atoms. A compound that is 40.0⁢% carbon, 6.71⁢% hydrogen and 53.3⁢% oxygen is not C40H7O53. The percentages are grams, and atoms of different elements weigh different amounts, so divide by the atomic masses first to get CH2O.
  • Rounding a ratio of 1.50 to 2. Iron oxide at 1 : 1.501 is not FeO2. A half that appears with data this precise is real, so multiply every ratio by 2 and write Fe2O3.
  • Dividing by the largest amount instead of the smallest. The ratios come out below 1, as 0.50 : 1 for CH2 data. Divide by the smallest, so the scarcest element is 1 and the rest are whole numbers or clear fractions.
  • Rounding the moles too early. Rounding 1.252 mol Fe to 1.3 gives 1.879÷1.3=1.45, which hides the half. Keep three or four figures until the ratios are found.
  • Multiplying only one subscript by n. Six units of CH2O are C6H12O6, not C6H2O. Every subscript is multiplied, because the molecule holds n complete empirical units.
  • Forgetting the element found by difference. Data of 85.6⁢% C and 14.4⁢% H add to 100⁢%, but 40.0⁢% C and 6.71⁢% H leave 53.3⁢% unaccounted for. That remainder is usually oxygen, and it belongs in the formula.

Key terms

Empirical formula
The simplest whole-number ratio of atoms in a compound, such as CH2O for glucose, C6H12O6. It doesn’t tell you the molecule’s actual size or structure.
Molecular formula
The actual number of each kind of atom in one molecule, such as C6H12O6. Different structures can share one molecular formula, so it doesn’t show how the atoms connect.
Percent composition
Each element’s share of a compound’s mass, as a percentage: element mass ÷compound mass×100. The percentages of all the elements add up to 100⁢%.
Combustion analysis
A method for finding a compound’s empirical formula (the simplest whole-number ratio of its atoms) by burning a known mass of a compound in excess oxygen and weighing the CO2 and H2O formed.
Molar mass
The mass of one mole of a substance, in g/⁢mol. It converts between grams and moles: moles =mass÷molar mass.
Formula mass
The sum of the atomic masses of all the atoms in a chemical formula, in atomic mass units (u). For a molecular substance it is the molecular mass.

Work through an example

A compound is 40.0⁢% carbon, 6.71⁢% hydrogen and 53.3⁢% oxygen by mass, and its molar mass is 180.16 g/⁢mol. Find its empirical and molecular formulas.

Find an empirical and a molecular formula →

Find percent composition from a formula →

Empirical formula from a fractional ratio →

Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Check the conversions in a Chemistry box Study the 6 key terms Open worked example on a board Chemistry formulas: matter and amount

Your existing work stays on this device. Examples open as editable copies.