How the conversions run
Moles = grams / molar mass. Grams = moles × molar mass. Particles = moles × 6.022 × 10²³. Enter molar mass from the formula weight on your periodic table.
For gases at STP you may also use molar volume in other tools; this page focuses on mass–mole–count.
Example: 18 g of water
Molar mass ≈ 18 g/mol, so 18 g is about 1 mol, or about 6.022 × 10²³ molecules.
Double the grams and you double the moles at the same molar mass.
Questions people ask
Where is molar mass from?
Sum atomic masses in the formula. Water is ~18.02 g/mol.
Molecules vs atoms?
Particles here means formula units or molecules as you define them for the substance.
Hydrates?
Include the water of hydration in the molar mass.