Molarity calculator

Mass to weigh, volume to make, or concentration from molecular weight.

Mass

What is molarity?

Molarity is the concentration of a solution expressed as moles of solute per litre of solution, written M or mol/L. A 1 M solution holds one mole, which is the molecular weight in grams, in every litre. Because a mole is a fixed number of molecules, molarity lets you compare and combine reagents by molecule count rather than by weight, which is why buffers, salts and substrates are almost always specified this way.

The molarity formula

mass (g) = molarity (mol/L) × volume (L) × molecular weight (g/mol)

Rearrange it to solve for whichever quantity you are missing:

molarity = mass ÷ (MW × volume) volume = mass ÷ (MW × molarity)

Worked example. To make 500 mL of 1 M Tris (121.14 g/mol): 1 mol/L × 0.5 L × 121.14 g/mol = 60.57 g. The other way round, 5.844 g of NaCl (58.44 g/mol) dissolved to 1 L is 5.844 ÷ 58.44 = 0.1 mol in 1 L, so 0.1 M, or 100 mM.

How to make a solution of a given molarity

  1. Pick the tab for the quantity you need, usually Mass, and enter the target concentration, the final volume and the molecular weight from the bottle.
  2. Weigh the mass shown. For hydrated salts use the weight of the hydrated form.
  3. Dissolve in roughly 80 % of the final volume, adjust pH if the recipe calls for it, then make up to the final volume. Volume means final solution volume, not solvent added.

To dilute a stock you have already made, use the dilution calculator, and for a series of steps the serial dilution planner.

Molecular weights of common reagents

ReagentMW (g/mol)
NaCl58.44
Tris base121.14
EDTA disodium dihydrate372.24
Glucose180.16
DTT154.25
IPTG238.30

Always take the value from the bottle label or the supplier's datasheet, since salts, hydrates and free acids of the same compound have different weights.

Grams to moles and back

Moles = mass ÷ molecular weight, and mass = moles × molecular weight. The calculator shows the amount in moles under every result, so it also works as a grams-to-moles converter: enter the mass, any volume, and the molecular weight, and read the moles line.

Frequently asked questions

How do I calculate molarity from grams?

Divide the mass by the molecular weight to get moles, then divide by the volume in litres. 5.844 g of NaCl (58.44 g/mol) is 0.1 mol; in 1 L that is 0.1 M, in 500 mL it is 0.2 M.

How much powder do I weigh for a 1 M solution?

Mass = molarity × volume in litres × molecular weight. For 1 M Tris (121.14 g/mol) in 500 mL: 1 × 0.5 × 121.14 = 60.57 g. Dissolve in less than the final volume, adjust pH if needed, then make up to 500 mL.

What is the difference between molarity and molality?

Molarity is moles of solute per litre of solution; molality is moles per kilogram of solvent. Molarity is what almost every biology protocol means by "M", and it changes slightly with temperature because volume does. Molality does not.

Which molecular weight do I use for a hydrated salt?

The weight of the form in the bottle, water included. EDTA disodium dihydrate is 372.24 g/mol, not the 292.24 of anhydrous EDTA. Using the anhydrous value would make the solution about 20% too weak.

Does the volume mean solvent added or final volume?

Final volume of the solution. Dissolve the solute in less liquid than you need, then top up to the final volume in a graduated cylinder or volumetric flask. Adding the full volume of solvent to the powder gives a slightly larger, weaker solution.