Britannica Sources used in this answer

How does a molecular formula show the atoms in a molecule?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

A molecular formula identifies the exact composition of a molecule by providing the total number of atoms of each element present in a single unit of a substance.12

Unlike an empirical formula, which only shows the simplest ratio of atoms, the molecular formula specifies the actual count of every atom in the molecule. For example, while both ethylene and propylene share the same empirical formula of CH2, their molecular formulas—C2H4 and C3H6, respectively—clearly distinguish them by stating the precise number and kind of atoms contained in each. In instances where the simplest ratio is the actual composition, such as with water, the empirical and molecular formulas may be identical.2

While these formulas are essential for defining chemical composition, they do not illustrate the spatial arrangement or the specific chemical bonds between atoms; for that level of detail, structural formulas or projection formulas are used.2