Divide the number of moles of each element by the least number of moles to find the ratio or moles of each element. Because there are fewer moles of oxygen than any other element, we'll use one mole to calculate the ratios.