QuestionMoles and stoichiometry

How Do You Convert Grams to Moles? Formula and Examples

Close-up of demerara sugar crystals, which are mostly sucrose, the sugar whose molar mass is used in this conversion
Close-up of demerara sugar crystals, which are mostly sucrose, the sugar whose molar mass is used in this conversion. Image: Ervins Strauhmanis (CC BY 2.0), via Wikimedia Commons

To convert grams to moles, divide the mass in grams by the molar mass in grams per mole: n = m ÷ M. For example, 36 g of water is 36 ÷ 18.02 = about 2.00 mol. The molar mass comes from the periodic table, and the result is the amount of substance in moles.

Contents

The full answer

The conversion uses one equation:

n = m / M

Here n is the amount in moles (mol), m is the mass in grams (g) and M is the molar mass in grams per mole (g/mol). Work through three steps: find the molar mass, divide the given mass by it, and round the answer to the right number of significant figures.

Take 10.0 g of calcium carbonate (CaCO3). Calcium is 40.08, carbon is 12.01 and oxygen is 16.00, so the molar mass is 40.08 + 12.01 + 3 × 16.00 = 100.09 g/mol. Then n = 10.0 g ÷ 100.09 g/mol = 0.0999 mol. The answer is smaller than one mole because 10 g is less than the molar mass.

The same method works for any substance. Only the molar mass changes. Element values from IUPAC are used in most school tables, and rounding to two decimal places is accurate enough for most questions. A calculator with a memory key is helpful when a formula has several atoms.

Significant figures matter in the answer. The mass 10.0 g has three significant figures, so the moles should also be given to three significant figures, which gives 0.0999 mol. Keep extra digits during the calculation and round only at the end. Rounding the molar mass to 100 g/mol first would give 0.100 mol, a small but avoidable change.

Units must be checked at every step. The mass must be in grams before dividing. If a question gives kilograms, multiply by 1,000 first, so 2.5 kg of sugar must be written as 2,500 g before it is divided by the molar mass.

Why the molar mass sets the conversion

The molar mass is the mass of one mole of a substance. One mole contains 6.02214076 × 10²³ particles, so molar mass is simply the mass of that many particles. A heavier particle has a larger molar mass, and the same mass of a heavier substance therefore contains fewer moles.

This is why 18.02 g of water and 58.44 g of sodium chloride are each one mole, although the masses differ. Water molecules are light, while sodium chloride formula units contain two heavier atoms. Molar mass is a property of each substance, not a fixed number for all substances.

The molar mass is found by adding up relative atomic masses. For water, two hydrogen atoms (1.008 each) and one oxygen atom (15.999) give 18.015, which is written as 18.02 g/mol. For carbon dioxide (CO2), one carbon atom (12.011) and two oxygen atoms (2 × 15.999) give 44.01 g/mol. Each value is then used as the conversion factor in n = m ÷ M.

An everyday example

Sugar is a useful example because it is sold by mass. Sucrose (table sugar, C12H22O11) has a molar mass of 342.30 g/mol. A 25.0 g sample therefore contains 25.0 ÷ 342.30 = 0.0730 mol of sucrose.

In a kitchen, this calculation shows how many molecules are in a spoonful of sugar, and why sugar with a larger molar mass gives fewer moles from the same mass. Sucrose molecules are large, so 25.0 g contains far fewer moles than 25.0 g of water, which has a molar mass of 18.02 g/mol and gives about 1.39 mol.

Chemists use the same arithmetic when they weigh reagents in a lab. A balance records the mass, the periodic table gives the molar mass, and the division gives the amount to react. The method above is enough for school work, for checking a recipe’s chemistry and for comparing how much of two foods contains the same count of molecules.

Moles to grams and moles to particles

The formula can be rearranged. To find the mass when moles are known, multiply: m = n × M. For example, 0.500 mol of sodium chloride has a mass of 0.500 mol × 58.44 g/mol = 29.2 g. Check the units: mol × g/mol leaves grams, so the answer is in the right unit.

To find particles, multiply the moles by Avogadro’s number, using N = n × NA, where NA is 6.02214076 × 10²³ mol⁻¹. Two moles of water contain 2.00 × 6.02 × 10²³ = 1.20 × 10²⁴ molecules. The full idea is explained on the Avogadro’s number page.

Mole conversions are the starting point for chemical equations, because a balanced equation gives the ratio of moles that react, not the ratio of grams. A typical exam question gives the mass of one reactant, converts it to moles, uses the ratio from the equation to find the moles of another substance, and then converts back to grams. Each step uses one of the three rearrangements of the same formula.

Students who keep the units in the calculation rarely make errors. If the units cancel to leave mol, the working is probably correct. If the units do not cancel, for example if they leave g²/mol, a formula has been used upside down.

Common misconceptions

One misconception is that the conversion uses the atomic number. Atomic number counts protons and does not give a mass. The divisor must be the molar mass, which is the relative formula mass in grams per mole.

A second misconception is using the mass of one element only. For a compound such as CaCO3, the molar mass includes every atom in the formula. Leaving out the oxygen atoms gives a result that is far too large.

A third misconception is that molar mass is the mass of one particle. A molar mass of 18.02 g/mol does not mean one water molecule weighs 18.02 g. One molecule weighs about 2.99 × 10⁻²³ g, and one mole of molecules weighs 18.02 g. For the basics, see the mole page.

Frequently asked questions

What is the formula for converting grams to moles?

The formula is n = m ÷ M, where n is the amount in moles, m is the mass in grams and M is the molar mass in grams per mole. Divide the mass in grams by the molar mass to get moles.

How many moles are in 36 g of water?

The molar mass of water (H2O) is 18.02 g/mol, so 36 g ÷ 18.02 g/mol is about 2.00 mol. Two moles of water contain about 1.20 × 10²⁴ molecules.

How do you find the molar mass of a compound?

Add up the relative atomic masses of every atom in the formula, using the periodic table. Multiply each element’s mass by the number of its atoms first. For example, CO2 has a molar mass of 12.01 + 2 × 16.00 = 44.01 g/mol.

How do you convert moles back to grams?

Multiply the number of moles by the molar mass, so m = n × M. For example, 0.500 mol of sodium chloride has a mass of 0.500 × 58.44 = 29.2 g.

Why do you use molar mass to convert grams to moles?

Molar mass is the mass of one mole of a substance, so it is the conversion factor between mass and amount. Each substance has its own molar mass because its particles have different masses.

Sources and further reading

  • IUPAC, "Compendium of Chemical Terminology (Gold Book)"
  • NIST, "CODATA Fundamental Physical Constants"
  • OpenStax, "Chemistry 2e"

Cite this page

“How Do You Convert Grams to Moles? Formula and Examples.” Atoms & Forces, https://science.bigworldlist.com/questions/how-do-you-convert-grams-to-moles/.

More about Mole