Skip to content

Molarity Calculator

Molarity (M) is the number of moles of solute per litre of final solution. Enter any three of mass, molecular weight, volume and target concentration and this calculator solves the fourth, then shows every intermediate value in mol/L, mmol/L, total moles and grams.

Molarity is the concentration unit you reach for most often at the bench — buffering a lysis step, making a 1 M Tris stock, or dosing a reagent into a reaction all start here. It is one of the core tools in our laboratory calculator set, and unlike a single-answer widget it solves in four directions, so you can work backwards from the concentration you want to the mass you need to weigh out.

The whole calculation rests on one relationship: amount of substance divided by final solution volume. Everything else is unit bookkeeping. If you want the concept rather than the number, what is molarity covers the definition, the difference between M and mM, and why temperature quietly changes the answer.

Molarity Calculator

Molarity5.5506 mM
Molar concentration0.0055506 mol/L
Millimolar5.5506 mM
Total moles0.0055506 mol
Mass required1 g

How to use the molarity calculator

Pick what you are solving for in the **Solve for** dropdown. The default mode calculates molarity from a mass you weighed; the other three modes rearrange the same equation to return mass, volume or amount of substance.

Enter the molecular weight of your solute in g/mol. For a small molecule use its formula weight (glucose is 180.16, NaCl is 58.44); for a protein use the value from its sequence or datasheet. If you do not know it yet, get it from a molar mass calculation first.

Enter the **final solution volume**, not the water you added. Dissolve the solute in roughly 80% of the target volume, then bring it up to the mark — this distinction is the single most common source of error and is explained in how to calculate molarity.

Press **Calculate**. The primary card shows the answer in the unit you solved for; the secondary cards restate it as mol/L, mmol/L, total moles and the mass required, so you can sanity-check the result without re-entering anything.

Molarity formula

M = n / V
n = m / MW
M = m / (MW × V)
M = molarity (mol/L) · n = amount of substance (mol) · m = mass of solute (g) · MW = molecular weight (g/mol) · V = final solution volume (L)

Variables and units

SymbolMeaningUnit
MMolarity (molar concentration)mol/L
nAmount of substancemol
mMass of soluteg
MWMolecular weight (molar mass)g/mol
VFinal solution volumeL

How molarity is calculated

  1. Convert the mass to moles: n = m / MW.
  2. Convert the volume to litres (1 mL = 0.001 L, 1 µL = 1×10⁻⁶ L).
  3. Divide moles by volume in litres: M = n / V.
  4. To go the other way, multiply: mass (g) = M × MW × V(L), or amount (mol) = M × V(L), or volume (L) = n / M.

Worked laboratory examples

Example 1 — Weigh out 100 mL of 1 M NaCl

Given: Target 1 M · MW NaCl = 58.44 g/mol · final volume 100 mL = 0.1 L

  1. mass = M × MW × V
  2. mass = 1 mol/L × 58.44 g/mol × 0.1 L
  3. mass = 5.844 g

Result: 5.844 g NaCl, dissolved then brought to 100 mL

Example 2 — Concentration of 5 g glucose in 250 mL

Given: mass = 5 g · MW glucose = 180.16 g/mol · final volume 250 mL = 0.25 L

  1. n = 5 / 180.16 = 0.02775 mol
  2. M = 0.02775 / 0.25 = 0.1110 mol/L
  3. 0.1110 M = 111.0 mM

Result: 0.111 M (111 mM) glucose

Example 3 — Mass for 50 mL of a 10 mM reagent

Given: Target 10 mM = 0.010 M · MW = 180.16 g/mol · final volume 50 mL = 0.050 L

  1. mass = 0.010 × 180.16 × 0.050
  2. mass = 0.09008 g
  3. mass = 90.1 mg

Result: 90.1 mg of reagent

Want the reasoning behind the numbers? ReadWhat Is Molarity? and How to Calculate Molarity.

How to interpret the result

A result of 0.111 M means every litre of that solution holds 0.111 moles of solute — for glucose, about 20 g/L. The secondary cards translate the same answer into mmol/L (the unit most protocols use) and into the total moles present in your specific volume, which is what you actually need when scaling a recipe up or down.

If the number looks absurd — a 40 M aqueous solution, for instance — treat it as a red flag, not a result. Most solutes stop dissolving well below that, and the calculator will warn you above 100 M. Almost always the cause is a unit slip: mass entered in mg instead of g, or volume in mL treated as L.

Assumptions

  • The solute is fully dissolved and does not change the final volume beyond what you measured to the mark.
  • Molecular weight is the average (formula) weight for the species as weighed, including any waters of hydration.
  • Volume is the final solution volume at the temperature of use.

Limitations

  • Molarity shifts with temperature because volume expands or contracts; for temperature-critical work, molality (mol per kg of solvent) is the stable choice.
  • Solute purity is not modelled — a 95% pure solid needs about 5% more mass, which you must add yourself.
  • The calculator does not flag solubility limits; a mathematically valid concentration may still be impossible to dissolve.

Common mistakes

  • Using the volume of water added instead of the final solution volume. Always dissolve first, then bring to volume.
  • Forgetting to convert mL to L (or µL to L) before dividing — this throws the answer off by 1000× or more.
  • Using an anhydrous molecular weight for a hydrated salt (or the reverse). Check the bottle: CuSO₄ and CuSO₄·5H₂O differ by 90 g/mol.
  • Reading "0.5 M" as "0.5 mol per mL". M is always per litre.

FAQ

What is the formula for molarity?

Molarity is moles of solute divided by litres of final solution: M = n / V. Substituting n = m / MW gives the working form M = m / (MW × V), where m is mass in grams, MW is molecular weight in g/mol and V is the final volume in litres.

How do I calculate molarity from grams?

Divide the mass in grams by the molecular weight to get moles, then divide by the volume in litres. For example, 5 g of glucose (MW 180.16) in 250 mL is 5 / 180.16 = 0.02775 mol, and 0.02775 / 0.25 L = 0.111 M.

Is mM the same as mmol/L?

Yes. mM (millimolar) and mmol/L are identical: 1 M = 1 mol/L = 1000 mM = 1000 mmol/L. The calculator reports both so you can match whichever unit your protocol uses.

Should I use final volume or solvent volume?

Final solution volume. Molarity is defined per litre of finished solution, so dissolve the solute in less solvent first, then bring the mixture up to the target volume. Using the solvent volume alone gives a concentration that is too high.

How do I convert M to mM?

Multiply by 1000. 0.111 M = 111 mM, and 2.5 M = 2500 mM. Going the other way, divide by 1000: 50 mM = 0.050 M.

Scientific Sources

External links open in a new tab and carry rel="nofollow". We cite primary references (NIST, NIH/NCBI, peer-reviewed papers) and established manufacturer technical documentation (NEB, Thermo Fisher, Promega, IDT). Calculated results are estimates; your protocol and manufacturer guidance take precedence.

Last reviewed: 2026-09 · Method version: 1.0