ThisCalculator

Everyday

How to Calculate Molarity in Chemistry

Updated · Standard formula, shown below

This guide explains how to calculate molarity, the standard unit of concentration in chemistry. You’ll learn the formula, how to convert mass to moles, and how to prepare solutions with a target molarity. By the end, you’ll be able to solve molarity problems for common lab and homework scenarios.

What You’ll Need

  • Chemical formula of the solute (to find molar mass)
  • Periodic table or molar mass calculator
  • Calculator
  • Mass of solute (in grams) or moles of solute
  • Final volume of solution (in liters)

Step-by-Step

  1. Write down the molarity formula. Molarity (M) = moles of solute ÷ liters of solution. The unit is mol/L, often written as M (e.g., 0.5 M).
  2. Convert mass to moles if needed. If you have grams of solute, divide by its molar mass (g/mol). Molar mass is the sum of atomic masses of all atoms in the formula. For example, NaCl: Na (22.99) + Cl (35.45) = 58.44 g/mol.
  3. Convert volume to liters. If your volume is in mL, divide by 1000. If it’s in µL, divide by 1,000,000. Always use liters in the formula.
  4. Plug values into the formula. Divide the moles of solute by the volume in liters. The result is the molarity.
  5. Check significant figures. Report your answer to the same number of significant figures as the least precise measurement used.
  6. Include the unit. Write the answer as a number followed by “M” (e.g., 0.25 M).

Common Mistakes

  • Using mL instead of L: Forgetting to convert mL to L is the most frequent error. 250 mL is 0.250 L, not 250 L.
  • Mixing up mass and moles: Molarity uses moles, not grams. Always convert mass to moles first.
  • Incorrect molar mass: Using the wrong atomic mass or forgetting to multiply by subscripts (e.g., H₂O has 2 H atoms).
  • Adding solute to final volume instead of dissolving first: When preparing a solution, dissolve solute in less than the final volume, then add solvent to the mark. Adding solute to the full volume can overshoot the volume.
  • Ignoring significant figures: Your answer should not have more decimal places than your least precise measurement.

Tips

  • Always write units in every step—this helps catch conversion errors.
  • Use a periodic table with atomic masses to at least 2 decimal places for accuracy.
  • For dilution problems, use the formula M₁V₁ = M₂V₂, but only when moles are conserved (no reaction).
  • When preparing a solution, use a volumetric flask for precise final volume.
  • Double-check your molar mass by summing atomic masses twice.
  • Remember that molarity changes with temperature because volume expands/contracts. For very precise work, use molality (mol/kg) instead.

Troubleshooting

  • Your answer seems too large or too small: Check your volume conversion. 0.5 moles in 100 mL is 5 M, not 0.005 M.
  • You get a negative number: Molarity cannot be negative. Check for a sign error in your calculation.
  • Your molar mass looks wrong: Verify the chemical formula. For hydrates, include water molecules in the molar mass (e.g., CuSO₄·5H₂O).
  • You have volume in liters but moles unknown: If you have density and mass percent, convert to moles using density to get mass of solute.
  • Your calculator gives a different answer than expected: Re-enter the numbers, and check parentheses. For example, 0.5 / 0.25 = 2, not 0.5/0.25^2.

Frequently Asked Questions

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 is temperature-independent because it uses mass, not volume.

How do I calculate moles from molarity?

Multiply molarity by volume in liters: moles = M × L. For example, 2 M × 0.5 L = 1 mole.

Can molarity be used for gases?

Yes, but for gases it’s more common to use molarity in solution contexts. For pure gases, concentration is often expressed as partial pressure or mole fraction.

What does 1 M mean?

1 M means one mole of solute dissolved in enough solvent to make one liter of solution. It does not mean one mole per liter of solvent.

How do I prepare a 0.1 M solution of NaCl?

Weigh 5.844 g of NaCl (0.1 mol × 58.44 g/mol), dissolve in about 800 mL water, then add water to exactly 1 L in a volumetric flask.

Why is molarity temperature-dependent?

Because volume changes with temperature. As temperature rises, liquids expand, so the same moles occupy more volume, lowering molarity.

Related

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