formula, in chemistry, an expression showing the chemical composition of a compound. Formulas of compounds are used in writing the equations (see chemical equations) that represent chemical reactions. Compounds are combinations in fixed proportions of the chemical elements. The smallest unit of an element is the atom.