How to convert grams to atoms
To convert grams to atoms, divide the mass by the molar mass to get moles, then multiply by Avogadro's number, 6.022 × 10²³. For 10.0 g of iron: 10.0 g ÷ 55.845 g/mol = 0.179 mol, and 0.179 mol × 6.022 × 10²³ = 1.08 × 10²³ atoms.
There's no direct step from grams to atoms. Moles are always the bridge in the middle: grams → moles → particles.
The two steps
As one line: atoms = grams ÷ molar mass × 6.022 × 10²³. Check the units as you go: g ÷ (g/mol) leaves mol, and mol × (particles/mol) leaves particles.
- Grams to moles: moles = grams ÷ molar mass, with the molar mass in g/mol from the periodic table.
- Moles to particles: particles = moles × 6.022 × 10²³.
- Round to the significant figures of the mass you were given.
Atoms, molecules or formula units?
Avogadro's number counts whatever particles the substance is made of. An element like iron is made of atoms, so you get atoms. A molecular compound like water gives molecules, and an ionic compound like NaCl gives formula units.
If the question asks for atoms in a compound, there's one more step: multiply the number of molecules by how many of that atom are in each molecule. Each H2O molecule has 2 hydrogen atoms and 1 oxygen atom, 3 atoms in all.
Going the other way, and a sense check
To go from atoms to grams, reverse each step: divide by 6.022 × 10²³ to get moles, then multiply by the molar mass.
A few grams of anything contains an enormous number of particles, usually between 10²² and 10²⁴. If your answer is a tiny number like 10⁻²³, you divided by Avogadro's number when you should have multiplied.
Worked example: atoms in iron, and atoms in water
- 10.0 g of Fe: 10.0 g ÷ 55.845 g/mol = 0.179 mol.
- 0.179 mol × 6.022 × 10²³ atoms/mol = 1.08 × 10²³ atoms of iron.
- 36.03 g of H2O: 36.03 g ÷ 18.015 g/mol = 2.000 mol of water.
- 2.000 mol × 6.022 × 10²³ molecules/mol = 1.204 × 10²⁴ molecules.
- Hydrogen atoms: 2 per molecule, so 2 × 2.000 mol × 6.022 × 10²³ = 2.409 × 10²⁴ H atoms. (Doubling the rounded 1.204 × 10²⁴ would give 2.408: round only at the end.)
Common mistakes
- Dividing by Avogadro's number: going from moles to particles, multiply by 6.022 × 10²³; the answer should be huge.
- Skipping the moles step: grams can't go straight to atoms; divide by the molar mass first.
- Multiplying by the molar mass: grams ÷ molar mass gives moles; multiplying gives a meaningless g²/mol.
- Giving molecules when atoms were asked for: multiply by the number of that atom in one molecule.
- Using the atomic number: use the atomic mass (55.845 for Fe), not the atomic number (26).
Check yourself
Three questions from the Mole Conversions Lab, Stage 2. Work each one out, then open the answer.
How many moles are in 52.5 g of H₂O?
Show the answer
Answer: 2.91 mol mol
- Molar mass of H₂O = 2 × 1.008 + 1 × 15.999 = 18.015 g/mol
- moles = 52.5 g ÷ 18.015 g/mol = 2.91 mol
- Grams cancel, leaving moles.
moles = grams ÷ molar mass. The molar mass of H2O is 18.015 g/mol.
How many moles are in 23.7 g of H₂O?
Show the answer
Answer: 1.32 mol mol
- Molar mass of H₂O = 2 × 1.008 + 1 × 15.999 = 18.015 g/mol
- moles = 23.7 g ÷ 18.015 g/mol = 1.32 mol
- Grams cancel, leaving moles.
moles = grams ÷ molar mass. The molar mass of H2O is 18.015 g/mol.
How many moles are in 91.5 g of KNO₃?
Show the answer
Answer: 0.905 mol mol
- Molar mass of KNO₃ = 1 × 39.098 + 1 × 14.007 + 3 × 15.999 = 101.102 g/mol
- moles = 91.5 g ÷ 101.102 g/mol = 0.905 mol
- Grams cancel, leaving moles.
moles = grams ÷ molar mass. The molar mass of KNO3 is 101.102 g/mol.
Try it in the lab
- Mole Conversions Lab, Stage 2: Grams to moles →
- Mole Conversions Lab, Stage 4: Moles and particles →
- Mole Conversions Lab, Stage 5: Two-step conversions →
Questions students ask
What is Avogadro's number?
6.022 × 10²³: the number of particles in one mole of anything.
How many atoms are in 1.00 g of carbon?
1.00 g ÷ 12.011 g/mol = 0.0833 mol, and 0.0833 mol × 6.022 × 10²³ = 5.01 × 10²² atoms.
How do I enter 6.022 × 10²³ on a calculator?
Type 6.022, then the EE (or EXP, or ×10ˣ) key, then 23. Typing × 10 ^ 23 by hand works too, but put it in brackets inside a longer calculation.
Is converting grams to molecules the same?
Yes. For a molecular compound the same two steps give molecules; just use the compound's molar mass.