ComparisonMoles and stoichiometry
Empirical vs Molecular Formula: What Is the Difference?

The empirical formula gives the simplest whole-number ratio of atoms in a compound, while the molecular formula gives the actual number of atoms in one molecule. Glucose is the standard example: its empirical formula is CH2O, and its molecular formula is C6H12O6. The molecular formula is always a whole-number multiple of the empirical formula.
Empirical formula vs Molecular formula at a glance
| Feature | Empirical formula | Molecular formula |
|---|---|---|
| Meaning | Simplest whole-number ratio of atoms | Actual number of atoms in one molecule |
| Glucose | CH2O | C6H12O6 |
| Benzene | CH | C6H6 |
| Ethene | CH2 | C2H4 |
| Water | H2O (the same) | H2O (the same) |
| Ionic compounds | Used, for example NaCl | Not used, because there are no separate molecules |
The main difference
Both formulas describe the same compound, but they answer different questions. The empirical formula asks how the atoms are related in the simplest ratio. The molecular formula asks how many atoms one molecule really contains. For glucose, the ratio of carbon to hydrogen to oxygen is 1 : 2 : 1 in both formulas, but the molecule contains six times as many carbon, hydrogen and oxygen atoms.
Chemists often start with the empirical formula because it can be found from a mass or percentage analysis. The molecular formula needs one more piece of information, the molar mass, which tells you how many empirical units make up one molecule. The step from one formula to the other is therefore a question of scale, not of chemistry.
The two formulas can only be the same when the simplest ratio is already the true count. That is why water, H2O, has the same formula in both cases.
Difference 1: the ratio and the real count
The empirical formula divides the atom counts by their greatest common factor. Benzene is a good example. Its molecular formula is C6H6, with six carbon atoms and six hydrogen atoms. Dividing both numbers by six gives CH, the empirical formula. Benzene and ethyne (C2H2) both have the empirical formula CH but different molecules.
Ethene, C2H4, is another case. Its empirical formula is CH2, since two carbons and four hydrogens share a common factor of two. Ethene and cyclopropane, C3H6, both have the empirical formula CH2, which shows that the same ratio can describe several different molecules.
Because the empirical formula loses information, it cannot tell you the real size of a molecule. It is still useful, because it is the first answer you get from an analysis of a sample.
Difference 2: how each is found
The empirical formula is found from the percentage or mass of each element. Each mass is divided by the atomic mass to get moles, then the values are divided by the smallest number, as described in the empirical formula question. The method gives only the ratio.
The molecular formula needs the molar mass of the compound. Divide the molar mass by the molar mass of the empirical formula to get a whole number n, then multiply every subscript by n. For glucose, 180.16 ÷ 30.03 = 6, so C6H12O6 = 6 × CH2O. The molar mass hub explains how the molar mass is calculated.
Difference 3: ionic compounds and structure
Ionic compounds are a special case. Sodium chloride is made of sodium ions and chloride ions in a three-dimensional lattice, and there is no separate NaCl molecule. The only formula that makes sense is NaCl, which is an empirical formula, and chemists call it a formula unit.
A third kind of formula, the structural formula, shows how the atoms are joined. Two compounds with the same molecular formula can have different structures, which is why chemists sometimes need more than the numbers of atoms.
Why the molecular formula can be larger
A molecular formula can be a multiple of the empirical formula only when the molecule is built from repeated units of that ratio. Ethene has two carbons and four hydrogens, so its molecule is two CH2 units joined together. Glucose is six CH2O units, and benzene is six CH units arranged in a ring. The empirical formula shows the repeating building block, while the molecular formula shows how many of those blocks the molecule contains.
This is why a formula cannot be turned into a molecular formula from the ratio alone. Two different molecules, such as ethene and cyclopropane, can share one empirical formula, and only the molar mass or another measurement separates them. Chemists therefore report the molecular formula only when they have evidence for the molecule’s size.
For ionic solids, the idea of a single molecule does not apply, so the empirical ratio is the most useful formula. Sodium chloride, magnesium oxide and calcium fluoride are written in their simplest ratios, such as MgO and CaF2, because the lattice has no separate molecules to count.
What they have in common
Both formulas use the same element symbols and subscripts, and both are written with the same rules. Both can be found from analysis, and both describe the same compound. Students confuse them because the two formulas often look very similar, and because many common compounds have identical formulas.
The shared feature is the mole. The mole links the number of atoms, the mass and the molar mass, so you can convert from one formula to the other without changing the compound. The mole page gives the counting unit behind this link.
Common exam mistakes
The most common mistake is to write the empirical formula as the answer when the question gives a molar mass. In that case the question is asking for the molecular formula, so the scaling factor must be applied. A second mistake is to scale the ratio by a number that is not a whole number, which gives a formula with fractions of atoms.
A third mistake is to confuse the molecular formula with the structural formula. The molecular formula C2H6O could be ethanol or dimethyl ether, and only a structural formula shows which one. Exam questions usually ask for the molecular formula, so write the numbers and not the shape unless the question asks for both.
How to tell them apart
Use a simple rule of thumb: if the question gives a molar mass or a molecular mass, it wants the molecular formula. If it gives only percentages or a mass ratio, it wants the empirical formula, and the molecular formula can be found only with extra data.
Worked example: a compound has the empirical formula CH2O and a molar mass of 60.05 g/mol. The empirical formula mass is 30.03 g/mol, so n = 60.05 ÷ 30.03 = 2. The molecular formula is C2H4O2, which is acetic acid. The answer is only correct when n is a whole number, so check that before writing the final formula.
Frequently asked questions
What is the difference between empirical and molecular formula?
The empirical formula shows the simplest whole-number ratio of atoms, while the molecular formula shows the actual number of atoms in one molecule. The molecular formula is always a whole-number multiple of the empirical formula.
What is the empirical formula of glucose?
The empirical formula of glucose is CH2O. Its molecular formula is C6H12O6, which is six times the empirical formula.
Are empirical and molecular formulas ever the same?
Yes. Water (H2O), carbon dioxide (CO2) and methane (CH4) are already in their simplest ratio, so their empirical and molecular formulas match.
Which formula do ionic compounds use?
Ionic compounds such as sodium chloride are written with the empirical formula, NaCl, because they form a repeating lattice rather than separate molecules. Their formula is called a formula unit.
How do you change an empirical formula into a molecular formula?
Find the molar mass of the compound from experiment or the question, then divide it by the molar mass of the empirical formula. The result is a whole number n, and you multiply every subscript in the empirical formula by n.
Sources and further reading
- IUPAC, "Compendium of Chemical Terminology" (the Gold Book)
- OpenStax, "Chemistry 2e"
- W. M. Haynes (ed.), "CRC Handbook of Chemistry and Physics"
Cite this page
“Empirical vs Molecular Formula: What Is the Difference?.” Atoms & Forces, https://science.bigworldlist.com/compare/empirical-vs-molecular-formula/.
More about Molar mass
- ChemistryMolar Mass: Definition, Formula, Units and Examples
- ListAtomic Masses of All Elements: Table of Standard Atomic Weights
- QuestionHow Do You Calculate Molar Mass? Step by Step With Examples
- QuestionHow Do You Convert Grams to Moles? Formula and Examples
- QuestionHow Do You Find the Empirical Formula? Steps and Examples
- QuestionWhat Makes Something Smell? The Chemistry of Odors