Determining Empirical Formula
Make assumption that total mass = 100g. Then, figuring out the ratios, obtain the formula.
Determining Molecular Formula
Molecular formula is always a multiple of empirical formula. If we know molar mass, we can find molecular formula.