Question: how to calculate empirical formula from percent composition by mass?
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.