Britannica Sources used in this answer

How do chemical formulas show the types and relative numbers of atoms in a compound?

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

Chemical formulas represent the composition of chemical compounds by using symbols and numbers to identify the constituent parts of a substance.1

  • Types of Atoms: Each chemical element is represented by a unique symbol, such as C for carbon, H for hydrogen, or O for oxygen. These symbols indicate which elements are present in the compound.12
  • Relative Numbers of Atoms: Subscripts are used to denote the relative number of atoms of each element present. For example, in the formula for water, Hβ‚‚O, the subscript "2" indicates two atoms of hydrogen for every one atom of oxygen. If an element has only one atom in the formula, no subscript is written.12

While empirical formulas provide the simplest ratio of atoms, molecular formulas specify the exact number of every atom in a molecule. Other forms, such as structural formulas, further clarify how these atoms are connected by chemical bonds.1