Lably
Skip to content

Chemical formula

Notation for chemical compounds

  • 11 min read
  • 6 chapters
  • 2 labs on Lably

Learn it on Lably

An empirical formula is a type of chemical formula that shows the proportions of each chemical element by writing a subscripted whole number for each element symbol, such as C2H5 for butane, which indicates that butane contains carbon and hydrogen atoms in a 2:5 ratio. Different compounds can share the same empirical formula, such as CH2O for most carbohydrates.

A molecular formula is a type of chemical formula that shows the number of atoms of each element contained in a molecule of a compound by writing the number as a subscript for each element symbol, such as C4H10 for butane. There are conventions for the order of the elements, such as the Hill system, to assist readability and to make sorted lists that are readily searched. Molecular formulas for classes of compounds and for polymers of variable length make use of variables, such as in CnH2n+2 for the linear alkanes.

A structural formula is a type of chemical formula that shows the pattern of chemical bonds between the atoms, either as explicit lines between the element symbols, or as implied bonds in a notation that makes the bonding pattern clear. Full structural formulas (or "displayed formulas") show all atoms and bonds explicitly, as in the formula for butane pictured. A skeletal formula is a compact graphical notation in which element symbols for carbon (C) and hydrogen (H) are not shown and are implied by the pattern of bond lines.

A condensed formula is a type of structural formula that is written as a text string, such as CH3CH2CH2CH3 for butane. Double (and higher-order) bonds are usually shown explicitly, and single bonds are sometimes shown for clarity, as in CH3−CH=CH2 for propylene. Parentheses are used to enclose groups as needed to show the structure, as in CH3CH2(OH)CH2OH for propylene glycol. Complex branched structures can be depicted by using nested parentheses, but cyclic structures, except for small pre-defined groups like phenyl (C6H5), cannot be represented as condensed formulas. Ionic compounds are depicted by sequentially writing the condensed formula for each strongly-bonded group of atoms, as in (NH4)2SO4 for ammonium sulfate, or as [NH4]+2[SO4]2+ to show the electric charges of groups. Condensed formulas distinguish structural isomers, which are compounds having the same molecular formula but different connectivity. To distinguish stereoisomers, and to depict compounds that are too complex to represent as condensed formulas, graphical structural formulas such as skeletal formulas or perspective drawings are used.

The term line formula is ambiguous. Depending on context, it is used to mean a condensed formula, because it is written as a line of text, or to mean a displayed formula that shows all bonds as lines.

A crystal-chemical formula expresses the composition and some structural information for crystalline solids.

In addition to describing compounds, chemical formulas are used to describe chemical groups (such as the methyl group, −CH3) classes of compounds (such as amines, R−NH2), and polymers (such as polyethylene, (CH2CH2)n). Formula types are sometimes intermixed, as in the use of a condensed formula to compactly denote a substituent in a skeletal formula.

Chemical formulas use element symbols and graphic symbols, in contrast to a chemical names, which use words. Chemical formulas are intended to be read by people, in contrast to text-string notations such as the SMILES and InChI, which specify chemical structures and can be manipulated by text editors but are intended to be generated and read mainly by computers.

Empirical formula

In chemistry, the empirical formula of a chemical is a simple expression of the relative number of each type of atom or ratio of the elements in the compound. Empirical formulas are the standard for ionic compounds, such as CaCl2, and for macromolecules, such as SiO2. An empirical formula makes no reference to isomerism, structure, or absolute number of atoms. The term empirical refers to the process of elemental analysis, a technique of analytical chemistry used to determine the relative percent composition of a pure chemical substance by element.

For example, hexane has a molecular formula of C6H14, and (for one of its isomers, n-hexane) a structural formula CH3CH2CH2CH2CH2CH3, implying that it has a chain structure of 6 carbon atoms, and 14 hydrogen atoms. However, the empirical formula for hexane is C3H7. Likewise the empirical formula for hydrogen peroxide, H2O2, is simply HO, expressing the 1:1 ratio of component elements. Formaldehyde and acetic acid have the same empirical formula, CH2O. This is also the molecular formula for formaldehyde, but acetic acid has double the number of atoms.

Like the other formula types detailed below, an empirical formula shows the number of elements in a molecule, and determines whether it is a binary compound, ternary compound, quaternary compound, or has even more elements.

Non-stoichiometric compounds

Chemical formulas most often use integers for each element. However, there is a class of compounds, called non-stoichiometric compounds, that cannot be represented by small integers. Such a formula might be written using decimal fractions, as in Fe0.95O, or it might include a variable part represented by a letter, as in Fe1−xO, where x is normally much less than 1.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Chemistry