Molarity Formula and Molarity Calculator

Free chemistry calculator

Molarity Formula and Molarity Calculator

Calculate molarity, the mass of solute to weigh, or the solution volume. With step-by-step working, definitions and worked examples.

Final solution volume, not the volume of water added.
Fill in the fields above to see the result and the working.

What is molarity?

Molarity (M) is the number of moles of solute in one litre of solution. Its unit is mol/L, written M (molar). A 0.2 M NaCl solution contains 0.2 mol of NaCl in every litre of solution.

Molarity is the most common concentration unit in the laboratory, because solutions are measured by volume with volumetric flasks and pipettes.

Molarity formula

M = n ÷ V = (mass ÷ Mr) ÷ VV in litres. With V in mL: M = (mass ÷ Mr) × (1000 ÷ V)
Mmolarity (mol/L)nmoles of solute (mol)massmass of solute (g)Mrmolar mass (g/mol)Vsolution volume (L)

Two other forms follow from the same formula: mass = M × V × Mr to find how many grams to weigh, and V = (mass ÷ Mr) ÷ M to find the solution volume.

Worked examples

Example 1: calculating molarity

5.844 g of NaCl (Mr = 58.44 g/mol) is dissolved in water to a final volume of 500 mL. What is the molarity?

  1. n = 5.844 g ÷ 58.44 g/mol = 0.1 mol
  2. V = 500 mL = 0.5 L
  3. M = 0.1 mol ÷ 0.5 L = 0.2 mol/L

Answer: 0.2 M

Example 2: mass to weigh

You want 250 mL of 0.1 M NaOH (Mr = 40.00 g/mol). How many grams of NaOH do you weigh?

  1. V = 250 mL = 0.25 L
  2. n = M × V = 0.1 mol/L × 0.25 L = 0.025 mol
  3. mass = n × Mr = 0.025 mol × 40.00 g/mol = 1.000 g

Answer: weigh 1.000 g NaOH, dissolve it, then make up to 250 mL in a volumetric flask.

Example 3: solution volume

You have 20 g of glucose (Mr = 180.16 g/mol). What volume of 0.5 M solution can you make?

  1. n = 20 g ÷ 180.16 g/mol = 0.1110 mol
  2. V = n ÷ M = 0.1110 mol ÷ 0.5 mol/L = 0.2220 L

Answer: about 222 mL of solution.

How to prepare a solution of a given molarity

  • Calculate the mass with mass = M × V × Mr.
  • Weigh the solute on an analytical balance and dissolve it in part of the solvent in a beaker.
  • Transfer to a volumetric flask, rinse the beaker several times and add the rinsings to the flask.
  • Make up to the mark with solvent, stopper and mix until homogeneous.
Common mistake: V is the volume of the final solution, not the volume of water added. Dissolving 1 mol of solute in 1 litre of water does not give a 1 M solution, because the final volume can change.

Molarity vs molality

Molarity (M) Molality (m)
Divided by solution volume (L) solvent mass (kg)
Unit mol/L mol/kg
Temperature dependent yes, volume expands no
Used for preparing solutions, titration colligative properties

More on the molality formula page.

Frequently asked questions

What is the unit of molarity?

Molarity is expressed in mol/L, written M (molar). Smaller units are mM (millimolar, 0.001 M) and µM (micromolar).

Is molarity the same as concentration?

Molarity is one unit of concentration. Others include molality, normality, percent (% w/v, % v/v) and ppm.

What if the volume is in mL?

Divide by 1000 to convert to litres, or use M = (mass ÷ Mr) × (1000 ÷ V) with V in mL.

Where do I find the molar mass?

Add up the relative atomic masses of all atoms in the formula. For common substances, pick one in the calculator above. For hydrates use the hydrate molar mass, for example CuSO4·5H2O = 249.69 g/mol.

What is the difference between molarity and normality?

Normality (N) counts equivalents, for example the number of H+ an acid releases. For H2SO4, 1 M = 2 N. A normality calculator is on the chemistry calculator page.

Prepare solutions with analytical-grade reagents

AMI Scientific is one of the official TCI distributors in Indonesia. Reagents with lot CoA & SDS, formal quotations and tax invoices for universities and laboratories.

Embed this calculator on your site

Free for teachers, lecturers and chemistry blogs. Copy the code below and paste it into your page in HTML mode.

Other formulas & calculators: mole, molality, normality, dilution, titration, pH, buffer, molar mass, ppm, mole fraction, mass percent, periodic table, chemical MSDS.