Most concentration problems run on two formulas chained together. Convert mass to moles, then moles to concentration:

n=mMmthenM=nVn = \frac{m}{M_\mathrm{m}} \qquad\text{then}\qquad M = \frac{n}{V}

Here nn is the amount in moles, mm is mass, MmM_\mathrm{m} is molar mass, MM is molarity, and VV is the final solution volume in liters. If you keep one distinction straight, keep this one: moles describe amount, molarity describes amount per liter of solution.

Why These Formulas Hold

A mole is just chemistry's counting unit — one mole is exactly 6.02214076×10236.02214076 \times 10^{23} specified particles. You rarely count particles directly, though. Instead, mass is what a balance reads, and molar mass is the grams-per-mole conversion factor for a given substance. So n=m/Mmn = m / M_\mathrm{m} is nothing more than dividing total grams by grams-per-mole to land on a particle count. That is why moles act as a bridge unit: they connect mass, particle number, gas formulas, and solution concentration.

Molarity then asks a different question — not "how much?" but "how concentrated?" Since concentration means amount per unit volume, M=n/VM = n/V falls straight out of the definition. The phrase "of solution" in "moles per liter of solution" is load-bearing: molarity is built on the final mixed volume, not on however much water you started with. A 0.50 M0.50\ \mathrm{M} NaCl solution holds 0.500.50 mol of NaCl\mathrm{NaCl} in each 1.00 L1.00\ \mathrm{L} of finished solution.

Worked Example: Grams To Molarity

Dissolve 9.00 g9.00\ \mathrm{g} of glucose, C6H12O6\mathrm{C_6H_{12}O_6}, and bring the final volume to 250 mL250\ \mathrm{mL}. Find the molarity.

Step 1 — molar mass.

Mm6(12.01)+12(1.008)+6(16.00)180.16 g/molM_\mathrm{m} \approx 6(12.01) + 12(1.008) + 6(16.00) \approx 180.16\ \mathrm{g/mol}

Step 2 — grams to moles.

n=9.00180.160.0499 moln = \frac{9.00}{180.16} \approx 0.0499\ \mathrm{mol}

Step 3 — volume to liters.

250 mL=0.250 L250\ \mathrm{mL} = 0.250\ \mathrm{L}

Step 4 — molarity.

M=0.04990.2500.200 mol/L=0.200 MM = \frac{0.0499}{0.250} \approx 0.200\ \mathrm{mol/L} = 0.200\ \mathrm{M}

The logic is the whole takeaway: molar mass gets you moles, then divide by liters of solution.

Now You Try

Work this one from scratch before checking the answer: dissolve 5.84 g5.84\ \mathrm{g} of NaCl\mathrm{NaCl} (Mm58.44 g/molM_\mathrm{m} \approx 58.44\ \mathrm{g/mol}) and make it up to 500 mL500\ \mathrm{mL} of solution. Find the moles first, then the molarity, confirming your volume is in liters before the final step.

Check: n=5.84/58.440.100 moln = 5.84/58.44 \approx 0.100\ \mathrm{mol}, and 0.500 L0.500\ \mathrm{L} gives M=0.100/0.500=0.200 MM = 0.100/0.500 = 0.200\ \mathrm{M}.

If you want a problem in the reverse direction, rearrange the same definition to n=MVn = MV — valid only when VV is in liters and the molarity refers to the same solute in the same solution.

The Calculation Traps

  • Grams straight into the molarity formula. It needs moles. If mass is given, convert with n=m/Mmn = m / M_\mathrm{m} first.
  • Milliliters used as liters. 500 mL500\ \mathrm{mL} is 0.500 L0.500\ \mathrm{L}, not 500500 — the fastest way to be off by a factor of 10001000.
  • Solvent volume instead of solution volume. "Make up to 250 mL250\ \mathrm{mL}" means use 250 mL250\ \mathrm{mL} as the final volume; do not assume the starting water volume matches.
  • Wrong molar mass. It must match the full formula — the molar mass of NaCl\mathrm{NaCl} is not that of sodium alone.

These ideas appear whenever chemistry shifts from "what substance is this?" to "how much is present?" — in solution preparation, stoichiometry, titrations, and routine lab work. One caveat: because molarity depends on volume, a large enough temperature change that shifts the solution volume can shift the molarity too.

Frequently Asked Questions

What is the difference between moles and molarity?
Moles measure the amount of substance, while molarity measures concentration as moles of solute per liter of solution. A mole counts particles, with one mole containing about 6.022 times ten to the 23rd specified particles. Molarity describes how much of that amount is present in each liter of the final mixed solution.
How do you convert grams to moles?
Divide the mass by the molar mass of the substance, so moles equal mass divided by molar mass. This is usually the first step in chemistry problems, because moles act as a bridge unit connecting mass, particle count, gas formulas, and solution concentration. After converting to moles you can move to the next quantity.
How do you calculate molarity from grams?
Follow the path grams to moles to molarity. First convert grams to moles by dividing the mass by the molar mass. Then divide the moles by the final solution volume in liters. For example, 9 grams of glucose dissolved to a final volume of 250 milliliters gives about 0.05 moles in 0.250 liters, or 0.2 molar.
What does a 0.50 M solution mean?
A 0.50 molar sodium chloride solution contains 0.50 moles of sodium chloride in each 1.00 liter of solution. The words of solution matter: molarity is based on the final mixed volume, not on how much water you started with. The volume must be in liters when using the molarity formula.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →