Question: how to calculate the empirical and molecular formula of a compound?
Answer: Start with the number of grams of each element, given in the problem.
Convert the mass of each element to moles using the molar mass from the periodic table.
Divide each mole value by the smallest number of moles calculated.
Round to the nearest whole number. This is the mole ratio of the elements and is.