Molarity Calculator

Molarity is moles of solute per litre of solution. Type the solute as a formula and the calculator works out its molar mass for you.

Find
A formula such as NaCl, H2SO4 or CuSO4·5H2O, or a molar mass in g/mol.
Results update as you type.

Molarity

0.4 M

mol/L

Moles of solute
0.1 mol
Millimolar
400 mM
Concentration by mass
23.376 g/L
Molar mass
58.44 g/mol

About this calculator

Switch to the second mode to find how many grams to weigh out for a solution you want to prepare.

How to use it

  1. Enter the solute formula or molar mass.
  2. Enter the mass and volume, or the target molarity.
  3. Read the result.

The formula

M = moles of solute ÷ litres of solution; mass = M × V × molar mass
M
molarity in mol/L
V
volume of solution in litres

Worked example

5.844 g of NaCl in 250 mL

  1. Moles = 5.844 ÷ 58.44 = 0.1 mol.
  2. M = 0.1 ÷ 0.25 L = 0.4 M.

What the result means

Molarity uses the volume of the whole solution, not of the solvent added.

Assumptions

  • Solute fully dissolved.

Limitations

  • Molarity changes slightly with temperature, as volume does; molality does not.

Frequently asked questions

What is the difference between molarity and molality?

Molarity is per litre of solution; molality is per kilogram of solvent.

How do I make a 1 M NaCl solution?

Dissolve 58.44 g of NaCl and make up to 1 litre.

What is mM?

Millimolar: one thousandth of a mole per litre.

Last reviewed on 6 October 2026. Found a mistake? Tell us.