Molarity Calculator (with Dilution)
Choose what you need: the molarity from a mass and volume, the mass to weigh out for a target molarity, or a dilution. Type a formula such as NaCl and the molar mass is worked out for you.
Last reviewed
Molarity
1 M
0.1 mol in 100 mL
- Millimolar
- 1000 mM
- Grams per litre
- 58.44 g/L
- Percent (w/v)
- 5.844 %
- Molar mass used
- 58.440 g/mol
What molarity is
Molarity is the standard way to say how concentrated a solution is in chemistry. It is the number of moles of dissolved substance (the solute) in one litre of the finished solution:
M = moles of solute ÷ litres of solution
It is written M or mol/L. A 1 M solution holds one mole per litre, and a 0.1 M solution holds a tenth of a mole per litre. A mole of a compound weighs its molar mass in grams, which you can find with the molecular weight calculator. Type the formula into this page and it is found for you.
Molarity from a mass
- Find the molar mass in g/mol.
- Divide the mass by it to get moles.
- Divide the moles by the volume in litres.
Salt. 5.844 g of NaCl, molar mass 58.440 g/mol, is 5.844 ÷ 58.440 = 0.1 mol. Dissolved to make 100 mL (0.100 L), that is 0.1 ÷ 0.100 = 1 M.
Vinegar. A 0.500 L solution contains 25.2 g of acetic acid, CH3COOH, whose molar mass is 60.052 g/mol. Moles = 25.2 ÷ 60.052 = 0.4196 mol, and the molarity is 0.4196 ÷ 0.500 = 0.839 M. This is a worked example in the OpenStax Chemistry textbook, which gets the same answer.
Soft drink. A 355 mL sample contains 0.133 mol of sucrose: 0.133 ÷ 0.355 = 0.375 M. The same book works this out too.
The mass to weigh out
Turn the formula round: mass = M × litres × molar mass.
To make 250 mL of 0.5 M NaCl: 0.5 × 0.250 × 58.440 = 7.305 g. Weigh it, dissolve it in a little less than 250 mL of water in a volumetric flask, and then add water up to the 250 mL mark. The mark is the volume of the whole solution, so you do not measure 250 mL of water beforehand.
Dilution: C1 × V1 = C2 × V2
When you add solvent to a stock solution, the amount of solute stays the same, so
C1 × V1 = C2 × V2
where C1 and V1 are the stock concentration and volume, and C2 and V2 are the final ones. Any one of the four can be the unknown, and the volumes can be in any unit if both are the same.
- How much stock? To make 500 mL of 1 M from a 10 M stock, V1 = 1 × 500 ÷ 10 = 50 mL. Add 450 mL of solvent, so the total is 500 mL.
- What concentration results? 25 mL of 6 M stock made up to 250 mL: C2 = 6 × 25 ÷ 250 = 0.6 M.
- What stock was used? 100 mL of stock made up to 1,000 mL gives 0.5 M, so the stock was 0.5 × 1,000 ÷ 100 = 5 M.
The dilution factor, V2 ÷ V1, tells you how many times weaker the solution is: 10 in the first example.
Amounts for 250 mL of a 0.1 M solution
| Substance | Formula | Molar mass (g/mol) | Mass to weigh (g) |
|---|---|---|---|
| Sodium chloride | NaCl | 58.440 | 1.461 |
| Potassium chloride | KCl | 74.548 | 1.864 |
| Sodium hydroxide | NaOH | 39.997 | 0.9999 |
| Potassium hydroxide | KOH | 56.105 | 1.403 |
| Hydrochloric acid | HCl | 36.458 | 0.9115 |
| Sulfuric acid | H2SO4 | 98.072 | 2.452 |
| Calcium chloride | CaCl2 | 110.978 | 2.774 |
| Glucose | C6H12O6 | 180.156 | 4.504 |
| Sucrose | C12H22O11 | 342.297 | 8.557 |
Acids such as HCl and H2SO4 are normally sold as concentrated liquids, not as pure solids. Use the dilution section for those, with the concentration on the bottle’s label, and follow your laboratory’s safety rules. Add acid to water, never the reverse.
Common mistakes
- Using the volume of the solvent. Molarity uses the volume of the finished solution.
- Mixing mL and L. The volume must be in litres for M. This page converts for you.
- Forgetting the water in a hydrate. CuSO4.5H2O has a molar mass of 249.677 g/mol, not 159.602.
- Using the wrong molar mass for a mixture or an impure reagent. Correct for the purity stated on the label.
- Treating C1V1 = C2V2 as true for mixing two different solutes. It only holds for diluting one solution with pure solvent.
Related calculators
- Molecular weight calculator and density calculator.
- Half-life calculator and significant figures calculator.
- Percentage calculator and scientific notation calculator.
How it is calculated
The formula, if you type one, is read with the same engine as the molecular weight calculator, using the CIAAW 2024 atomic weights. The moles, masses and dilutions are worked in exact decimal arithmetic and rounded to four significant figures only for display. A molar mass typed as a plain number is used as given.
Frequently asked questions
What is molarity?
The number of moles of solute in one litre of the finished solution, written M or mol/L. A solution with 0.1 mol of salt in 100 mL (0.1 L) has a molarity of 0.1 ÷ 0.1 = 1 M.
How do I calculate molarity from grams?
Divide the mass by the molar mass to get moles, then divide by the volume in litres. 5.844 g of NaCl (58.440 g/mol) is 0.1 mol, and in 100 mL that is 1 M. Type NaCl and the molar mass is found for you.
How much do I weigh out to make a solution?
Mass = molarity × volume (in litres) × molar mass. For 250 mL of 0.5 M NaCl, that is 0.5 × 0.250 × 58.440 = 7.305 g. Dissolve it in less than 250 mL of water, then top up to the 250 mL mark.
What is the dilution equation?
C1 × V1 = C2 × V2. Adding solvent does not change the moles of solute, so the stock concentration times its volume equals the final concentration times the final volume. To make 500 mL of 1 M from a 10 M stock you need 1 × 500 ÷ 10 = 50 mL of stock.
Is the volume the solvent or the solution?
The finished solution. Molarity uses the total volume after the solute dissolves, which is why you top up to the mark rather than adding a set volume of water. For dilute solutions the difference is small, but it matters for strong ones.
What is the difference between molarity and molality?
Molarity is moles per litre of solution and changes a little with temperature, because the volume does. Molality is moles per kilogram of solvent and does not. This calculator does molarity only.
Related calculators
- Molecular Weight CalculatorType a chemical formula, with brackets and hydrate dots if you need them.
- Density CalculatorChoose which of density, mass and volume you want, and enter the other two in any units.
- Half-Life CalculatorChoose what you want to find: the amount remaining, the time taken, the half-life or the starting amount.
- Significant Figures CalculatorType a number as it is written and choose to count its significant figures or round it to a set number.
- Percentage CalculatorPick the question you are actually asking.
- Scientific Notation CalculatorType a number such as 12345.