Find the empirical formula first.

To do this find the atomic ratios by dividing the % mass by the atomic
weight for each element and then dividing all values by the smallest number.

Remember the sum of the %mass must equal 100% if they don’t then the remaining
%mass is oxygen.

 

Calculate a weight for your empirical formula and then compare this with the molecular
weight to determine the molecular formula.