to find the number of moles is it...

mole=mass/grams

To find the number of moles, you divide the number of grams by the formula mass expressed in grams/mole:

#moles = #grams / (formula mass)