← Back to Chemistry Chemistry

How to Calculate Molarity of a Solution (With Examples)

Blue bromothymol blue solution in a volumetric flask on a lab bench next to an empty reagent bottle

Short answer: molarity (M) is moles of solute divided by liters of solution. Convert the mass of solute to moles by dividing by its molar mass, convert the volume to liters, then divide. For example, 5.85 g of sodium chloride (58.44 g/mol) is 0.100 mol, and dissolved to make 250 mL of solution it gives 0.100 ÷ 0.250 = 0.400 M.

I have taught this calculation to first-year chemistry students for years, and almost every wrong answer comes from units, not from the formula. This guide covers the formula, the four situations you will meet (grams of solute, preparing a solution, diluting a stock and converting from percent or a titration) and the mistakes that give the wrong number.

At a glance

  • FormulaM = mol ÷ L
  • Time2 minutes
  • DifficultyEasy
  • Unitmol/L (M)

What you need

  • Mass of solute in grams
  • Molar mass of the solute in g/mol
  • Volume of solution in liters

Steps

  1. Find the molar mass from the formula.
  2. Divide grams by molar mass to get moles.
  3. Convert mL to L (divide by 1,000).
  4. Divide moles by liters.

This guide contains Amazon affiliate links. 33Science earns a commission on qualifying purchases. See our affiliate disclosure.

The molarity formula

Molarity (M) = moles of solute (mol) ÷ volume of solution (L)

Molarity is the amount concentration of a solution: how many moles of a dissolved substance each liter of the finished solution holds. Its unit is mol/L, written M and read “molar”. A 1 M solution holds 1 mole of solute per liter, and 1 millimolar (mM) is 0.001 M.

The formula rearranges to find any of the three values:

To findUseExample
MolarityM = n ÷ V0.50 mol ÷ 2.0 L = 0.25 M
Molesn = M × V0.25 M × 0.40 L = 0.10 mol
VolumeV = n ÷ M0.10 mol ÷ 0.25 M = 0.40 L

Solution, not solvent

The volume is the volume of the solution, not of the water you added. Dissolving 58.44 g of NaCl in 1.000 L of water gives slightly more than 1 L of solution, so it is not exactly 1 M.

How to calculate molarity from grams

Digital laboratory balance with a stainless steel weighing pan
The mass of solute comes from a balance. Photo: El Carlos / Wikimedia Commons, CC BY 3.0

Example: 5.85 g of sodium chloride dissolved in water to make 250 mL of solution.

  1. Find the molar mass. NaCl = 22.99 + 35.45 = 58.44 g/mol. Our molar mass calculator works it out for any formula.
  2. Convert grams to moles. 5.85 g ÷ 58.44 g/mol = 0.1001 mol.
  3. Convert the volume to liters. 250 mL ÷ 1,000 = 0.250 L.
  4. Divide moles by liters. 0.1001 mol ÷ 0.250 L = 0.400 M.

In one line: M = mass ÷ (molar mass × volume in L) = 5.85 ÷ (58.44 × 0.250) = 0.400 M.

Molarity of the ions

Ionic compounds split into ions when they dissolve. A 0.10 M CaCl2 solution holds 0.10 M Ca2+ and 0.20 M Cl−, for 0.30 M of particles in total. That total is what matters for boiling point, freezing point and osmotic pressure.

How to make a solution of a given molarity

Mass of solute (g) = M × V (L) × molar mass (g/mol)

Example: 500 mL of 0.100 M copper(II) sulfate from the blue pentahydrate crystals, CuSO4·5H2O (249.68 g/mol): 0.100 × 0.500 × 249.68 = 12.48 g.

  1. Weigh the solute. Weigh 12.48 g on a balance that reads to 0.01 g or better.
  2. Dissolve it in less water. Dissolve the solid in about 300 mL of distilled water in a beaker.
  3. Transfer it. Pour it into a 500 mL volumetric flask and rinse the beaker into the flask two or three times.
  4. Fill to the mark. Add water until the bottom of the meniscus sits on the line, cap the flask and invert it 10 to 15 times to mix.
Gloved hands using a wash bottle to fill a 250 mL volumetric flask with deionized water
Fill to the mark only after the solid has dissolved. Photo: BobbyFish88 / Wikimedia Commons, CC BY-SA 4.0

Hydrates change the mass

Check whether your chemical is a hydrate. Anhydrous CuSO4 is 159.60 g/mol, so weighing 12.48 g of the anhydrous powder gives 0.156 M instead of 0.100 M.

Molarity after a dilution

M1V1 = M2V2

Adding water changes the volume but not the moles of solute, so the product of molarity and volume stays the same. M1 and V1 are the stock, M2 and V2 the diluted solution. Both volumes can be in mL as long as they match.

Example: 1.00 L of 1.00 M HCl from 12.0 M stock. V1 = (1.00 × 1,000 mL) ÷ 12.0 = 83.3 mL of stock, made up to 1.00 L with water.

Acid into water

Add concentrated acid to water, never water to acid. Dilution releases heat, and a small amount of water poured onto acid can boil and spatter.

Molarity from percent concentration and density

Concentrated reagents are sold by mass percent. Combine the percent with the density to get molarity:

M = (10 × mass % × density in g/mL) ÷ molar mass

Example: 37% hydrochloric acid with a density of 1.19 g/mL and a molar mass of 36.46 g/mol: (10 × 37 × 1.19) ÷ 36.46 = 12.1 M. The factor of 10 turns grams per mL and percent into grams of solute per liter.

Molarity from a titration

A titration measures how much of a solution of known molarity reacts with a sample. Moles of titrant (M × V) times the mole ratio from the balanced equation gives the moles in the sample.

Example: 25.00 mL of HCl is neutralized by 18.40 mL of 0.1000 M NaOH. HCl and NaOH react 1:1, so moles of HCl = 0.1000 × 0.01840 = 0.001840 mol, and the molarity is 0.001840 ÷ 0.02500 = 0.07360 M.

For sulfuric acid, H2SO4 + 2NaOH → Na2SO4 + 2H2O, so the moles of acid are half the moles of NaOH. Once you know an acid’s molarity, the molarity to pH calculator gives its pH.

Common mistakes

MistakeEffectFix
Using mL instead of LResult 1,000 times too lowDivide mL by 1,000
Using the volume of water addedResult slightly offUse the final volume of solution
Ignoring water of hydrationSolution stronger than labeledUse the molar mass of the hydrate
Using grams instead of molesWrong by the molar massDivide grams by molar mass first
Confusing molarity with molalitySmall error in dilute water, large in other solventsMolality is mol per kg of solvent
Blue bromothymol blue solution in a volumetric flask on a lab bench next to an empty reagent bottle
A volumetric flask holds its labeled volume at 20 °C. Photo: Haidar.fg / Wikimedia Commons, CC0

Molarity shifts slightly with temperature because liquids expand when warmed: water expands about 0.1% from 20 to 25 °C. Molality uses mass, which does not change, so it is the unit of choice for boiling and freezing point calculations.

Frequently asked questions

What is the formula for molarity?

Molarity equals moles of solute divided by liters of solution, M = n / V. Its unit is mol/L, written M.

How do you calculate molarity from grams?

Divide the grams of solute by its molar mass to get moles, then divide by the volume of solution in liters. For 5.85 g of NaCl in 0.250 L, that is 5.85 / 58.44 / 0.250 = 0.400 M.

How do you calculate molarity from mL?

Convert mL to liters by dividing by 1,000 before you divide the moles by the volume. 0.050 mol in 200 mL is 0.050 / 0.200 = 0.25 M.

How many grams do I need to make a 1 M solution?

Use one molar mass in grams per liter of solution. For 1 L of 1 M NaCl, dissolve 58.44 g and add water up to 1 L of total volume.

What is the difference between molarity and molality?

Molarity is moles of solute per liter of solution. Molality is moles of solute per kilogram of solvent and does not change with temperature.

How do you calculate molarity after dilution?

Use M1V1 = M2V2. Diluting 50 mL of 2.0 M solution to 200 mL gives 2.0 x 50 / 200 = 0.50 M.

How do you convert percent concentration to molarity?

Multiply 10 by the mass percent and the density in g/mL, then divide by the molar mass. 37% HCl at 1.19 g/mL is about 12.1 M.

What does 0.1 M mean?

A 0.1 M solution contains 0.1 mole of solute in every liter of solution, or 0.1 millimole in every milliliter.

Sources

Avatar photo

Dr. Maya Patel

PhD in Particle Physics from Imperial College London, followed by five years at CERN working on detector calibration. Left the lab to write full-time after realizing she spent more hours explaining her research to friends than actually running it. Has reported from accelerator facilities, telescope arrays, and chemistry labs on four continents. Treats every discovery as a story that deserves an audience beyond the people who made it.

Post navigation