Molarity Calculator: Concentration, Mass and Dilution
By FindMySum · Last reviewed
This molarity calculator does the two pieces of arithmetic every chemistry lab needs: working out the concentration of a solution from what you weighed and the volume you made, or what to weigh for a target concentration, and planning a dilution from a stock solution. Both come from the definition of molarity, and both are easy to check by hand once the units are straight.
What molarity measures
Molarity, which IUPAC calls amount concentration, is the amount of solute per unit volume of solution:
c = n ÷ V
where n is in moles and V in litres, so the unit is mol/L, written M. The amount in moles comes from the mass you weigh and the molar mass of the substance, n = m ÷ M. Putting those together:
c = m ÷ (M × V)
That one equation has four quantities, so knowing any three gives the fourth. The calculator lets you choose which one is unknown.
Worked example: the calculator's defaults
5.844 g of sodium chloride (molar mass 58.44 g/mol) is dissolved and made up to 100 mL.
- Amount: n = 5.844 g ÷ 58.44 g/mol = 0.1000 mol.
- Volume in litres: 100 mL = 0.100 L.
- Concentration: c = 0.1000 mol ÷ 0.100 L = 1.000 M.
The mass concentration is 58.44 g/L. The same arithmetic run backwards tells you what to weigh: for 250 mL of 0.15 M saline you need 0.15 × 0.250 × 58.44 = 2.19 g of NaCl.
Molar mass
The calculator needs the molar mass, which you can work out from the chemical formula by adding up standard atomic weights from the IUPAC table: H 1.008, C 12.011, N 14.007, O 15.999, Na 22.990, Cl 35.45, and so on. Glucose, C₆H₁₂O₆, is 6 × 12.011 + 12 × 1.008 + 6 × 15.999 = 180.156 g/mol.
Watch for hydrates. Copper(II) sulfate is often sold as the blue pentahydrate, CuSO₄·5H₂O, at 249.68 g/mol, not the anhydrous 159.60 g/mol. Using the wrong one gives a concentration 36% too low or 56% too high.
Making up a solution properly
- Weigh the solute on a balance suited to the mass (an analytical balance for under a gram).
- Dissolve it in about two-thirds of the final volume of solvent in a beaker.
- Transfer to a volumetric flask, rinsing the beaker into the flask.
- Top up to the line with the bottom of the meniscus at eye level, stopper and invert to mix.
The volume in the formula is the volume of finished solution, not the volume of solvent added. Dissolving a solid usually changes the volume a little, which is why the flask is filled to the mark after the solute has dissolved.
Dilution: C₁V₁ = C₂V₂
When you dilute a solution, the amount of solute stays the same and only the volume grows. Since n = c × V before and after:
C₁ × V₁ = C₂ × V₂
C₁ and V₁ are the stock concentration and the volume you take; C₂ and V₂ are the concentration and total volume you end up with. The two concentrations must use the same unit, as must the two volumes, but those units can be anything.
Worked example (the dilution defaults). You have a 2 M stock and need 250 mL of 0.5 M. V₁ = C₂V₂ ÷ C₁ = 0.5 × 250 ÷ 2 = 62.5 mL. Measure 62.5 mL of stock and make it up to 250 mL, which means adding about 187.5 mL of water. The dilution factor is 2 ÷ 0.5 = 4.
Safety note for acids: always add acid to water, never water to concentrated acid. Put most of the water in first, then add the measured acid slowly, then top up.
Units: M, mM and µM
The calculator converts prefixes for you: 1 M = 1,000 mM = 1,000,000 µM. Masses can be in kilograms, grams, milligrams or micrograms, and volumes in litres, millilitres or microlitres. Mixing units is the most common source of thousand-fold errors, so the breakdown table lists every value with its unit.
Molality: moles per kilogram of solvent
The molality calculation works per kilogram of solvent instead of per litre of solution: b = n ÷ m(solvent) = m(solute) ÷ (M × m(solvent)), in mol/kg, often written with a lower-case m. Dissolve 5.844 g of sodium chloride (0.1 mol) in 100 g of water and the molality is 0.1 ÷ 0.100 = 1.000 mol/kg. Turn it around to find how much solute a target needs: 0.5 mol/kg of glucose in 250 g of water takes 0.5 × 0.250 = 0.125 mol, or 22.52 g at 180.156 g/mol.
Because it is built from two masses, molality does not change when the solution warms and expands, and it is the concentration used for colligative properties such as freezing-point depression (ΔT = K·b·i). To convert it to molarity you need the solution's density ρ: a kilogram of solvent plus b·M grams of solute weighs (1000 + b·M) g and fills (1000 + b·M) ÷ ρ mL, so c = 1000·b·ρ ÷ (1000 + b·M). For 1 mol/kg sodium chloride at 1.04 g/mL that gives 0.983 M. Leave the density at 0 if you don't know it; the calculator then gives the molality alone rather than guessing.
Limits of the simple formula
Molarity depends slightly on temperature because the solution's volume does; for precise work at different temperatures, molality (moles per kilogram of solvent, the third calculation above) is used instead. In concentrated solutions ions interact, so the effective concentration (activity) is lower than the molarity. And the "solvent to add" in a dilution assumes volumes simply add, which is close for dilute water solutions but not exact for mixtures such as ethanol and water.
More questions
How do I convert a mass percentage to molarity?
You need the solution's density. Take 1 L of solution: its mass is density × 1000 mL. Multiply by the mass fraction to get grams of solute, then divide by the molar mass. Concentrated hydrochloric acid at 37% by mass and 1.18 g/mL holds 1180 × 0.37 = 436.6 g of HCl per litre, or 436.6 ÷ 36.46 = 12.0 M.
Why do serial dilutions use the same factor each step?
A serial dilution repeats one dilution, often 1:10, to reach very low concentrations accurately. Pipetting 0.1 mL into 9.9 mL is less accurate than three 1:10 steps of 1 mL into 9 mL. After n steps of factor f the concentration is C₁ ÷ fⁿ, so three 1:10 steps take 1 M to 1 mM.
What is the difference between molarity and molality?
Molarity counts moles of solute per litre of solution; molality counts moles per kilogram of solvent. Because it uses masses, molality does not change with temperature, which is why freezing-point and boiling-point calculations use it. For dilute water solutions the two are close: 5.844 g of NaCl in 100 g of water is 1.000 mol/kg, and about 0.98 M at a density of 1.04 g/mL. Choose the molality calculation to get it, and enter the density to convert.
What is normality, and how is it different?
Normality counts equivalents per litre rather than moles: for an acid, the moles of H⁺ it can donate. One mole of sulfuric acid gives two equivalents, so 1 M H₂SO₄ is 2 N. IUPAC discourages normality because it depends on the reaction; molarity is unambiguous.
How accurate does my balance need to be?
The relative error of the concentration is roughly the sum of the relative errors in mass and volume. Weighing 0.5844 g on a balance that reads to 0.001 g adds about 0.2%; a class A 100 mL volumetric flask adds about 0.08%. For small masses, make a larger batch or a concentrated stock and dilute it.
Can I use this for gases or solids dissolved in non-water solvents?
Yes. Molarity is defined for any solute in any solvent: it only needs the amount of solute and the final volume of solution. The calculator doesn't care whether the solvent is water, ethanol or hexane, but remember that volumes of organic solvents change more with temperature than water does.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.