Home › Molarity Calculator
Molarity Calculator
Two everyday lab calculations: the molarity of a solution from the moles dissolved and the volume, and how many grams you need to make a solution of a chosen molarity.
Molarity from moles and volume
Grams needed for a target molarity
How it works: molarity M = moles / volume in litres. To prepare a solution, grams needed = M x volume (L) x molar mass. Example: 0.5 mol in 0.25 L = 2 M, and making 0.25 L of a 2 M NaCl solution (molar mass 58.44 g/mol) needs 29.22 g.
Frequently Asked Questions
What does a 1 M solution mean?
One mole of the substance dissolved in each litre of solution. Molarity (mol/L, written M) is the standard way to state concentration in chemistry.
Where do I find the molar mass?
Add up the atomic masses from the periodic table: NaCl is 22.99 (Na) + 35.45 (Cl) = 58.44 g/mol.
Does the volume mean the water or the final solution?
The final total volume of the solution. In practice you dissolve the solid in some water, then top up to the target volume.
Last reviewed: November 2026 · Formulas and methods are documented in the guide and tested against worked examples.
Want the full explanation? Read the guide: Molarity Calculator Guide: How to Calculate Molarity & Grams to Weigh — moles per litre and preparing solutions, with worked examples (0.5 mol in 0.25 L = 2 M; 5.84 g of NaCl for 0.5 L of 0.20 M).
Rate this calculator
Frequently asked questions
What is the formula for molarity? Molarity = moles of solute ÷ litres of solution. For example, 0.5 mol dissolved and made up to 0.25 L gives 0.5 ÷ 0.25 = 2 M.
How many grams of NaCl make 0.5 L of 0.20 M solution? Grams = M × V × molar mass = 0.20 × 0.5 × 58.44 = 5.84 g.
Is the volume the water I add, or the final solution? The final solution. Dissolve the solute in less water than the target, then top up to the mark — volumes are not simply additive when substances dissolve.
Spotted a mistake in this calculator? Report it on the Contact page — every report is checked against the official source.