1: write mass %s as grams
2: convert to moles
3: divide all values by the smallest mole value
4: round to the nearest whole number unless it ends in 0.20, 0.25, 0.33, or 0.5
5: divide the molar mass of the compound by the empirical mass to get the ratio
e.g. molar mass is 162.1, empirical mass is 81 so since 162.1/81 = 2, the molecular formula will be C10H14N2 instead of C5H7N