Skip to main content

How to Calculate Molarity: Chemistry Solution Guide

Dr. Lisa Chen · 2024-04-14 · 13 min read · Chemistry

Molarity is moles of solute per litre of solution: M = n/V. This guide covers the formula, mass-to-moles conversion, solution preparation, related concentration units, worked examples, and common lab errors.

How to Calculate Molarity

Molarity is the concentration unit chemists reach for first. It answers a simple question: how many moles of solute are dissolved in each litre of solution? From titration stoichiometry to buffer prep, that number lets you convert between volume of solution and amount of substance.

The defining relationship is:

M = (n)/(V)

Where M is molarity in mol/L (often written with a capital M as a unit symbol), n is moles of solute, and V is the volume of solution in litres — not the volume of solvent alone.

The core formulas

Molarity:

M = (n)/(V)

Moles from molarity and volume:

n = M × V

Volume needed for a given amount of solute:

V = (n)/(M)

Moles from mass:

n = (m)/(M_r)

Where m is mass in grams and M_r is the molar mass in g/mol (numerically equal to the molecular or formula weight).

Combine mass and molarity to find how much solid to weigh for a target solution:

m = M × V × M_r

This is the everyday prep equation for solid reagents.

Worked example: find molarity from mass

Problem. 5.85 g of NaCl is dissolved and diluted to 250.0 mL of aqueous solution. What is the molarity?

Molar mass of NaCl: 22.99 + 35.45 = 58.44 g/mol.

n = (5.85)/(58.44) = 0.1001\ \mathrmmol

V = 250.0\ \mathrmmL = 0.2500\ \mathrmL

M = (0.1001)/(0.2500) = 0.400\ \mathrmM

Worked example: mass required to prepare a solution

Problem. Prepare 500 mL of 0.100 M glucose (C6H12O6). Molar mass ≈ 180.16 g/mol.

m = M × V × M_r = 0.100\ \mathrmmol/L × 0.500\ \mathrmL × 180.16\ \mathrmg/mol

m = 9.01\ \mathrmg

Procedure. Weigh 9.01 g of glucose into a 500 mL volumetric flask, dissolve in some deionized water, then dilute to the mark and mix. Do not simply dump 9.01 g into 500 mL of water in a beaker — that would be 500 mL of solvent plus solid, not 500 mL of solution.

Worked example: volume of stock for a given mole amount

Problem. How many millilitres of 2.00 M H2SO4 contain 0.0500 mol of H2SO4?

V = (n)/(M) = (0.0500)/(2.00) = 0.0250\ \mathrmL = 25.0\ \mathrmmL

Molarity versus molality and other units

Molarity depends on volume, so it changes slightly with temperature as the solution expands or contracts. Related units:

Molality is preferred when temperature varies (colligative properties) because mass of solvent does not change with temperature.

Rough conversion for dilute aqueous solutions (density ≈ 1.00 g/mL): molarity and molality are numerically similar. They diverge for concentrated solutions.

Hydrates and purity

Many lab reagents are hydrates. Use the hydrate molar mass if that is what you weigh.

Example. Prepare 1.00 L of 0.200 M CuSO4 from CuSO4·5H2O (M_r = 249.69 g/mol):

m = 0.200 × 1.00 × 249.69 = 49.9\ \mathrmg

of the pentahydrate — not 31.9 g of anhydrous CuSO4.

If a bottle is labelled 95% pure, divide the ideal mass by the purity fraction:

m_\mathrmweigh = \fracm_\mathrmpure\ needed0.95

Millimolar and micromolar scales

Biology and analytical work often use:

1\ \mathrmM = 10^3\ \mathrmmM = 10^6\ \mu\mathrmM

The formulas are unchanged; only the unit scaling differs. A 50 µM solution is 5.0 × 10^-5 M.

n = M × V

still holds if M and V are consistent (for example, mmol and mL: n_\mathrmmmol = M_\mathrmmol/L × V_\mathrmmL).

From molarity to other useful quantities

Mass concentration (g/L):

γ = M × M_r

Parts per million (approximate, dilute water solutions):

1\ \mathrmmg/L ≈ 1\ \mathrmppm

So ppm ≈ M × M_r × 1000 when M is in mol/L and M_r in g/mol (giving mg/L).

Osmolarity (ideal, non-dissociating solute) equals molarity. For strong electrolytes, multiply by the number of particles (van 't Hoff factor i):

\mathrmOsmolarity ≈ i × M

NaCl fully dissociated: i ≈ 2.

Titration link

In acid–base titrations, moles of acid and base are related by stoichiometry. For a 1:1 reaction:

M_a V_a = M_b V_b

Which is the same algebra as a dilution equation, but here it expresses chemical equivalence at the endpoint, not conservation during dilution. For H2SO4 versus NaOH (1:2 acid:base mole ratio), include the stoichiometric coefficients explicitly.

Applications

Solution preparation. Weigh solid, dissolve, dilute to volume in a volumetric flask.

Stoichiometry in solution. Convert pipette volumes into moles for limiting-reactant problems.

Buffers and media. Specify component molarities so pH and ionic strength are reproducible.

Analytical chemistry. Standard solutions of known molarity calibrate titrations and instruments.

Medicine and pharmacy (conceptual). Many dose calculations use millimoles and milliequivalents — molarity is the underlying idea (clinical work follows regulated protocols).

Environmental chemistry. Contaminant concentrations reported in mol/L or converted to mg/L for regulations.

Common mistakes

Using millilitres as if they were litres. Forgetting to convert V to litres understates molarity by a factor of 1000 (or overstates moles if you multiply M by mL without converting).

Confusing solvent volume with solution volume. Molarity is per litre of solution. Always make to the mark.

Wrong molar mass for hydrates. Weighing a hydrate but using the anhydrous M_r gives a solution that is too dilute.

Ignoring purity. Technical-grade reagents are not 100% the labelled compound.

Mixing up M (molarity) with M as a variable for molar mass. In prose, prefer M_r or "molar mass" for clarity; in equations, keep symbols distinct.

Assuming volumes are additive when mixing liquids. For precise molarity of mixed solvents, dilute to a final volumetric mark rather than adding volume A to volume B.

Using molarity when the protocol asks for molality. They are not interchangeable for concentrated solutions or wide temperature ranges.

Frequently asked questions

Is 1 M the same as 1 mol/L? Yes. The symbol M as a unit means mol/L.

Why do we use volumetric flasks? They fix V precisely so M = n/V is accurate. Beakers and graduated cylinders are for approximate work.

Does dissolving a solid increase the volume? Yes, slightly. That is why you dissolve, then dilute to the mark, rather than adding solid to a pre-measured litre of water when you need an exact molarity.

How do I find molar mass? Sum atomic masses from the periodic table for the formula unit (for example, H2SO4: 2(1.008) + 32.06 + 4(16.00) = 98.08 g/mol).

Can molarity be greater than 1? Yes. Concentrated laboratory acids are several molar (for example, concentrated HCl is about 12 M). Very concentrated solutions may not behave ideally.

How is molarity different from normality? Normality counts equivalents per litre. For HCl in acid–base reactions, N = M. For H2SO4, 1 M = 2 N. Prefer molarity unless a procedure specifies normality.

What temperature should I use? Report the temperature if high accuracy matters. Standard volumetric glassware is calibrated near 20 °C; warm solutions have a larger volume and thus a slightly lower molarity for the same dissolved moles.

Summary

Molarity is moles per litre of solution:

M = (n)/(V) = (m)/(M_r × V)

To prepare a solution, compute m = M × V × M_r, weigh that mass, dissolve, and dilute to the final volume. Keep litres and grams consistent, use the correct molar mass for hydrates, and treat molarity as distinct from molality and percent compositions.

Compute concentration and prep masses with our Molarity Calculator.

Topics: molarity, chemistry, solutions, concentration, lab