The formula
Molarity (M) equals moles of solute divided by litres of solution: M = moles / litres.
Because moles equal mass divided by molecular weight, the bench form is: M = mass (g) / (MW (g/mol) × volume (L)).
The same equation solved for mass: mass (g) = M × MW (g/mol) × volume (L). Solved for volume: volume (L) = mass (g) / (MW × M).
Worked example: calculate molarity
You dissolve 5.85 grams of sodium chloride (MW 58.44 g/mol) in water and bring the volume to 500 mL. Moles = 5.85 / 58.44 = 0.1 mol. Volume = 500 mL = 0.5 L. Molarity = 0.1 / 0.5 = 0.2 M.
The BiomeBench Molarity Calculator does this conversion automatically when you enter mass, molecular weight, and volume.
Worked example: calculate mass
You need 100 mL of 0.1 M sodium chloride. Mass = 0.1 M × 58.44 g/mol × 0.1 L = 0.5844 grams. Weigh out 0.5844 g, dissolve in part of the water, then bring to 100 mL.
Always dissolve first and bring up to volume last. Adding solute to the full volume overshoots the final volume and gives the wrong concentration.
Worked example: calculate volume
You have 1 gram of a reagent with MW 100 g/mol and want a 0.05 M solution. Moles = 1 / 100 = 0.01 mol. Volume = 0.01 / 0.05 = 0.2 L, or 200 mL.
Worked example: 250 mL of 50 mM Tris
You need 250 mL of 50 mM Tris buffer. Tris has a molecular weight of 121.14 g/mol, so the mass is 0.05 mol/L × 121.14 g/mol × 0.25 L = 1.514 g. Weigh 1.514 g, dissolve it in less than 250 mL of water, then top up to 250 mL.
Check the bottle before you trust the molecular weight. A hydrate has a different molecular weight from the anhydrous form, and Tris hydrochloride is a different compound from Tris base, so the mass for the same molarity is different. Use the exact molecular weight printed on the bottle or the certificate of analysis. If the reagent is less than 100% pure, divide the calculated mass by the purity as a decimal to get the mass to weigh.
The table gives the mass for 1 L at 1 M for reagents you weigh often. That mass in grams is the molecular weight, so check the bottle: a hydrate has a different molecular weight from the anhydrous form, and the table assumes the form listed.
| Reagent | Molecular weight (g/mol) | Mass for 1 L at 1 M |
|---|---|---|
| Tris base | 121.14 | 121.14 g |
| Sodium chloride (NaCl) | 58.44 | 58.44 g |
| Potassium chloride (KCl) | 74.55 | 74.55 g |
| Sodium hydroxide (NaOH) | 40.00 | 40.00 g |
| D-Glucose | 180.16 | 180.16 g |
mg/mL to molarity
A concentration in mg/mL converts to molarity by dividing by the molecular weight. Milligrams per mL is the same number as grams per litre, so molarity (mol/L) = (mg/mL) / MW (g/mol). The BiomeBench Molarity Calculator shows the result in mg/mL as well, which is the molarity multiplied by the molecular weight.
A sodium chloride solution reads 5.844 mg/mL. Its molarity is 5.844 / 58.44 = 0.1 M. Going the other way, a 1 M solution of NaCl is 58.44 mg/mL, because 1 mol/L × 58.44 g/mol = 58.44 g/L.
The same conversion gives the molarity of NaCl in common solutions. Normal saline is 0.9% NaCl, which is 9 g per litre, so its molarity is 9 / 58.44 = 0.154 M. A recipe that calls for 0.15 M NaCl and a bottle that lists mg/mL are describing the same quantity in different units, so convert once and the recipe works either way.
Unit conversions at the bench
- Mass: 1 g = 1000 mg = 1,000,000 micrograms.
- Volume: 1 L = 1000 mL = 1,000,000 microlitres.
- Molarity: 1 M = 1000 mM = 1,000,000 microM = 1,000,000,000 nM.
- Molecular weight: g/mol numerically equals daltons per molecule.
Common buffer recipes
- 1 M Tris-HCl pH 8.0: 121.1 g Tris base per litre, adjust pH with HCl, then bring to volume.
- 0.5 M EDTA pH 8.0: 186.1 g disodium EDTA per litre, adjust pH with NaOH (EDTA does not dissolve until the pH rises), then bring to volume.
- 10x PBS: 80 g NaCl, 2 g KCl, 14.4 g Na2HPO4, 2.4 g KH2PO4 per litre; adjust pH to 7.4, then bring to volume.
Prepare the solution and check the result
Weigh the solute, add part of the solvent, dissolve it fully, then bring the mixture to the final mark. That order matters. The calculator gives the required mass of solute, but the true concentration depends on the final total volume of the solution.
If you fill to volume before the solute dissolves, the final amount is off because the dissolved material changes the solution level.
Do not confuse solvent volume with final solution volume. If a method calls for 100 mL total, you do not add 100 mL of water to the solid. You dissolve the solid first, then fill the flask to 100 mL.
Where the formula appears on this site
The BiomeBench Molarity Calculator implements this equation and solves for any one of mass, molarity, or volume from the other two, with unit pickers for grams milligrams micrograms litres millilitres microlitres and molar millimolar micromolar nanomolar.