Answer: To calculate the number of atoms first step is to calculate the number of moles. If the mass of an element/compound is given then divide the given mass by the molar mass of the element/compound to find the number of moles. In 1 mole of a substance, the number of atoms is or. 023 × 10 23 atoms.