Flexi Says: The number of moles in a given number of molecules of a substance can be found by dividing the number of molecules by Avogadro’s number. The number of moles in a given mass of substance can be found by dividing the mass by the formula mass expressed in g/mol.