Molarity Calculator
Three lab helpers in one: how much solute to weigh out, the molarity of a solution you made, and how to dilute a stock solution.
How to use the Molarity Calculator
- Pick what you want to work out using the tabs: Mass needed, Find molarity or Dilution C₁V₁ = C₂V₂.
- Enter Molar mass (molecular weight) (NaCl = 58.44 g/mol. Use the molecular weight calculator for other compounds).
- Enter Desired concentration.
- Choose Concentration unit.
- Enter Final volume and choose its unit.
- Read your answer in the results panel. It updates as you type, and the breakdown, step-by-step working and any charts or tables appear below it.
- Use Share link to save or send the exact calculation, or Copy to paste the results elsewhere.
What molarity is
Molarity (M) is the number of moles of solute dissolved per litre of solution. A 1 M solution of sodium chloride contains one mole of NaCl, 58.44 g, in every litre of the final solution.
M = moles of solute ÷ litres of solution
Because moles = mass ÷ molar mass, you can combine the two equations to go straight from grams to concentration and back:
mass (g) = M × V (L) × MW (g/mol)
Worked example: making a solution
You need 250 mL of 0.5 M NaCl. The moles needed are 0.5 mol/L × 0.250 L = 0.125 mol. Multiply by the molar mass: 0.125 × 58.44 = 7.305 g. Weigh 7.305 g of NaCl, dissolve it in about 200 mL of water, then top up to the 250 mL mark in a volumetric flask.
Worked example: finding molarity
You dissolved 10 g of NaCl and made the solution up to 500 mL. That is 10 ÷ 58.44 = 0.1711 mol in 0.5 L, so the molarity is 0.342 M, or 342 mM.
Dilutions with C₁V₁ = C₂V₂
When you dilute a stock solution, the amount of solute stays the same. Only the volume changes. So the concentration times volume before equals the concentration times volume after:
C₁ × V₁ = C₂ × V₂
To make 100 mL of 0.1 M from a 1 M stock, V₁ = 0.1 × 100 ÷ 1 = 10 mL. Take 10 mL of stock and add 90 mL of solvent. Any units work, as long as you use the same concentration unit on both sides and the same volume unit on both sides.
Units of concentration
- 1 M = 1 mol/L = 1,000 mM = 1,000,000 µM
- Mass concentration (g/L) = molarity × molar mass
- Molality (mol per kg of solvent) is different from molarity. It doesn’t change with temperature, which matters for precise physical chemistry work.
Practical tips
- Always make up to the final volume rather than adding the solute to a fixed volume of water, because the solute itself takes up space.
- For hydrated salts, use the molar mass of the hydrate. CuSO₄·5H₂O is 249.7 g/mol, not the 159.6 g/mol of anhydrous CuSO₄.
- For very dilute solutions, make an intermediate dilution first. Measuring 1 µL accurately is much harder than measuring 100 µL.
Frequently asked questions
How do I calculate molarity?
Divide the moles of solute by the volume of solution in litres. To get moles, divide the mass in grams by the molar mass.
How many grams do I need for a 1 M solution?
For one litre, use the molar mass in grams. For 1 L of 1 M NaCl, weigh 58.44 g. For other volumes, multiply by the volume in litres.
What does C1V1 = C2V2 mean?
It is the dilution equation. The stock concentration times the volume you take equals the final concentration times the final volume, because the amount of solute doesn’t change.
What is the difference between molarity and molality?
Molarity is moles per litre of solution. Molality is moles per kilogram of solvent. Molality doesn’t change with temperature; molarity does, slightly.