How do you find the empirical formula of an element? Divide (percents or grams) by the gram atomic massDivide the resulting numbers by the smallest of the numbers Multiply 2 or 3 if one of the numbers isn't whole
How do you find the molecular formula of a compound? Same number of steps for the empirical formula, but then you just have to add up the total number of grams from the empirical formula, then multiply the subscript of the empirical formula by whatever your multiplied that number by to get from the total number of grams to the mw (which is given to you in the problem)