The empirical formula of a compound is the simplest whole number ratio of each type of atom in a compound. It can be the same as the compound's molecular formula, but not always. An empirical formula can be calculated from information about the mass of each element in a compound or from the percentage composition.