Molarity Formula
Updated · IUPAC 2024 atomic weights
M = n ÷ V
The molarity formula: molarity (M) equals moles of solute (n) divided by the volume of solution in liters (V). Its unit is mol/L.
Molarity definition
In chemistry, molarity is the concentration of a solution expressed as moles of solute per liter of solution. A 1 M (one molar) solution of sodium chloride has 1 mole of NaCl, 58.44 g, in every liter of the finished solution. Note that the volume is of the solution, not of the water you started with: you dissolve the solute and then add water up to the final volume.
Molarity equation, rearranged
- Molarity: M = n ÷ V
- Moles: n = M × V
- Volume: V = n ÷ M
- From grams: M = (mass in g ÷ molar mass) ÷ V in liters
These are the three corners of the molarity triangle. When a solution is diluted, the moles stay the same, which gives the dilution equation M₁V₁ = M₂V₂; the dilution calculator solves it.
How to calculate molarity from grams
- Find the molar mass of the solute (for NaCl, 58.44 g/mol).
- Convert grams to moles: moles = grams ÷ molar mass.
- Convert the volume to liters: mL ÷ 1,000.
- Divide moles by liters.
All in one: M = grams ÷ (molar mass × liters).
Molarity practice problems
What is the molarity of 4.0 g of NaOH dissolved to make 250 mL of solution?
Show answer
Moles = 4.0 ÷ 40.00 = 0.100 mol. Volume = 0.250 L. M = 0.100 ÷ 0.250 = 0.400 M.
How many grams of KCl are needed for 500 mL of 0.15 M solution?
Show answer
Mass = 0.15 × 0.500 × 74.55 = 5.59 g.
What volume of 2.0 M HCl contains 0.50 mol of HCl?
Show answer
V = n ÷ M = 0.50 ÷ 2.0 = 0.25 L = 250 mL.
18.0 g of glucose (C₆H₁₂O₆) is dissolved to make 1.00 L. What is the molarity?
Show answer
Moles = 18.0 ÷ 180.16 = 0.0999 mol, so M = 0.0999 M (about 0.1 M).
What is the molarity of 0.9% (w/v) saline, NaCl?
Show answer
0.9 g per 100 mL = 9.0 g/L. Moles = 9.0 ÷ 58.44 = 0.154 mol, so 0.154 M (154 mM).
Check your own answers with the molarity calculator. Need the molar mass first? Use the molar mass calculator.
Questions people ask
What is the formula for molarity?
M = n ÷ V: moles of solute over liters of solution.
What is the molarity triangle?
Moles on top, M and V below. Cover what you want: n = M × V, M = n ÷ V, V = n ÷ M.