Moles from Mass and Molar Mass: HSC Chemistry Guide

Learn how to use and rearrange n = m/MM to calculate moles, mass, and molar mass, with worked HSC Chemistry examples and practice questions.

You weigh out 5.00 g of a substance. The balance tells you its mass, but most chemistry equations don’t actually care how many grams you have. They care how many moles you have.

Here is the puzzle. Suppose you have 5.00 g of hydrogen and 5.00 g of oxygen. Do you have the same chemical amount of each because their masses are equal?

Predict before reading on.

No. Equal masses can contain very different amounts in moles. A mole of one substance can be much heavier than a mole of another. The missing link between grams and moles is molar mass.

01Why mass alone is not enough

Imagine buying 1 kg of watermelons and 1 kg of blueberries. The masses are equal, but you obviously don’t have the same number of objects.

Chemicals work similarly. Different atoms and molecules have different masses, so a fixed mass can represent different numbers of particles.

The analogy isn’t exact. Chemists aren’t normally counting individual particles one by one, and a mole is a precisely defined amount rather than a convenient bag size. But the basic idea is useful: to convert a mass into an amount, you need to know how much one standard-sized batch weighs.

For chemistry, that standard batch is one mole.

One mole contains \(6.022 \times 10^{23}\) specified particles, approximately. Depending on the substance, those particles might be atoms, molecules, ions, or formula units.

The important idea for this calculation is simpler:

Molar mass tells you the mass of one mole of a substance.

If the molar mass of magnesium is \(24.31\ \text{g mol}^{-1}\), then:

  • \(1\) mol Mg has a mass of \(24.31\) g
  • \(2\) mol Mg has a mass of \(48.62\) g
  • \(0.5\) mol Mg has a mass of \(12.155\) g

So if you know the mass of a magnesium sample, you can work backwards to find how many moles it contains.

02The relationship \(n = \frac{m}{MM}\)

The relationship used in HSC Chemistry is:

\[
n = \frac{m}{MM}
\]

where:

SymbolMeaningCommon unit
\(n\)chemical amountmol
\(m\)massg
\(MM\)molar mass\(\text{g mol}^{-1}\)

You may also see molar mass represented by \(M\) in other chemistry resources. Here, we’ll use \(MM\) to match the relationship \(n = \frac{m}{MM}\).

The equation makes sense before you even calculate anything.

Suppose a substance has a molar mass of \(50\ \text{g mol}^{-1}\). That means every \(50\) g represents \(1\) mol.

If you have \(100\) g, you have:

\[
\frac{100\ \text{g}}{50\ \text{g mol}^{-1}} = 2.0\ \text{mol}
\]

Notice what happens to the units:

\[
\frac{\text{g}}{\text{g mol}^{-1}} = \text{mol}
\]

The grams cancel, leaving moles.

That unit check is useful. If your calculation for \(n\) ends in grams, something has gone wrong.

03Finding molar mass from a chemical formula

Before using \(n = \frac{m}{MM}\), you often need to calculate \(MM\) from the periodic table.

For an element, the molar mass is numerically equal to its relative atomic mass, but it carries the unit \(\text{g mol}^{-1}\).

For example:

\[
MM(\ce{Mg}) = 24.31\ \text{g mol}^{-1}
\]

For a compound, add the molar masses of all the atoms shown in the formula.

For water, \(\ce{H2O}\):

\[
MM(\ce{H2O})
= 2(1.008) + 16.00
= 18.016\ \text{g mol}^{-1}
\]

The subscript 2 applies to hydrogen, so there are two hydrogen atoms for every oxygen atom.

This sounds basic, but it causes plenty of errors once formulas become more complicated. A subscript or bracket that gets ignored changes the molar mass, which then changes every calculation that follows.

Worked example: How many moles are in 9.00 g of water?

Calculate the chemical amount of \(\ce{H2O}\) in a \(9.00\) g sample.

Step 1

Using \(H = 1.008\) and \(O = 16.00\):

\[
MM(\ce{H2O})
= 2(1.008) + 16.00
= 18.016\ \text{g mol}^{-1}
\]

Step 2

\[
n
= \frac{9.00\ \text{g}}{18.016\ \text{g mol}^{-1}}
= 0.4996\ \text{mol}
\]

Step 3

\[
n = 0.500\ \text{mol}
\]

So \(9.00\) g of water is approximately \(0.500\) mol of water.

That result is physically sensible. One mole of water has a mass of about \(18.0\) g, so \(9.00\) g should be about half a mole.

That quick reasonableness check is worth doing. It can catch a calculator error immediately.

04Rearranging the relationship

You shouldn’t need three separate formulas for mass, moles, and molar mass. They are all the same relationship rearranged.

Starting with:

\[
n = \frac{m}{MM}
\]

multiply both sides by \(MM\):

\[
m = nMM
\]

So to find mass:

\[
\boxed{m = nMM}
\]

To find molar mass, start again from \(n = \frac{m}{MM}\) and rearrange:

\[
\boxed{MM = \frac{m}{n}}
\]

The useful decision is:

You knowYou wantRelationship
mass and molar massmoles\(n = \frac{m}{MM}\)
moles and molar massmass\(m = nMM\)
mass and molesmolar mass\(MM = \frac{m}{n}\)

Don’t choose the formula because it “looks familiar”. Choose it by asking which quantity is unknown.

05A useful prediction before calculating

Consider two \(10.0\) g samples:

  • \(10.0\) g of carbon, \(MM = 12.01\ \text{g mol}^{-1}\)
  • \(10.0\) g of calcium, \(MM = 40.08\ \text{g mol}^{-1}\)

Which sample contains more moles?

Carbon does.

For the same mass, the substance with the smaller molar mass contains more moles:

\[
n = \frac{m}{MM}
\]

If \(m\) stays fixed while \(MM\) becomes larger, \(n\) becomes smaller.

This is an inverse relationship.

It’s tempting to think “calcium is heavier, so there must be more of it”. That mixes up mass with chemical amount. The samples already have equal masses. Because each mole of calcium is heavier, fewer moles are needed to make up that \(10.0\) g.

06Compounds with brackets need extra care

Consider aluminium sulfate, \(\ce{Al2(SO4)3}\).

Before calculating anything, count the atoms.

The formula contains:

  • 2 aluminium atoms
  • 3 sulfur atoms
  • \(3 \times 4 = 12\) oxygen atoms

The 3 outside the brackets multiplies everything inside the brackets.

Using \(Al = 26.98\), \(S = 32.06\), and \(O = 16.00\):

\[
\begin{aligned}
MM(\ce{Al2(SO4)3})
&= 2(26.98) + 3(32.06) + 12(16.00) \\
&= 53.96 + 96.18 + 192.00 \\
&= 342.14\ \text{g mol}^{-1}
\end{aligned}
\]

A common mistake is to count only four oxygen atoms because \(\ce{O4}\) appears inside the bracket. But there are three sulfate groups, so the compound contains twelve oxygen atoms per formula unit.

Worked example: What mass contains 0.0750 mol of aluminium sulfate?

Calculate the mass of \(0.0750\) mol of \(\ce{Al2(SO4)3}\).

Step 1

\[
MM(\ce{Al2(SO4)3}) = 342.14\ \text{g mol}^{-1}
\]

Step 2

We know \(n\) and \(MM\), and we want \(m\), so use:

\[
m = nMM
\]

Step 3

\[
\begin{aligned}
m
&= (0.0750\ \text{mol})(342.14\ \text{g mol}^{-1}) \\
&= 25.6605\ \text{g}
\end{aligned}
\]

Step 4

\[
m = 25.7\ \text{g}
\]

So \(0.0750\) mol of aluminium sulfate has a mass of approximately \(25.7\) g.

The answer is larger than \(0.0750\) g because a whole mole of this compound is quite heavy: about \(342\) g.

07Finding an unknown molar mass

The same relationship can also help identify an unknown substance.

Suppose a \(7.30\) g sample contains \(0.100\) mol of a substance.

Its molar mass is:

\[
MM = \frac{m}{n}
\]

so:

\[
\begin{aligned}
MM
&= \frac{7.30\ \text{g}}{0.100\ \text{mol}} \\
&= 73.0\ \text{g mol}^{-1}
\end{aligned}
\]

This does not automatically identify the substance. Different substances can have similar or even effectively identical molar masses at the precision available.

What you have found is a useful piece of evidence: any proposed identity should have a molar mass consistent with \(73.0\ \text{g mol}^{-1}\).

08The misconception to avoid: molar mass is not a mass

Look at these two quantities:

\[
18.0\ \text{g}
\]

and

\[
18.0\ \text{g mol}^{-1}
\]

They are not interchangeable.

The first is a mass. It tells you how much matter is in a particular sample.

The second is a molar mass. It tells you how much one mole of a substance would weigh.

Think of a cafe menu. “12 dollars” and “12 dollars per meal” aren’t the same kind of quantity. One is a total amount of money. The other is a rate connecting money to meals.

Similarly, molar mass is a conversion factor connecting grams and moles.

The analogy breaks because molar mass isn’t a price and the mole has a precise scientific definition. But the “per mole” part is worth noticing. Whenever you see \(\text{g mol}^{-1}\), read it as grams per mole.

09A reliable method under exam pressure

For any mass-mole calculation, use the same short process:

  1. Identify the substance. Write its correct chemical formula.
  2. Calculate \(MM\) if it has not been supplied.
  3. Identify the unknown. Are you finding \(n\), \(m\), or \(MM\)?
  4. Choose or rearrange the relationship.
  5. Substitute values with units.
  6. Check whether the answer is physically reasonable.

That last step matters more than it looks.

If a substance has \(MM = 100\ \text{g mol}^{-1}\), then a \(10\) g sample cannot contain \(10\) mol. Ten moles would have a mass of \(1000\) g.

A rough estimate would expose the error before you moved on.

10Questions and solutions

Question 1

A sample contains \(14.6\) g of sodium chloride, \(\ce{NaCl}\). Using \(Na = 22.99\) and \(Cl = 35.45\), calculate the chemical amount of \(\ce{NaCl}\).

Solution 1

The sample contains \(0.250\) mol of \(\ce{NaCl}\).

First calculate the molar mass:

\[
MM(\ce{NaCl})
= 22.99 + 35.45
= 58.44\ \text{g mol}^{-1}
\]

Then use:

\[
n = \frac{m}{MM}
\]

Substituting:

\[
\begin{aligned}
n
&= \frac{14.6\ \text{g}}{58.44\ \text{g mol}^{-1}} \\
&= 0.2498\ \text{mol} \\
&\approx 0.250\ \text{mol}
\end{aligned}
\]

The result makes sense because \(14.6\) g is approximately one quarter of \(58.44\) g, so the sample should contain about one quarter of a mole.

Question 2

Calculate the mass of \(0.350\) mol of calcium carbonate, \(\ce{CaCO3}\). Use \(Ca = 40.08\), \(C = 12.01\), and \(O = 16.00\).

Solution 2

The required mass is \(35.0\) g of \(\ce{CaCO3}\).

First calculate the molar mass:

\[
\begin{aligned}
MM(\ce{CaCO3})
&= 40.08 + 12.01 + 3(16.00) \\
&= 100.09\ \text{g mol}^{-1}
\end{aligned}
\]

We know the amount and molar mass, so use:

\[
m = nMM
\]

Substituting:

\[
\begin{aligned}
m
&= (0.350\ \text{mol})(100.09\ \text{g mol}^{-1}) \\
&= 35.0315\ \text{g} \\
&\approx 35.0\ \text{g}
\end{aligned}
\]

The mole units cancel, leaving grams. Since one mole has a mass of about \(100\) g, \(0.350\) mol should have a mass of about \(35\) g.

Question 3

Two sealed containers each hold exactly \(20.0\) g of a pure substance.

Container A contains a substance with \(MM = 25.0\ \text{g mol}^{-1}\).

Container B contains a substance with \(MM = 80.0\ \text{g mol}^{-1}\).

Calculate the chemical amount in each container, and determine which contains the greater number of particles if each substance consists of discrete molecules.

Solution 3

Container A contains \(0.800\) mol, Container B contains \(0.250\) mol, and Container A therefore contains more molecules.

For Container A:

\[
\begin{aligned}
n_A
&= \frac{m}{MM} \\
&= \frac{20.0\ \text{g}}{25.0\ \text{g mol}^{-1}} \\
&= 0.800\ \text{mol}
\end{aligned}
\]

For Container B:

\[
\begin{aligned}
n_B
&= \frac{20.0\ \text{g}}{80.0\ \text{g mol}^{-1}} \\
&= 0.250\ \text{mol}
\end{aligned}
\]

One mole corresponds to the same number of specified particles regardless of the substance. Therefore, the sample with more moles also has more molecules.

The tempting misconception is that equal masses should contain equal numbers of particles. They do not. Container B’s molecules have the larger molar mass, so fewer moles are required to make up \(20.0\) g.

Question 4

A student calculates the molar mass of \(\ce{Mg(NO3)2}\) as:

\[
24.31 + 14.01 + 3(16.00) = 86.32\ \text{g mol}^{-1}
\]

They then use this value to calculate the number of moles in a \(29.6\) g sample.

Identify the student’s error, calculate the correct molar mass, and determine the correct chemical amount.

Solution 4

The student failed to multiply both N and O by the 2 outside the brackets. The correct molar mass is \(148.33\ \text{g mol}^{-1}\), giving \(0.200\) mol of \(\ce{Mg(NO3)2}\).

The formula \(\ce{Mg(NO3)2}\) contains:

  • 1 Mg atom
  • 2 N atoms
  • 6 O atoms

Therefore:

\[
\begin{aligned}
MM(\ce{Mg(NO3)2})
&= 24.31 + 2(14.01) + 6(16.00) \\
&= 24.31 + 28.02 + 96.00 \\
&= 148.33\ \text{g mol}^{-1}
\end{aligned}
\]

Now calculate the chemical amount:

\[
\begin{aligned}
n
&= \frac{m}{MM} \\
&= \frac{29.6\ \text{g}}{148.33\ \text{g mol}^{-1}} \\
&= 0.1996\ \text{mol} \\
&\approx 0.200\ \text{mol}
\end{aligned}
\]

The brackets are the important trap. The subscript 2 applies to the entire nitrate group, \(\ce{NO3}\), not just to the oxygen.

Question 5

An unknown pure compound has a mass of \(12.0\) g. A measurement indicates that the sample contains \(0.150\) mol.

A student concludes that the compound must be sodium chloride because their periodic table gives \(MM(\ce{NaCl}) = 58.44\ \text{g mol}^{-1}\).

Assess the student’s conclusion using the available evidence.

Solution 5

The student’s conclusion is not supported. The measured molar mass is \(80.0\ \text{g mol}^{-1}\), so the sample is inconsistent with pure \(\ce{NaCl}\) under the stated measurements.

Calculate the experimental molar mass:

\[
\begin{aligned}
MM
&= \frac{m}{n} \\
&= \frac{12.0\ \text{g}}{0.150\ \text{mol}} \\
&= 80.0\ \text{g mol}^{-1}
\end{aligned}
\]

This differs substantially from the stated molar mass of sodium chloride:

\[
80.0\ \text{g mol}^{-1} \ne 58.44\ \text{g mol}^{-1}
\]

So the data do not support the claim that the pure compound is \(\ce{NaCl}\).

There is a second reasoning point here. Even if the calculated molar mass had been close to \(58.44\ \text{g mol}^{-1}\), molar mass alone would not necessarily prove identity. It would show that sodium chloride is consistent with that particular measurement, but further chemical evidence may be needed to identify an unknown substance confidently.

Question 6

Three samples each contain \(0.500\) mol of a pure substance.

  • Sample P has a mass of \(9.01\) g.
  • Sample Q has a mass of \(29.22\) g.
  • Sample R has a mass of \(50.05\) g.

Without calculating particle numbers, determine whether the three samples contain the same number of specified particles. Then calculate the molar mass of each substance and explain why their masses are different.

Solution 6

The three samples contain the same number of specified particles because they each contain \(0.500\) mol, but their masses differ because their molar masses are different.

Chemical amount measures the number of specified entities in mole-sized batches. Equal amounts in moles therefore correspond to equal numbers of specified particles, provided the particle being counted is defined consistently for each substance.

For Sample P:

\[
\begin{aligned}
MM_P
&= \frac{m}{n} \\
&= \frac{9.01\ \text{g}}{0.500\ \text{mol}} \\
&= 18.02\ \text{g mol}^{-1}
\end{aligned}
\]

For Sample Q:

\[
\begin{aligned}
MM_Q
&= \frac{29.22\ \text{g}}{0.500\ \text{mol}} \\
&= 58.44\ \text{g mol}^{-1}
\end{aligned}
\]

For Sample R:

\[
\begin{aligned}
MM_R
&= \frac{50.05\ \text{g}}{0.500\ \text{mol}} \\
&= 100.1\ \text{g mol}^{-1}
\end{aligned}
\]

All three samples contain the same chemical amount, but one mole of R has much more mass than one mole of P. Therefore, \(0.500\) mol of R must also have more mass.

The difficult idea is that equal moles do not mean equal masses. Equal moles mean equal numbers of specified entities. Mass depends on what those entities are made from.

11What this relationship unlocks next

The relationship

\[
n = \frac{m}{MM}
\]

turns a balance reading into a chemical amount. That matters because balanced chemical equations compare substances using mole ratios, not gram ratios.

Once you can reliably move between mass and moles, you can take a measured mass of a reactant, convert it to moles, use the coefficients in a chemical equation to determine how many moles of another substance react or form, and then convert back to a measurable mass if needed.

That is the bridge from simply weighing chemicals to doing quantitative stoichiometry.