The Chemistry formula of a compound can be a symbol for its chemical composition. Chemical formulas provide information about the elements that form the compound molecules and the ratio in which the atoms of those elements come together to form molecules. For example, the chemical formula of water, H2O, indicates that 2 hydrogen atoms combine with 1 oxygen atom to form a water molecule.