Education

How Molarity and Molar Mass Work (Moles, Dilution)

Molar mass is the sum of the atomic masses in a formula, moles = mass ÷ molar mass, and molarity = moles ÷ litres of solution. Water is 18.015 g/mol; 58.44 g of NaCl (1 mole) in 1 litre of solution gives 1 mol/L. For dilutions, M₁V₁ = M₂V₂.

By CalculatorHub Editorial TeamPublished December 2, 2026Updated December 2, 20267 min read
Run the numbers yourself. Try our free Molarity Calculator and see the result with your own figures.

The mole

A mole is 6.022 × 10²³ particles, a number chosen so that the mass of one mole in grams equals the substance’s atomic or molecular mass in atomic mass units. This lets chemists count atoms by weighing them.

Molar mass from a formula

Add the atomic masses of every atom. Water, H₂O: 2 × 1.008 + 15.999 = 18.015 g/mol. Glucose, C₆H₁₂O₆: 6 × 12.011 + 12 × 1.008 + 6 × 15.999 = 180.156 g/mol. For brackets, multiply the group: Ca(OH)₂ = 40.078 + 2 × (15.999 + 1.008) = 74.092 g/mol. For hydrates add the water: CuSO₄·5H₂O = 249.677 g/mol.

Grams to moles and back

moles = mass ÷ molar mass, and mass = moles × molar mass. So 36 g of water is 36 ÷ 18.015 = 2.0 mol, and 0.25 mol of NaCl weighs 0.25 × 58.44 = 14.61 g.

Molarity

Molarity (M) is moles of solute per litre of solution. If you dissolve 29.22 g of NaCl (0.5 mol) and make the solution up to 500 mL: M = 0.5 ÷ 0.5 = 1 M. Molarity depends on the final volume, which is why chemists use volumetric flasks rather than adding a measured volume of water.

Making a solution

  1. Calculate the mass: M × V(L) × molar mass. For 0.5 M NaCl in 2 L: 0.5 × 2 × 58.44 = 58.44 g.
  2. Weigh it and dissolve in less than the final volume of solvent.
  3. Transfer to a volumetric flask and fill to the mark.

Dilution

Adding solvent does not change the number of moles of solute: M₁V₁ = M₂V₂. To dilute 0.1 L of 2 M solution to 0.5 M: V₂ = 2 × 0.1 ÷ 0.5 = 0.4 L, so 0.3 L of solvent is added. A dilution factor of 4 means the concentration falls to a quarter.

UnitMeaning
mol/L (M)Moles per litre of solution
mmol/L (mM)One thousandth of a molar
g/LMass of solute per litre
Molality (m)Moles per kilogram of solvent
% w/vGrams per 100 mL

Common mistakes

  • Using the volume of the solvent instead of the final solution.
  • Forgetting to convert mL to litres.
  • Writing a formula with wrong capitals: Co is cobalt, CO is carbon monoxide.
  • Adding water to concentrated acid. Always add acid slowly to water, and wear protection.

Use the molecular weight calculator and the molarity calculator, and see the density calculator for converting between mass and volume. For lab work, follow your safety instructions.

Key terms

  • Mole: 6.022 × 10²³ particles.
  • Molar mass: The mass of one mole in grams.
  • Molarity: Moles of solute per litre of solution.
  • Solute: The substance that is dissolved.
  • Dilution: Lowering concentration by adding solvent.

Practice questions

Try each one before you read the answer.

  1. Molar mass of CO₂?
    Answer: 12.011 + 2 × 15.999 = 44.009 g/mol.
  2. Molarity of 0.5 mol in 250 mL?
    Answer: 2 mol/L.
  3. Dilute 50 mL of 4 M to 1 M. Final volume?
    Answer: 200 mL.

Frequently asked questions

What is the difference between molarity and molality?

Molarity uses litres of solution and changes with temperature. Molality uses kilograms of solvent and does not.

How many grams are in one mole?

As many grams as the molar mass. One mole of water is 18.015 g and one mole of NaCl is 58.44 g.

Why use a volumetric flask?

Molarity depends on the final solution volume, and a volumetric flask gives an exact total volume when filled to the mark.

Try the calculators

Keep reading