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)