Answer: To calculate the number of atoms in a sample, divide its weight in grams by the amu atomic mass from the periodic table, then multiply the result by Avogadro's number: 6.02 x 10^23.