A little help goes a long way. Find a tool/

Science & Physics

Molarity Calculator

Free molarity calculator: enter moles (or a mass with its molar mass) and the solution volume to get concentration in mol/L, shown as M, mM and µM. Chemistry math that runs in your browser.

YOUR WORKSPACEFree to use. No sign-up.

Enter moles, or a mass with its molar mass — not both.

—
Enter moles (or mass + molar mass) and the volume above.

Deep dive guides

A LITTLE CONTEXT · 4 MIN READMolarity Explained: Counting Moles in Every Litre

How molarity calculator works

Molarity is the chemist's standard concentration: moles of solute per litre of solution, written M = n / V. The mole counts particles — one mole is 6.02214076 × 10²³ of them — so molarity says how many particles sit in every litre, which is what reaction stoichiometry actually cares about. The calculator takes moles directly, or a mass plus a molar mass and converts through n = m / Mᵣ, then divides by the volume to give molarity in mol/L.

A worked example makes the two-step rhythm visible. Dissolve 58.44 g of sodium chloride — one mole, since NaCl's molar mass is 58.44 g/mol — in water and make the volume up to 1.00 L: the result is exactly 1 M. Use only 5.844 g (0.1 mol) in 500 mL (0.5 L) and the concentration is 0.1 / 0.5 = 0.2 M. The tool handles the millilitres-to-litres division automatically, and reports mM and µM alongside because biologists and pharmacologists work a thousand- and a million-fold below molar: 0.25 M is 250 mM is 250,000 µM.

Scope note: this tool computes the molarity of what you dissolve, not how to get from one concentration to another — dilution follows the separate relation C₁V₁ = C₂V₂ and deserves its own calculator. Also remember that molarity is defined per litre of final solution, not per litre of water added: dissolve the solute first, then bring the volume up to the mark. Molar masses for elements come straight from the periodic table; for compounds, sum the atoms (water: 2 × 1.008 + 16.00 = 18.016 g/mol).

Frequently asked questions

What is molarity?
Molarity (symbol M, unit mol/L) is the number of moles of solute dissolved per litre of final solution. A 1 M salt solution contains one mole of sodium chloride — 58.44 g — made up to exactly one litre. It is the default concentration unit in chemistry because reactions consume particles in fixed ratios.
How do I calculate molarity from a mass?
Convert the mass to moles first: n = mass / molar mass. Then divide by the volume in litres: M = n / V. For 18.0156 g of glucose (180.156 g/mol) in 2 L: n = 0.1 mol, so M = 0.1 / 2 = 0.05 M. The calculator does both steps and keeps the intermediate moles visible.
What is the difference between M and mM?
Only scale: 1 M = 1000 mM (millimolar) = 1,000,000 µM (micromolar). Biochemists prefer mM and µM because physiological concentrations are tiny — blood glucose is about 5 mM — and writing 0.005 M invites transcription errors. The calculator reports all three scales from one input.
Does molarity change with temperature?
Yes, slightly: liquids expand as they warm, so a fixed amount of solute occupies more litres and the molarity drops. For temperature-sensitive work chemists use molality (moles per kilogram of solvent), which is temperature-independent. For bench work at room temperature the effect is usually well under 1%.
Where do molar masses come from?
From the periodic table: each element's atomic mass in g/mol, summed over the formula. Water is 2 × 1.008 + 15.999 ≈ 18.02 g/mol; sodium chloride 22.99 + 35.45 = 58.44 g/mol; glucose C₆H₁₂O₆ = 180.156 g/mol. The Periodic Table Lookup on this site lists atomic masses for every element.