01
How to use the molarity calculator
- Enter the molar mass of the compound in g/mol, from the bottle or the supplier’s data sheet.
- Fill in two of mass, concentration and volume, with their units. Leave the third empty.
- Read the answer and the preparation line.
02
Molarity formula
molarity (mol/L) = moles of solute ÷ litres of solution
mass (g) = molarity (mol/L) × volume (L) × molar mass (g/mol)
| To find | Formula |
|---|---|
| Mass to weigh | m = C × V × M |
| Concentration | C = m ÷ (M × V) |
| Volume | V = m ÷ (M × C) |
03
Worked example
The calculator opens with 500 mL of 0.1 M sodium chloride (molar mass 58.44 g/mol).
m = 0.1 mol/L × 0.5 L × 58.44 g/mol = 2.922 g
Weigh 2.922 g, dissolve it in less than 500 mL of water, then make the solution up to 500 mL. That is 0.05 mol, or 5.844 g/L.
04
Getting the molar mass right
- Hydrates. Use the molar mass of the form in the bottle. Copper sulfate pentahydrate is far heavier per mole than the anhydrous salt, and using the wrong one gives the wrong concentration.
- Salts of drugs and buffers. A hydrochloride or sodium salt has a different molar mass from the free compound.
- Purity. If the label says 95%, divide the calculated mass by 0.95.
- Liquids. For a liquid reagent, convert the mass to a volume with its density, or use the stock molarity with the dilution calculator.
05
Making the solution
Molarity is defined per litre of solution, not per litre of solvent. Dissolve the solid in part of the solvent, then add solvent until the total volume reaches the mark. Adding the solid to the full volume of solvent gives a slightly lower concentration, because the solid takes up space.
06
Molarity, molality and mass concentration
| Measure | Definition | Unit |
|---|---|---|
| Molarity | moles of solute per litre of solution | mol/L (M) |
| Molality | moles of solute per kilogram of solvent | mol/kg |
| Mass concentration | mass of solute per litre of solution | g/L |
07
Common mistakes with molarity
- Using the anhydrous molar mass for a hydrated salt. 500 mL of 0.1 M calcium chloride needs 5.549 g of CaCl₂ but 7.350 g of CaCl₂·2H₂O; weighing 5.549 g of the dihydrate gives 0.0755 M, 24.5% weak.
- Picking the wrong volume unit. 500 L instead of 500 mL asks for 2,922 g of sodium chloride instead of 2.922 g.
- Dissolving in the full volume of water. Add the solid to less than 500 mL, dissolve it, then make up to the mark; the solid itself takes up volume.
- Mixing M and mM. 100 mM is 0.1 M; entering 100 in the M box asks for 1,000 times the mass.
Trust
How this page is checked
- The calculation runs on code with automated tests against worked reference values. Every number in the examples on this page was produced by that same code, not typed by hand.
- The formulas and conventions used are stated on the page, so you can reproduce the result yourself or compare it with your own software.
- Sources: IUPAC CIAAW, abridged standard atomic weights.
- Last reviewed by the Sciloom team, Zebra Nine Studio Inc. It is a tool for research and teaching, not a substitute for a statistician, a validated lab method or medical advice.
Cite this page
Sciloom. (2026). Molarity calculator. Zebra Nine Studio Inc. https://sciloom.si/molarity-calculator
Frequently asked questions
How do I calculate molarity?
Divide the moles of solute by the volume of solution in litres. Moles are the mass in grams divided by the molar mass in g/mol.
How many grams do I need to make a 1 M solution?
For one litre, the molar mass in grams. For other volumes, multiply the molar mass by the volume in litres: 0.25 L of 1 M NaCl needs 58.44 × 0.25 = 14.61 g.
What is the difference between M and mM?
M is moles per litre; mM is millimoles per litre, one thousandth of that. 150 mM equals 0.15 M.
Where do I find the molar mass?
On the reagent bottle, the certificate of analysis or the supplier’s product page. Make sure it is for the exact form you have, including water of hydration.