molecalculator

Moles & Molar Mass

Solution Molarity Examples: How to Calculate

Calculator No. 01-12801 · Updated · Formula and assumptions shown below

Molarity 0.2000 mol/L
Concentration in millimolar
200.00 mM
= Molarity × 1000
Mass of solute
2.922 g
Set in the form below
Molar mass
58.44 g/mol
Set in the form below
You enter
Mass of solute (g), Molar mass (g/mol), Final solution volume (mL)
You get
Molarity (mol/L), Concentration in millimolar (mM)
Rounding
4 dp · 2 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

Solution molarity is the number of moles of solute dissolved per liter of solution, expressed in mol/L (M). To calculate it, you divide the moles of solute by the volume of the solution in liters; if you have mass instead of moles, convert it using the solute’s molar mass first. Below are worked examples, common pitfalls, and the formula you need.

Formula

The molarity M is defined by:

M = n / V

where n is the amount of solute in moles (mol) and V is the volume of the final solution in liters (L). When you start with a mass of solute, first convert mass to moles using the molar mass:

n = m / MM

So the combined formula becomes:

M = m / (MM × V)

Variables:

  • m – mass of solute, in grams (g)
  • MM – molar mass of the solute, in grams per mole (g/mol)
  • V – final solution volume, in liters (L); if you have mL, divide by 1000
  • M – molarity, in moles per liter (mol/L, often written as M)

Worked Example

Using the calculator defaults: you dissolve 2.922 g of sodium chloride (NaCl, molar mass = 58.44 g/mol) in enough water to make 250 mL of solution.

  1. Convert volume to liters: 250 mL = 250 / 1000 = 0.250 L
  2. Convert mass to moles: 2.922 g / 58.44 g/mol = 0.05000 mol
  3. Divide moles by volume: 0.05000 mol / 0.250 L = 0.2000 mol/L

The molarity is 0.2000 M (or 200.0 mM). The calculator gives the same result: 0.2000 mol/L.

Assumptions

  • The solute is pure and completely dissolves (no reaction or loss).
  • The final volume is measured after dissolution, not the volume of solvent added (because solute adds volume).
  • The solution is at the temperature where the volume was measured; molarity changes slightly with temperature because volume expands.
  • For ionic compounds like NaCl, we assume complete dissociation into ions, but molarity refers to the formula unit (NaCl), not individual ions.

How to Choose the Right Values

To use the formula correctly, you need three pieces of information:

  • Mass of solute – weigh it on a balance. If you have a solution of known concentration and want to dilute it, you don’t need mass; use the dilution equation M₁V₁ = M₂V₂ instead.
  • Molar mass – look it up from the periodic table. For a compound, sum the atomic weights of each element. Example: NaCl = 22.99 (Na) + 35.45 (Cl) = 58.44 g/mol. For hydrates, include the water molecules in the molar mass.
  • Final volume – use a volumetric flask to make the solution up to the mark. The volume is the total solution volume, not the solvent volume.

Common Mistakes and How to Avoid Them

  • Using solvent volume instead of solution volume: If you add 250 mL of water to 2.922 g of NaCl, the final volume might be slightly more than 250 mL. Always dissolve the solute in less solvent, then add solvent to the final mark.
  • Forgetting to convert mL to L: A classic error. 250 mL is 0.250 L, not 250 L. Divide by 1000.
  • Using the wrong molar mass: For hydrated salts, include the water. For example, CuSO₄·5H₂O has a molar mass of 249.69 g/mol, not 159.61 g/mol (anhydrous).
  • Rounding too early: Keep at least 4 significant figures in intermediate steps. Round only the final answer.
  • Confusing molarity with molality: Molality is moles per kilogram of solvent, not per liter of solution. They are equal only for dilute aqueous solutions at 25 °C.

Real-World Examples of Molarity

Here are three common lab scenarios you can calculate with the same formula:

  • Preparing 1 L of 0.5 M glucose (C₆H₁₂O₆, MM = 180.16 g/mol): Mass needed = 0.5 mol/L × 1 L × 180.16 g/mol = 90.08 g.
  • Making 500 mL of 0.1 M HCl from a 12 M stock: Use dilution: M₁V₁ = M₂V₂ → 12 M × V₁ = 0.1 M × 0.5 L → V₁ = 0.00417 L = 4.17 mL of stock, then dilute to 500 mL.
  • Finding the molarity of a solution with 5.85 g of NaCl in 200 mL: Moles = 5.85 / 58.44 = 0.100 mol; volume = 0.200 L; molarity = 0.100 / 0.200 = 0.500 M.

Limits of the Molarity Formula

The simple formula works for any solute that dissolves completely and does not react with the solvent. However, it assumes ideal behavior and that volumes are additive, which is not always true. For concentrated solutions, the final volume may not equal the sum of solute and solvent volumes; that’s why you always use a volumetric flask. Also, molarity changes with temperature because liquids expand when heated. For precise work, measure the temperature and use the same temperature for all measurements. For very dilute solutions (below 10⁻⁶ M), you might prefer to express concentration in parts per billion (ppb) or nanomolar (nM), but the calculation remains the same.

Frequently Asked Questions

What is the difference between molarity and molality?

Molarity (M) is moles of solute per liter of solution. Molality (m) is moles of solute per kilogram of solvent. Molality does not change with temperature because it depends on mass, not volume. For dilute aqueous solutions, the numerical values are nearly the same because 1 L of water weighs about 1 kg.

How do I calculate molarity from a percentage solution?

If you have a weight/volume percent (w/v), e.g., 5% NaCl means 5 g of NaCl per 100 mL of solution. Convert that to grams per liter (50 g/L), then divide by the molar mass to get moles per liter. For weight/weight percent, you also need the solution density.

What is a 1 M solution?

A 1 M solution contains 1 mole of solute per liter of solution. For NaCl, that means 58.44 g of NaCl dissolved in enough water to make exactly 1 L of solution. It does not mean 58.44 g added to 1 L of water.

Can I use molarity for gases?

Yes, but for gases you usually use partial pressure or concentration in mol/L. For an ideal gas, concentration (mol/L) = pressure (atm) / (R × T) with R = 0.0820574 L·atm/(mol·K). At 25 °C and 1 atm, that gives about 0.0409 M.

Why does the volume not equal the solvent volume?

When a solute dissolves, it occupies space in the solution, so the total volume is usually greater than the solvent volume alone. For example, dissolving 58 g of NaCl in 1 L of water gives a final volume of about 1.02 L. That’s why you must make up to the final mark.

How do I make a solution of a specific molarity from a solid?

Weigh the required mass (mass = molarity × volume in L × molar mass), dissolve it in about 80% of the final volume of solvent, mix until fully dissolved, then add solvent to the final volume mark in a volumetric flask. Always follow your lab method and the safety data sheet (SDS) for the chemicals you handle.

Related

Formula used
in m | Mass of solute | g | 2.922 | 0
in mm | Molar mass | g/mol | 58.44 | 0.001
in v | Final solution volume | mL | 250 | 0.001
out c | Molarity | mol/L | m / mm / (v / 1000) | 4
out cmm | Concentration in millimolar | mM | c * 1000 | 2

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 with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →