In chemistry, the empirical formula of a chemical compound is the simplest whole number ratio of atoms present in a compound. A simple example of this concept is that the empirical formula of sulfur monoxide, or SO, would simply be SO, as is the empirical formula of disulfur dioxide, S2O2. Thus, sulfur monoxide and disulfur dioxide, both compounds of sulfur and oxygen, have the same empirical formula. However, their molecular formulas, which express the number of atoms in each molecule of a chemical compound, are not the same.
An empirical formula makes no mention of the arrangement or number of atoms. It is standard for many ionic compounds, like calcium chloride (CaCl2), and for macromolecules, such as silicon dioxide (SiO2).
The molecular formula, on the other hand, shows the number of each type of atom in a molecule. The structural formula shows the arrangement of the molecule. It is also possible for different types of compounds to have equal empirical formulas.
In the early days of chemistry, information regarding the composition of compounds came from elemental analysis, which gives information about the relative amounts of elements present in a compound, which can be written as percentages or mole ratios. However, chemists were not able to determine the exact amounts of these elements and were only able to know their ratios, hence the name "empirical formula". Since ionic compounds are extended networks of anions and cations, all formulas of ionic compounds are emperical.
Glucose (), ribose (), Acetic acid (), and formaldehyde () all have different molecular formulas but the same empirical formula: . This is the actual molecular formula for formaldehyde, but acetic acid has double the number of atoms, ribose has five times the number of atoms, and glucose has six times the number of atoms.
The chemical compound n-hexane has the structural formula , which shows that it has 6 carbon atoms arranged in a chain, and 14 hydrogen atoms. Hexane's molecular formula is , and its empirical formula is showing a C:H ratio of 3:7.