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

Common reagents — mass to weigh for 100 mL

No need to run the numbers for the reagents you reach for every week. Each cell is the mass that makes 100 mL of the stated concentration, from mass (g) = M × MW × V(L) with V = 0.1 L. Weigh that, dissolve in ~80 mL, then bring to the 100 mL mark.

Mass of common reagents to prepare 100 mL of 1 M, 100 mM and 10 mM solutions
ReagentFormulaMW (g/mol)1 M100 mM10 mM
Sodium chloride (NaCl)NaCl58.445.844 g584.4 mg58.44 mg
Potassium chloride (KCl)KCl74.557.455 g745.5 mg74.55 mg
Tris baseC4H11NO3121.1412.114 g1.2114 g121.14 mg
Tris hydrochloride (Tris·HCl)C4H12ClNO3157.5915.759 g1.5759 g157.59 mg
EDTA disodium salt dihydrateC10H14N2Na2O8·2H2O372.2437.224 g3.7224 g372.24 mg
D-GlucoseC6H12O6180.1618.016 g1.8016 g180.16 mg
SucroseC12H22O11342.334.23 g3.423 g342.3 mg
Magnesium chloride (MgCl₂)MgCl295.219.521 g952.1 mg95.21 mg
Magnesium chloride hexahydrate (MgCl₂·6H₂O)MgCl2·6H2O203.320.33 g2.033 g203.3 mg
Calcium chloride (CaCl₂)CaCl2110.9811.098 g1.1098 g110.98 mg
Calcium chloride dihydrate (CaCl₂·2H₂O)CaCl2·2H2O147.0114.701 g1.4701 g147.01 mg
HEPESC8H18N2O4S238.3123.831 g2.3831 g238.31 mg
Sodium hydroxide (NaOH)NaOH404 g400 mg40 mg
SDS (sodium dodecyl sulfate)C12H25NaO4S288.3828.838 g2.8838 g288.38 mg

Molecular weights: PubChem (pubchem.ncbi.nlm.nih.gov), accessed 2026-09-24. Hydrated salts (EDTA disodium dihydrate, MgCl₂·6H₂O, CaCl₂·2H₂O) are listed as the bottle form labs actually weigh — using the anhydrous weight here is a common source of error. Scale linearly for other volumes: 500 mL needs 5× the mass shown, 1 L needs 10×.

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? Read What Is Molarity?, How to Calculate Molarity and Molarity vs Molality.

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.

How many grams of NaCl for 100 mL of 1 M?

5.844 g. Mass = M × MW × V = 1 mol/L × 58.44 g/mol × 0.1 L = 5.844 g. Weigh it, dissolve in about 80 mL of water, then bring the solution up to exactly 100 mL. The quick-reference table below the calculator lists this and thirteen other common reagents at 1 M, 100 mM and 10 mM.

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