Calcylator
Moles from mass

Moles from mass:
formula and worked example

Every stoichiometry problem starts here: grams on the balance become moles on paper.

Calcylator Editorial Team

Updated · 4 min read

Why chemists convert grams to moles

A balance reports mass, but chemical reactions combine particles in fixed ratios. Two grams of hydrogen and two grams of oxygen are not an equal number of molecules, so grams alone cannot tell you how much reacts with what. The mole is the bridge: it counts particles in a way that can be weighed.

Converting a mass into moles is therefore the first step of nearly every quantitative chemistry task, from working out how much product a reaction should give to preparing a solution of a known concentration. Get this step right and the rest is ratios; get it wrong and every later figure carries the error.

The conversion also works in reverse, which is how recipes are written. A procedure that calls for 0.25 mol of a reagent is carried out by multiplying that amount by the molar mass and weighing the result. Either direction uses the same single relationship, so being comfortable with it saves time throughout a course or a lab session.

The formula and its two inputs

Amount of substance equals the mass you have divided by the mass of one mole of that substance.

Moles from mass =mass_g ÷ molar_mass
mass_g:
Mass g
molar_mass:
Molar mass
Result in mol; mass in grams divided by molar mass in g/mol.
  • Mass g: the measured mass of the sample in grams. If the balance gave milligrams or kilograms, convert first.
  • Molar mass: grams per mole of the exact species present, found by adding the atomic masses of every atom in its formula.
  • Result: the amount in moles, which is dimensionless in the sense of counting particles but carries the unit mol.

Dividing grams by grams per mole leaves moles, so the units cancel correctly. If your answer ends up with units like g squared per mole, the division was inverted.

Worked example: 18 g of water

  • Mass g

    18

  • Molar mass

    18.015

Moles from mass

0.999167 mol

Worked from the displayed inputs; the result is a near-round one mole because 18 g is close to the molar mass of water.

  1. Identify the species: liquid water, H2O.
  2. Build its molar mass from atomic masses: 2 x 1.008 + 15.999, which rounds to 18.015 g/mol.
  3. Write the mass in grams: 18 g.
  4. Divide: 18 / 18.015 = 0.999167 mol.

The answer is almost exactly one mole, as expected, because 18 g is almost exactly the molar mass of water. This near-round result is a handy memory aid and a quick check on your setup.

Interpreting the number of moles

Moles by themselves are an amount, and their meaning depends on what you do next. Compare moles of different reactants using the balanced equation's coefficients to find the limiting reagent. Multiply by a molar mass of a product to predict a theoretical yield. Divide by a volume to get a concentration.

As a feel for scale, a mole of a typical compound weighs somewhere between a few grams and a few hundred grams, so a 10 g sample of a heavy compound can be a small fraction of a mole while 10 g of a light one can exceed it. If you get 0.001 mol from a bench-scale weighing of a few grams, check whether the molar mass came out as a thousand times too large.

Significant figures follow the measured mass. A balance reading of 18 g supports two significant figures, so 1.0 mol is the honest report even though the calculator shows six digits.

How mass changes move the moles

Effect of weighing 10% more sample, molar mass unchanged
ScenarioMass gCalculated result
Original assumptions180.999167 mol
Mass g increased by 10%19.81.099 mol

Increasing the mass by 10% raised the answer by exactly 10%, from 0.999167 to about 1.099 mol. The relationship is a straight line through the origin: double the mass and you double the moles, halve the molar mass and you also double them. The sensitivity to molar mass is inverse, so a heavier molecule gives fewer moles for the same weighing. This is why mass-based recipes for the same molar quantity differ so much between, say, sodium chloride and sucrose.

Where this conversion usually goes wrong

  • Using the atomic mass when the species is diatomic or polyatomic: oxygen gas is O2 at about 32 g/mol, not 16.
  • Forgetting water of crystallisation. A hydrated salt weighs more per mole than the anhydrous form, and you must use the formula you actually weighed.
  • Mixing units, such as milligrams over grams per mole, which leaves the result a thousand times off.
  • Rounding the molar mass to a whole number early, which compounds when the result feeds into later steps.

Another source of trouble is balance readings that include the container. Weighing a sample in a beaker and forgetting to subtract or tare gives a mass that is too high, and every mole figure after it inherits the error. Tare the vessel or record the empty mass before adding the sample.

Quick routine for a clean conversion

Write the exact formula, total the atomic masses, convert the mass to grams, divide, and compare the result with the rough expectation of mass divided by a round-number molar mass. If the two disagree by more than a few percent, one of the inputs is wrong.

A practical example: a lab sheet asks for the moles in 4.00 g of sodium hydroxide. Look up the formula NaOH, total the masses to about 40.0 g/mol, and divide to get roughly 0.100 mol. If the same sheet then asks how much hydrochloric acid neutralises it, the one-to-one ratio from the balanced equation gives 0.100 mol there too. The whole chain depends on this first division being correct.

Common questions

How many moles are in 10 grams of a substance?

Divide 10 by the substance's molar mass in g/mol. The answer depends entirely on the compound: 10 g of water is about 0.55 mol, while 10 g of sodium chloride is roughly 0.17 mol, because its molar mass is larger.

Should I use molar mass or molecular weight?

For this calculation they carry the same number, grams per mole versus a dimensionless relative mass. Use the value for the exact formula you weighed, including any water of hydration or the diatomic form of gases.

Does temperature or pressure affect moles from mass?

No. Moles from mass depends only on how much matter you weighed and what it is made of. Temperature and pressure matter when you convert moles to a gas volume, not at this stage.

Why do I get a different answer using 18 and 18.015?

The difference is rounding in the molar mass. Both are acceptable as approximations; use the more precise value if your data support it, and make sure you quote the result to the precision of the measured mass.

Was this guide helpful?

Continue reading

View all blogs