Reactions and Stoichiometry

Converting Between Grams, Moles and Particles

Use molar mass and the Avogadro constant to convert in any direction, with unit tracking, worked examples and error checks.

Key takeaways

  • Mass and moles are linked by molar mass; moles and particles are linked by the Avogadro constant.
  • There is no direct shortcut you need to learn from grams to particles, so go through moles.
  • Set up each factor so unwanted units cancel and the wanted unit remains.
  • Decide which particle you are counting, since molecules, atoms and ions give different answers.
  • A particle count from any visible sample should be an enormous number, usually near 10²⁰ to 10²⁵.

Every conversion between grams and particles passes through moles. Divide a mass by the molar mass to get moles, then multiply moles by 6.022 × 10²³ per mole to get particles. To go backward, divide particles by that constant and multiply by the molar mass.

If you remember that moles sit in the middle, you do not need to memorize a separate formula for every question. Writing units at each step shows you whether to multiply or divide.

The map

Three quantities and two conversion factors cover the basic problem.

From To Operation
grams moles divide by molar mass (g/mol)
moles grams multiply by molar mass
moles particles multiply by 6.022 × 10²³ /mol
particles moles divide by 6.022 × 10²³ /mol

In symbols, n = m ÷ M and N = n × N_A, where n is amount in moles, m is mass in grams, M is molar mass, N is the number of particles and N_A is the Avogadro constant.

If any of those terms are new, start with the mole explained and calculating molar mass.

The route runs through moles
1 Mass in grams What the balance reads 2 Moles Divide mass by molar mass 3 Particles Multiply moles by the Avogadro constant 4 Atoms inside Multiply by the count in each formula Mass in grams What the balance reads 1 Moles Divide mass by molar mass 2 Particles Multiply moles by the Avogadro constant 3 Atoms inside Multiply by the count in each formula 4

What each factor is saying

It helps to read the two conversion factors as plain statements. A molar mass of 18.015 g/mol says that every mole of water comes with 18.015 g of mass. You can write it either way up, as 18.015 g per 1 mol or 1 mol per 18.015 g, because both express the same equivalence.

The Avogadro constant says that every mole comes with 6.022 × 10²³ particles. It too can be flipped to suit the direction of travel.

Molar mass depends on the substance, so you must work it out afresh each time. The Avogadro constant never changes. That difference explains why two samples of equal mass usually contain different numbers of particles, while two samples of equal moles always contain the same number.

Before any arithmetic, list what you know, with units, and what you want. A line such as "known: 5.85 g NaCl; wanted: formula units" takes a few seconds and shows the route at once. Grams must become moles, and moles must become formula units. If a question mentions atoms of one element, add one more step for the subscript.

Let the units steer you

Treat units like algebraic quantities that cancel. This habit is called dimensional analysis.

To convert 10.0 g of water to moles, you want grams to disappear:

10.0 g × (1 mol / 18.015 g) = 0.555 mol

If you had multiplied by 18.015 g/mol, you would have ended up with g²/mol, a clear sign of a flipped factor. The units catch the mistake before the numbers matter.

You can chain factors in a single line, which avoids rounding in the middle:

10.0 g × (1 mol / 18.015 g) × (6.022 × 10²³ molecules / 1 mol)
= 3.34 × 10²³ molecules

Grams to particles

How many formula units are in 5.85 g of sodium chloride? The molar mass is 58.44 g/mol.

n = 5.85 g ÷ 58.44 g/mol = 0.1001 mol
N = 0.1001 mol × 6.022 × 10²³ /mol = 6.03 × 10²² formula units

How many ions is that? Each formula unit of NaCl gives one Na⁺ and one Cl⁻, so there are about 1.21 × 10²³ ions in total.

How many oxygen atoms are in 4.40 g of carbon dioxide? The molar mass of CO₂ is 44.01 g/mol.

n(CO₂) = 4.40 ÷ 44.01 = 0.09998 mol
n(O)   = 2 × 0.09998 = 0.1999 mol
N(O)   = 0.1999 × 6.022 × 10²³ = 1.20 × 10²³ atoms

The factor of 2 comes from the subscript. Apply it once, at the step where you move from molecules to atoms.

Particles to grams

What is the mass of 3.01 × 10²² atoms of copper?

n = 3.01 × 10²² ÷ 6.022 × 10²³ /mol = 0.0500 mol
m = 0.0500 mol × 63.546 g/mol = 3.18 g

What is the mass of a single molecule of ethanol, C₂H₆O? Its molar mass is 46.07 g/mol.

m = 46.07 g/mol ÷ 6.022 × 10²³ /mol = 7.65 × 10⁻²³ g

A single particle should always come out extremely small in grams. If you get 10²⁵ g, you multiplied where you should have divided.

Working backward from one element

What mass of calcium chloride contains 1.00 × 10²³ chloride ions? Each unit of CaCl₂ holds two.

n(Cl⁻)   = 1.00 × 10²³ ÷ 6.022 × 10²³ = 0.1661 mol
n(CaCl₂) = 0.1661 ÷ 2 = 0.08303 mol
M(CaCl₂) = 40.078 + 2 × 35.45 = 110.98 g/mol
m        = 0.08303 × 110.98 = 9.21 g

Notice the direction of the factor. You need fewer formula units than chloride ions, so you divide by 2.

Comparing two samples

Many questions ask which of two samples has more atoms. You often do not need the Avogadro constant at all, because the sample with more moles of atoms wins.

Compare 10.0 g of aluminum with 10.0 g of iron. Aluminum, at 26.98 g/mol, gives 0.371 mol of atoms. Iron, at 55.845 g/mol, gives 0.179 mol. The aluminum holds a little more than twice as many atoms, despite the equal masses.

Now compare 10.0 g of water with 10.0 g of aluminum, counting all atoms. The water is 0.555 mol of molecules, each with three atoms, for 1.67 mol of atoms. That is several times the 0.371 mol in the aluminum.

The comparison would change if you counted molecules or formula units instead of atoms, so reread the question. "Which has more particles?" is incomplete until the particle is named. For a metal the natural particle is the atom, while for water it is usually the molecule.

Skipping the large constant in comparisons saves time and removes a source of typing errors. Bring it in only when an actual count is requested.

Extending to volumes

For a liquid, density turns volume into mass. Pure ethanol has a density of about 0.789 g/mL near 20 °C, so 10.0 mL has a mass of about 7.89 g, or 7.89 ÷ 46.07 = 0.171 mol. See density and how to calculate it.

For a solution, concentration times volume gives moles. A 0.250 mol/L glucose solution holds 0.250 × 0.0400 = 0.0100 mol in 40.0 mL, which is about 1.80 g of glucose.

For a gas, you need temperature and pressure. At 0 °C and 1 atm, an ideal gas occupies about 22.4 L per mole, so 5.60 L is 0.250 mol. Do not apply that figure at room temperature.

Estimating before you calculate

A rough answer protects you from calculator errors. For 5.85 g of NaCl, notice that 5.85 is about one tenth of 58.4, so you expect about 0.1 mol and about 6 × 10²² units.

Powers of ten deserve special care. On most calculators, enter 6.022 × 10²³ with the exponent key, written EE or EXP. Typing 6.022 × 10 EE 23 gives a value ten times too large.

Use brackets or the exponent key when dividing by a number in scientific notation. Entering 3.01 EE 22 ÷ 6.022 × 10 ^ 23 without brackets divides by 6.022 and then multiplies by 10²³.

A two-substance comparison problem

Here is a hypothetical question that combines several steps: which contains more molecules, 25.0 mL of water or 25.0 mL of ethanol, both near 20 °C?

Water has a density very close to 1.00 g/mL, so 25.0 mL is about 25.0 g, or 25.0 ÷ 18.015 = 1.39 mol. Ethanol, at about 0.789 g/mL, gives 19.7 g, or 19.7 ÷ 46.07 = 0.428 mol.

The water therefore holds more than three times as many molecules in the same volume. Two effects add up: water is denser, and each of its molecules is much lighter. Questions like this are solved by moving one step at a time, from volume to mass to moles, without any new formula.

Frequent errors

  • Wrong molar mass. Using 16 g/mol for oxygen gas halves your answer's denominator and doubles the moles. Oxygen gas is O₂, about 32 g/mol.
  • Skipping the mole step. Multiplying grams by the Avogadro constant has no meaning.
  • Losing track of the particle. Molecules of O₂ and atoms of O differ by a factor of 2.
  • Rounding early. Keep at least one extra digit until the final line.
  • Impurity ignored. If a sample is 90% pure by mass, only 90% of the weighed mass is your compound.

For that last point, 2.00 g of a sample that is 90.0% CaCO₃ contains 1.80 g of CaCO₃. At 100.09 g/mol, that is 0.0180 mol.

Reporting the answer

A finished answer has a number, a unit and the name of the substance or particle: "0.250 mol of N₂" or "1.20 × 10²³ oxygen atoms". Leaving out the species invites mix-ups later in a multi-step problem.

Match significant figures to the data. A mass of 5.85 g has three, so report three in the result even though the Avogadro constant is known exactly and the molar mass to four or more. Counting numbers from a formula, like the 2 in CO₂, are exact and never limit precision.

Finally, ask whether the size makes sense. A few grams of an ordinary compound should be a fraction of a mole, and a kilogram of water should be around 55 mol. An answer of 5,500 mol or 0.00055 mol for that kilogram points to a unit prefix gone astray.

Where to go next

Once mass and moles are second nature, you can connect different substances in a reaction. The balanced equation provides the factor between moles of one and moles of another, described in mole ratios and applied in mass-to-mass stoichiometry.

Try one to test yourself: how many hydrogen atoms are in 0.500 g of methane, CH₄ (16.04 g/mol)? You should find 0.03117 mol of methane, four times that in hydrogen atoms, and about 7.51 × 10²² atoms.

Written for 4Chemistry with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 42 articles in Reactions and Stoichiometry →

Latest news on this topic