To calculate the moles of a chemical, it is actually a simple procedure. You will be using dimensional analysis. In the top left box of your analysis you will put the grams of your given chemical. Then in the box diagonal to it, you put the chemicals atomic mass. Over that box you will put one mole. Next, just calculate by division.