Empirical Formula from Mass

The empirical formula gives the number of atoms or equivalently the number of moles of each element in a substance. For example, H2O has 2 atoms of H and 1 atom of O per molecule or equivalently 2 mol H and 1 mol O per mole of molecules.