What is the Empirical Formula?

In chemistry, an empirical formula of a compound denotes the whole number ratio of atoms of each element that are in the compound. For example, the empirical formula for water is H2O, indicating that there are two hydrogen atoms for every oxygen atom in water. In other words, knowing the empirical formula of a compound allows you to determine the ratio of atoms of each element.