Molarity Calculator
Enter the solute mass, molar mass and solution volume to find the molarity.
What this calculator returns
It returns moles of solute and molarity in mol/L. At the defaults — 5.85 g of a substance with molar mass 58.5 g/mol dissolved to make 1 L of solution — it gives 0.1000 mol and 0.1000 M. That is table salt, and 5.85 g is one tenth of its 58.5 g/mol.
Moles first, volume second
The calculation runs in two stages. First convert grams to moles by dividing by molar mass, then divide by the volume of the finished solution in litres. Skipping the first step and dividing grams by litres gives a mass concentration in g/L, which is a different quantity and a common source of confusion.
The volume is the volume of the solution, not the volume of solvent added. Dissolving 5.85 g of salt in 1 L of water produces slightly more than 1 L of solution, so the true molarity is a shade under 0.100 M. For careful work, make the solution up to the mark in a volumetric flask rather than adding a litre of water.
Worked example at the defaults
Moles = 5.85 g ÷ 58.5 g/mol = 0.1000 mol. Molarity = 0.1000 mol ÷ 1.000 L = 0.1000 mol/L. A 0.1 M sodium chloride solution contains 5.85 g of salt per litre and 0.2 mol of ions, since each formula unit gives two particles.
Keep the mass and halve the volume: 5.85 g made up to 500 mL gives 0.1000 ÷ 0.500 = 0.2000 M. Double the mass in the same litre: 11.7 g gives 0.2000 mol and 0.2000 M. Molarity is linear in mass and inverse in volume, which makes those two moves easy to predict.
Molarity for 58.5 g/mol solute
| Mass | Volume | Moles | Molarity |
|---|---|---|---|
| 2.93 g | 0.25 L | 0.050 | 0.200 M |
| 5.85 g | 0.50 L | 0.100 | 0.200 M |
| 5.85 g | 1.00 L | 0.100 | 0.100 M |
| 11.7 g | 1.00 L | 0.200 | 0.200 M |
| 58.5 g | 1.00 L | 1.000 | 1.000 M |
Reading the table
Rows two and three carry the same 5.85 g but different volumes, and the molarity doubles when the volume halves. Rows three and four hold the volume fixed and double the mass, which also doubles the molarity. Any pair of rows can be compared this way, and the pattern is the fastest way to catch a slipped decimal.
What moves the molarity
- Mass of solute: linear, so doubling 5.85 g to 11.7 g doubles 0.100 M to 0.200 M.
- Molar mass: inverse, so a solute of 117 g/mol halves the moles and the molarity at the same mass.
- Volume: inverse, so making up to 2 L instead of 1 L halves 0.100 M to 0.050 M.
- Temperature: volume expands slightly on heating, so molarity drifts down even though the moles are unchanged.
- Dissociation: does not change molarity of the compound, but doubles or triples the ion concentration.
Mistakes that shift the number
Using the solvent volume instead of the solution volume is the classic error. Adding 5.85 g of salt to 1 L of water gives a solution of about 1.002 L, so the molarity is 0.0998 M rather than 0.1000 M. At lab precision that matters, and at higher concentrations the gap grows.
The second is a units slip between millilitres and litres. Entering 500 instead of 0.500 L makes the answer 0.0002 M, a thousand times too small. Convert millilitres to litres by dividing by 1000 before you touch the calculator.
The third is confusing moles with millimoles. A 0.1 M solution contains 0.1 mol/L, which is 100 mmol/L, and a 25 mL aliquot holds 2.5 mmol rather than 2.5 mol. Titration calculations go wrong on this factor of 1000 more often than on anything else.
Dilution uses the same numbers
Diluting does not change the number of moles, so M1V1 = M2V2. Take 25 mL of the 0.100 M default and dilute to 250 mL: the new molarity is 0.100 × 0.025 ÷ 0.250 = 0.010 M. The moles stay at 0.0025 throughout, which is the check that catches a mis-set pipette.
Working backwards from a target molarity
Most lab work starts from the concentration you want rather than the mass you happen to have. For 250 mL of 0.150 M solution from a 58.5 g/mol solid: moles = 0.150 × 0.250 = 0.0375 mol, then mass = 0.0375 × 58.5 = 2.19 g. Weigh 2.19 g, dissolve, and make up to 250 mL.
- Convert the target volume to litres before multiplying, so 250 mL becomes 0.250 L.
- Round the weighed mass to what your balance can actually deliver, not to four decimals.
- Record the actual mass used, since a 2.20 g weigh-in gives 0.1507 M rather than 0.1500 M.
- Label the flask with concentration, solvent and date, because molarity drifts as solvent evaporates.
Preparing a standard solution
Weigh the calculated mass, transfer it to a volumetric flask with several rinses, dissolve in less than the final volume, then fill to the calibration mark and invert to mix. For 250 mL of 0.100 M sodium chloride you weigh 0.100 × 0.250 × 58.5 = 1.46 g. Adding all the water first and then the solid leaves you unable to correct the volume.
Frequently asked questions
What is the formula for molarity?
Molarity is moles of solute divided by litres of solution: M = n ÷ V. At 0.1000 mol in 1.000 L the answer is 0.1000 M.
How do I convert grams to moles?
Divide mass by molar mass. 5.85 g of a 58.5 g/mol solute is 5.85 ÷ 58.5 = 0.1000 mol.
What is a 1 molar solution?
One mole of solute per litre of solution. For sodium chloride at 58.5 g/mol that is 58.5 g made up to 1 L.
Does 5.85 g in 1 L give exactly 0.1 M?
Close, but the volume of the solution is slightly more than 1 L if you add 1 L of water. Made up to the mark in a 1 L flask, it is exactly 0.1000 M.
Why is my molarity a thousand times too small?
You entered volume in millilitres. 500 mL must be entered as 0.500 L, otherwise 0.1 mol ÷ 500 gives 0.0002 M instead of 0.2 M.
How do I dilute a solution?
Use M1V1 = M2V2. Diluting 25 mL of 0.100 M to 250 mL gives 0.100 × 25 ÷ 250 = 0.010 M.
What is the difference between molarity and molality?
Molarity is moles per litre of solution; molality is moles per kilogram of solvent. A 0.100 M sodium chloride solution is about 0.102 molal because the dissolved salt adds volume.
How much salt do I weigh for 250 mL of 0.1 M?
0.100 mol/L × 0.250 L × 58.5 g/mol = 1.46 g. Weigh that, dissolve it, and make up to 250 mL in a volumetric flask.
Does temperature change molarity?
Slightly. The volume of the solution expands as it warms, so molarity falls even though the moles stay the same. Molality, based on mass, does not have this problem.
Method and sources
- Molarity M = n/V (mol/L); moles n = mass / molar mass.