ThisCalculator

Everyday

Molarity Calculation Examples: Step-by-Step

Updated · Standard formula, shown below

Molarity 1.000 mol/L
Moles of solute
1.000 mol
Result
Mass of solute
58.44 g
You entered
Molar mass of solute
58.44 g/mol
You entered

Molarity (M) is the number of moles of solute dissolved in one liter of solution, expressed in mol/L. To calculate it, you divide the moles of solute by the volume of the solution in liters. This article walks through several worked examples, explains the formula, and covers common pitfalls.

Formula

The molarity formula is:

M = n / V

  • M = molarity (mol/L, often written as M)
  • n = amount of solute (moles, mol)
  • V = volume of solution (liters, L)

If you know the mass of solute instead of moles, first convert mass to moles using the molar mass:

n = mass (g) / molar mass (g/mol)

Then substitute into the molarity equation. The result is the concentration in moles per liter.

Worked Example

Using the calculator defaults: 58.44 g of NaCl (sodium chloride, molar mass 58.44 g/mol) dissolved in 1.00 L of solution.

  1. Convert mass to moles: 58.44 g ÷ 58.44 g/mol = 1.00 mol
  2. Apply molarity formula: M = 1.00 mol ÷ 1.00 L = 1.00 mol/L
  3. The calculator shows 1.000 mol/L (rounded to three decimals).

So a 1.00 M NaCl solution contains exactly 1 mole of NaCl per liter of solution.

Example 1: Using Mass and Volume

Problem: You dissolve 25.0 g of potassium hydroxide (KOH, molar mass 56.11 g/mol) in enough water to make 500 mL of solution. What is the molarity?

  1. Convert volume to liters: 500 mL = 0.500 L
  2. Moles of KOH = 25.0 g ÷ 56.11 g/mol = 0.4456 mol
  3. Molarity = 0.4456 mol ÷ 0.500 L = 0.891 mol/L

Answer: 0.891 M (or 0.891 mol/L).

Example 2: Using Moles and Volume

Problem: How many moles of glucose are needed to prepare 2.0 L of a 0.75 M glucose solution?

Rearrange the formula: n = M × V

  • n = 0.75 mol/L × 2.0 L = 1.5 mol

You need 1.5 moles of glucose. If you want the mass, multiply by the molar mass of glucose (180.16 g/mol): 1.5 × 180.16 = 270 g.

Example 3: Finding Volume Needed

Problem: What volume of a 0.50 M solution contains 0.20 mol of solute?

Rearrange: V = n / M

  • V = 0.20 mol ÷ 0.50 mol/L = 0.40 L = 400 mL

So you need 400 mL of that solution to obtain 0.20 mol of solute.

Example 4: Dilution Calculation

Dilution uses the formula M1V1 = M2V2 (moles stay constant).

Problem: You have 50.0 mL of a 2.0 M HCl solution. You dilute it to a final volume of 250 mL. What is the new molarity?

  1. M1 = 2.0 M, V1 = 50.0 mL, V2 = 250 mL
  2. M2 = (M1V1) / V2 = (2.0 × 50.0) / 250 = 0.40 M

The diluted solution is 0.40 M HCl. Note that volumes can be in mL as long as both are in the same unit.

Common Mistakes and How to Avoid Them

  • Using mL without converting: Always convert volume to liters before using the molarity formula. For example, 250 mL is 0.250 L.
  • Confusing solute mass with solution mass: Molarity uses the mass of solute, not the total mass of the solution.
  • Forgetting the molar mass: You must use the correct molar mass from the periodic table. For hydrated compounds, include water of hydration.
  • Rounding too early: Keep extra digits during intermediate steps and round only the final answer.
  • Using final volume after mixing: When preparing a solution, the final volume is the total volume after solute is dissolved and solvent added to the mark, not the volume of solvent alone.

When to Use Molarity vs. Other Concentration Units

Molarity is the most common concentration unit in chemistry because it relates directly to moles, which are used in stoichiometry. However, it changes slightly with temperature because volume expands or contracts. For precise work at different temperatures, molality (moles per kilogram of solvent) is preferred. For very dilute solutions, parts per million (ppm) or parts per billion (ppb) are often used. Molarity is essential for titrations, preparing buffers, and calculating reaction yields.

Frequently Asked Questions

How do I calculate molarity from grams?

First convert grams of solute to moles by dividing by the molar mass (g/mol). Then divide the moles by the volume of the solution in liters. The result is the molarity.

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. Molality does not change with temperature because it depends on mass, not volume.

Can molarity be greater than 1?

Yes. A 2 M solution has 2 moles of solute per liter. Concentrated acids like 12 M HCl exist. The only limit is the solubility of the solute in the solvent.

How do I prepare a solution of a given molarity?

Weigh the required mass of solute, dissolve it in a portion of solvent, then add solvent until the total volume reaches the desired mark in a volumetric flask. Do not just add the solvent volume to the solute mass, because the final volume may differ.

What does “1 M” mean in practice?

It means one mole of solute per liter of solution. For example, 1 M NaCl contains 58.44 g of NaCl per liter of solution.

Why does molarity change with temperature?

Because volume changes with temperature. When a solution warms, it expands, so the same number of moles occupies a larger volume, lowering the molarity. Molality avoids this issue.

Related

Formula used
in mass | Mass of solute | g | 58.44 | 0
in mw | Molar mass of solute | g/mol | 58.44 | 0
in vol | Volume of solution | L | 1 | 0
out molarity | Molarity | mol/L | (mass / mw) / vol | 3
out moles | Moles of solute | mol | mass / mw | 3

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.