Molarity Calculator

Solution concentration in mol/L from grams, molar mass, and volume.

Chemistry and LabUpdated 2026-10-102 min read
Molarity Calculator
NaCl 58.44, glucose 180.16, CaCO3 100.09.
Molarity
...
Moles...
Mass concentration...

What it does

Molarity counts how many moles of solute sit in each liter of solution. It drives stoichiometry, titrations, and buffer recipes: reactions care about molecule counts, and molarity converts weighable grams into those counts per volume.

The tool above takes solute grams, molar mass, and final liters. It returns moles, molarity, and grams per liter together so weighing and pipetting read off one pass.

The default dissolves 58.44 g of table salt (molar mass 58.44) into 1 L: exactly 1 mol for a 1 M solution at 58.44 g/L. Halving the salt to 29.22 g halves everything to 0.5 mol and 0.5 M.

Definitions follow the IUPAC Gold Book amount of substance entries with the same worked patterns taught in Khan Academy chemistry units. Both fix molarity as moles per liter of finished solution, not per liter of solvent poured.

How to use

  1. Enter the solute grams weighed on the balance.
  2. Enter the molar mass from the formula weights.
  3. Enter the final solution volume in liters.
  4. Read molarity first for the reaction math.
  5. Use moles and g/L for weighing the next batch.

Formula

Moles = grams / molar mass. Molarity = moles / liters. Mass conc = grams / liters.
moles
Molecule count in Avogadro units.
molar mass
Grams per mole from atomic weights.
liters
Finished solution volume, not solvent added.

Volume means after dissolving and topping up in a volumetric flask. Dumping solute into a full liter overshoots because the solid displaces liquid.

Worked example

Example: 58.44 g NaCl in 1 L

Grams 58.44, molar mass 58.44, volume 1 L.

  1. Moles: 58.44 / 58.44 = 1 mol.
  2. Molarity: 1 / 1 = 1 M.
  3. Mass conc: 58.44 / 1 = 58.44 g/L.
  4. Bench path: dissolve in about 800 mL water, then top up to 1 L.
  5. Tool shows 1 M, 1 mol, 58.44 g/L.

Reference table

Common solutes at 1 M in 1 L
SoluteMolar massGrams for 1 M
NaCl58.44 g/mol58.44 g
Glucose180.16 g/mol180.16 g
CaCO3100.09 g/mol100.09 g
NaOH40.00 g/mol40.00 g

Limits

  • Ideal dissolving assumed; volumes shift slightly at high conc.
  • Purity matters: technical grade weighs include impurities.
  • Hydrates need their water counted in molar mass.
  • Temperature moves volumes a little; state 20 or 25 C for records.

Common mistakes

  • Dividing by milliliters instead of liters.
  • Topping solvent to a liter instead of solution to a liter.
  • Using atomic number instead of atomic weight.
  • Forgetting hydrate water in the molar mass.
  • Reading M as molality (per kg solvent) by accident.

Try it yourself

Quick checks. Answers sit tucked under each question.

29.22 g NaCl in 1 L?

0.5 mol, 0.5 M, 29.22 g/L.

10 g NaOH (40.00) in 0.5 L?

0.25 mol / 0.5 L = 0.5 M.

Moles in 90.08 g glucose?

90.08 / 180.16 = 0.5 mol.

Questions

What is 1 molar?

One mole per liter of finished solution. For NaCl that is 58.44 g topped to 1 L.

Molarity vs molality?

Molarity divides by solution liters, molality by solvent kilos. Dilute water work barely differs.

How do I make 0.5 M?

Halve the 1 M grams or double the volume. For NaCl: 29.22 g to 1 L.

Why top up instead of adding 1 L?

The solid takes space, so adding a full liter overshoots the mark and dilutes below target.

Do hydrates change the math?

Yes. Use the hydrate molar mass including waters, since part of the weighed grams is water.

What does M mean on a bottle?

mol/L of the named solute at the stated temperature.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.