Question: how do you calculate the empirical formula of a compound?
Answer: Convert the mass of each element to moles using the molar mass from the periodic table. Divide each mole value by the smallest number of moles calculated. Round to the nearest whole number. This is the mole ratio of the elements and is represented by subscripts in the empirical formula.