How it works
A mole is a count of particles, in the same way a dozen is a count of eggs. Divide the mass you have by the molar mass of the substance to get moles, then multiply the moles by Avogadro constant to count the particles. You supply the molar mass: add up the atomic masses of the atoms in the formula from a periodic table. Avogadro constant, 6.02214076 × 10²³ per mole, is exact by definition.
Formula
particles = moles × 6.02214076 × 10²³
mass = moles × molar mass
Sources
Example
36 g of a substance with molar mass 18 g/mol: moles = 36 ÷ 18 = 2.0000 mol. Particles = 2 × 6.02214076 × 10²³ = 1.204 × 10²⁴. Check: 2 × 18 = 36 g.
Frequently asked questions
Where do I get the molar mass?
Add the atomic masses of the atoms in the formula, using a periodic table. Water is about 18.015 g/mol.
What is Avogadro constant?
6.02214076 × 10²³ per mole, exact by definition since 2019.
What about gases?
For a volume of gas use PV = nRT with the same number of moles.
Which units?
Grams and grams per mole, so the answer comes out in moles.