M = n ÷ V(L) · C₁V₁ = C₂V₂

Molarity calculator

Turn grams, molar mass and volume into molarity, or solve a dilution from any three of C₁, V₁, C₂ and V₂.

Short answer: molarity is moles ÷ litres. 5.844 g of NaCl (58.44 g/mol) in 0.5 L is 0.1 mol ÷ 0.5 L = 0.2 M. For dilution, C₁V₁ = C₂V₂: 10 ml of 2 M brought to 40 ml is 0.5 M.

Why the volume is the solution, not the solvent

Adding 0.1 mol of salt to half a litre of water gives slightly more than half a litre of solution, so the molarity is a little lower than dividing by 0.5 suggests. Volumetric flasks exist precisely because the distinction matters at the precision chemistry needs.

Worked dilution

You have 2 M stock and need 40 ml of 0.5 M. V₁ = C₂V₂ ÷ C₁ = 0.5 × 40 ÷ 2 = 10 ml of stock, then make up to 40 ml with solvent — 30 ml added. The calculator reports both the dilution and the solvent volume so the bench step is unambiguous.

Molarity questions

What is molarity?

Molarity (M) is moles of solute per litre of solution: M = n ÷ V. Two moles of NaCl dissolved to a final volume of one litre is a 2 M solution. Note that it is litres of solution, not litres of water, which matters when the solute changes the volume.

How do I go from grams to molarity?

Divide the mass by the molar mass to get moles, then divide by the volume in litres. 5.844 g of NaCl (58.44 g/mol) in 0.5 L is 0.1 mol in 0.5 L = 0.2 M. The calculator does both steps and shows the moles it used.

How does the dilution equation work?

C₁V₁ = C₂V₂: the amount of solute is unchanged when you add solvent, so concentration falls as volume rises. 10 ml of 2 M diluted to 40 ml is 0.5 M. The page also reports how much solvent that adds, because that is the number people actually need at the bench.

Molarity or molality?

Molarity is per litre of solution and changes slightly with temperature as the solution expands. Molality is per kilogram of solvent and does not. This page computes molarity; for boiling-point and freezing-point work, molality is the correct quantity.

Related tools