Molarity Calculator

Convert between mass, moles, volume and molarity for a solution, and work out the mass to weigh out for a target concentration.

g
g/mol
NaCl is 58.44, glucose 180.16, water 18.02.
L
mol/L
Moles of solute 0.100103 mol
M = moles ÷ litres · moles = mass ÷ molar mass
Molarity 0.100103 mol/L
M = moles ÷ litres · moles = mass ÷ molar mass
In millimolar 100.103 mM
Mass needed for the target molarity 29.22 g
M = moles ÷ litres · moles = mass ÷ molar mass
Concentration by mass 5.85 g/L
Percent weight by volume 0.585 % w/v

Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.

What the Molarity Calculator does

The molarity calculator on this page will convert between mass, moles, volume and molarity for a solution, and work out the mass to weigh out for a target concentration. Fill in all 4 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for preparing a solution to a specified concentration. If you want to cross-check the result, there is another molarity calculator on FreeToolsWorld.org.

How to use it

  1. Enter the mass of solute and its molar mass.
  2. Enter the final volume of solution in litres.
  3. Read the molarity, or enter a target molarity to get the mass to weigh out.

How it works

Molarity is moles of solute per litre of final solution, not per litre of solvent. The distinction matters because dissolving something changes the volume: adding 58.44 g of salt to one litre of water gives noticeably more than one litre of solution. Make up to volume in a volumetric flask rather than adding solute to a measured volume of water.

Molality — moles per kilogram of solvent — is the alternative, and it is the one to use where temperature varies, because mass does not change with temperature and volume does.

Percent w/v is grams per 100 millilitres, a convention that is dimensionally loose but entrenched in biology and medicine. A 0.9% saline solution is 9 g/L.

When to use it

  • Preparing a solution to a specified concentration.
  • Converting a mass measurement into moles for a reaction.
  • Checking a buffer or reagent recipe.
  • Converting between molarity, g/L and percent w/v.

Common mistakes to avoid

  • Adding solute to a full litre of solvent instead of making up to a litre of solution.
  • Using molecular weight when the compound is hydrated — the waters of crystallisation count towards the mass you weigh.
  • Confusing molarity with molality in work where temperature changes.

Frequently asked questions

How do I make a 1 molar solution?

Weigh out one molar mass in grams, dissolve it in less than a litre of solvent, then make up to exactly one litre. For NaCl that is 58.44 g.

What is the difference between molarity and molality?

Molarity is moles per litre of solution and changes with temperature because volume does. Molality is moles per kilogram of solvent and does not.

Do I use the hydrated or anhydrous molar mass?

Whichever matches the bottle you are weighing from. Copper sulfate pentahydrate is 249.68 g/mol against 159.61 for the anhydrous salt — using the wrong one is a 36% concentration error.

Related tools

See all science & engineering →