Question: how to find the empirical formula given grams?
Answer: Start with the number of grams of each element, given in the problem. 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.