
William W. answered 12/30/20
Math and science made easy - learn from a retired engineer
A mole of anything is 6.022 x 1023 items so a mole of hydrogen atoms is 6.022 x 1023 atoms and a mole of carbon dioxide molecules is 6.022 x 1023 molecules and a mole of kittens is 6.022 x 1023 kittens (that's a lot of kittens!)
This quantity (6.022 x 1023) is called Avogadro's number or the Avogadro constant.
If you know the mass of a substance (for instance "grams") and you want to know how many moles it is, you need to molar mass which is something you either calculate using the Periodic Table (items such as molecular compounds) or you just read it from the Periodic Table (for elements). The molar mass is usually the number of grams per mole.
Example: If you have 25 grams of Lithium, you look up on the Periodic Table that the molar mass of Lithium is 6.941 grams/mole then you divide 25 by 6.941 to get 3.6 moles. So 25 grams of Lithium is 3.6 moles. Then if you want to know how many atoms that is, you multiply 3.6 moles by 6.022 x 1023 atoms/mole to get 2.2 x 1024 atoms of Lithium