🔬
🔬 Science & engineering

Molarity Calculator (mass for a solution)

Results update as you type.

Your numbers

Understanding the molarity calculator — concept and principle

Molarity is the most common way to express the concentration of a solution: moles of solute per litre of solution (mol/L, written M). This calculator answers the everyday lab question "how many grams do I weigh out to make this volume at this concentration?" Enter the formula, the target molarity and the final volume, and it returns the mass, the moles and the molar mass.

Making a 0.5 M NaCl solution in a 250 mL flask0.5 mol/L × 0.25 L = 0.125 mol; 0.125 mol × 58.44 g/mol = 7.305 g of NaCl, dissolved and filled to the 250 mL mark.Make 250 mL of 0.5 M salt water1 Weigh7.305 g2 Dissolvea little water3 Fill to mark250 mL0.5 mol/L×0.25 L=0.125 mol0.125 × 58.44 = 7.305 gNaCl to weigh out
Weigh 7.305 g of NaCl, dissolve it, then add water up to the 250 mL mark — not 250 mL of water.

How it is calculated

m = c × V × M

The principle

Molarity is defined as n ÷ V, so the amount of solute you need is n = c × V. Converting that amount to mass uses the molar mass, m = n × M. The volume is the volume of the whole solution, not of the solvent you add, because dissolving a solid changes the total volume slightly. That is why solutions are made up to the mark in a volumetric flask.

Worked example

Defaults: NaCl, 0.5 mol/L, 250 mL.

  1. Molar mass of NaCl: 22.990 + 35.45 = 58.44 g/mol.
  2. Volume in litres: 250 ÷ 1000 = 0.25 L.
  3. Moles: 0.5 × 0.25 = 0.125 mol.
  4. Mass: 0.125 × 58.44 = 7.305 g.
How Mass to weigh (g) changes with Concentration (mol/L)How Mass to weigh changes with Concentra…0510150.1250.250.3750.50.6250.751Example: 7.305Concentration (mol/L)
Each point is the calculator re-run with only “Concentration (mol/L)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Concentration (mol/L)Mass to weigh (g)
0.1251.82625
0.253.6525
0.3755.47875
0.57.305
0.6259.13125
0.7510.9575
114.61

How to read the result

Weigh 7.305 g of NaCl, dissolve it in less than 250 mL of water, transfer to a 250 mL volumetric flask and fill to the mark. Physiological saline (0.9% w/v) is about 0.154 M NaCl, so 0.5 M is roughly three times more concentrated. Laboratory stock solutions are often 1 M or higher and are diluted later.

Tip: Dissolve the solid in a beaker first, then rinse the beaker into the flask with a little water so no solute is left behind.

Common mistakes

Keep in mind: The calculation assumes a pure, dry reagent and accurate glassware. For analytical work correct for reagent purity and temperature, because the volume of a solution changes with temperature and so does its molarity.

Frequently asked questions

What does 1 M mean?

One mole of solute in a total of one litre of solution.

How do I make a solution in millimolar (mM)?

Divide the mM value by 1000 to get mol/L, for example 50 mM = 0.05 M, then use the same formula.

Can I use this for liquids such as concentrated acids?

Liquids are usually measured by volume using their percentage and density; use a concentrated acid molarity calculator for that case.

Sources: IUPAC Compendium of Chemical Terminology (Gold Book), "amount concentration" · Harris, D. C., Quantitative Chemical Analysis, W. H. Freeman

Checked 8 Nov 2026. Standard textbook formulas in SI units, computed in your browser. For learning and estimates — real designs must follow your local codes and be checked by a qualified engineer.

🔬 All science & engineering tools →🌍 Calculators by country →