Molarity and Concentration: Calculations With Examples
By Dr. Zubair Khalid, DVM, MS, PhD ·

Molarity is the workhorse concentration unit of the molecular biology lab. If you can convert a mass to moles and divide by the volume of the final solution, you can prepare almost any reagent on the bench. This article walks through that skill from first principles, then applies it to two calculations you will repeat hundreds of times: making a defined volume of a molar salt solution and diluting a stock into a working concentration.
By the end of this article you will be able to define molarity precisely, convert grams to moles using a molar mass, prepare a specified volume of a solution at a target molarity, and use the dilution equation to move between stock and working concentrations. You will also be able to spot the three errors that cause most failed buffer preparations.
What you need on hand: a periodic table or a molecular weight lookup, a balance, volumetric glassware or a calibrated pipette, and a calculator. A reagent calculator such as Mixology, which converts between molarity-based and mass-based concentrations using molecular masses retrieved from the ChEBI database, is a useful cross-check but not a substitute for understanding the arithmetic [1].
What Molarity Actually Means
Molarity (symbol M, spoken as "molar") is the number of moles of solute dissolved in one liter of solution. The definition has three parts that each matter:
- Moles of solute, not grams. The mole is the bridge between the mass you weigh and the number of particles you deliver.
- Per liter, so the unit is mol/L. A 1 M solution contains 1 mol of solute in every liter of the final liquid.
- Of solution, not of solvent. This is the part that trips people up. You do not add 1 L of water to 1 mol of salt. You dissolve the salt and then bring the total volume to 1 L.
That third point is the reason volumetric flasks exist. A volumetric flask has a single calibration mark, and you fill to that mark after the solute has dissolved. The solute occupies volume, so the amount of solvent you add is always slightly less than the final volume. For dilute aqueous solutions the difference is small, but for concentrated stocks it is large enough to ruin a buffer if you ignore it.
The mole itself is the concept students most often find alien, and it is the reason molarity and dilution calculations are a recognized weak point for incoming life sciences undergraduates [2]. A mole is simply a count, 6.022 x 10^23 entities, chosen so that the mass of one mole of a substance in grams equals its molecular weight in daltons. That is why the molar mass of NaCl, 58.44 g/mol, is the same number you read off a periodic table when you add 22.99 (Na) and 35.45 (Cl).
Molarity vs. molality vs. mass percent
Three concentration expressions look similar and behave differently.
| Expression | Definition | Unit | Depends on temperature? |
|---|---|---|---|
| Molarity (M) | moles of solute per liter of solution | mol/L | Yes, volume expands with heat |
| Molality (m) | moles of solute per kilogram of solvent | mol/kg | No, mass does not change |
| Mass percent (w/v or w/w) | grams of solute per 100 mL or 100 g | % | w/v depends on volume, w/w does not |
| Mass concentration | grams of solute per liter of solution | g/L | Yes |
Molality uses solvent mass, so it does not change when the solution warms. Molarity uses solution volume, so it drifts slightly with temperature. For routine bench work at room temperature the difference is negligible, and molarity is the convention. For precise physical chemistry, molality is preferred. Do not swap them in a calculation.
Mass concentration (g/L) is common in biology for proteins and antibodies, where the molar mass may be unknown or heterogeneous. When a datasheet gives you mg/mL, you cannot convert to molarity without a molecular weight. When it gives you a molar extinction coefficient, you can.
Why life-science labs default to molar solutions
Buffers, salts, and media components are almost always specified in molar terms because molarity is what the chemistry responds to. A kinase cares about the number of Mg2+ ions per unit volume, not the grams of magnesium chloride. A restriction enzyme cares about the molar concentration of its buffer components because ionic strength and pH depend on the number of dissolved species. Preparing a 10x stock as a molar solution lets you dilute it by a fixed factor and know exactly what the working concentration will be.
The published literature reflects this convention. When a method reports a critical micelle concentration of 1.9 x 10^-5 mol/L for a micelle system, or a limit of quantification of 0.05 microgram/kg for a food contaminant, the units are chosen so that the number carries physical meaning [3][4]. Molarity concentration is the shared language that lets a protocol from one lab be reproduced in another.
The Core Formula and Its Rearrangements
The master equation is short:
molarity (M) = moles of solute (mol) / volume of solution (L)
Every molarity problem is a rearrangement of that line. The three useful forms are:
M = mol / L find concentration
mol = M x L find moles needed
L = mol / M find volume to measure
To get moles from a mass, insert the molar mass:
moles (mol) = mass (g) / molar mass (g/mol)
Chain the two and you have the single equation that covers most bench preparations:
mass (g) = M x L x molar mass (g/mol)
That last line is the one to memorize. It goes straight from a target molarity and a target volume to the number of grams you weigh out. Everything else is a special case.
A note on units
Molar mass is almost always tabulated in g/mol. If you work in milligrams, convert to grams before dividing. If you work in microliters, convert to liters before dividing. Unit slips are the single most common arithmetic error in these calculations, and they are invisible in the answer because the number still looks plausible.
Useful conversions:
- 1 L = 1000 mL
- 1 mL = 1000 microliters
- 1 M = 1000 mM = 1,000,000 micromolar
- 1 mol = 1000 mmol = 1,000,000 micromol
Worked Example 1: Preparing 500 mL of 0.2 M NaCl
This is the canonical first calculation. You want 500 mL of 0.2 M sodium chloride.
Step 1. Identify what you know.
- Target concentration: 0.2 M
- Target volume: 500 mL
- Solute: NaCl
- Molar mass of NaCl: 22.99 + 35.45 = 58.44 g/mol
Step 2. Convert the volume to liters.
500 mL / 1000 = 0.500 L
Do this before anything else. If you skip it and plug 500 into the equation, you will weigh out 1000 times too much salt.
Step 3. Calculate the moles required.
mol = M x L
mol = 0.2 mol/L x 0.500 L
mol = 0.100 mol
Step 4. Convert moles to grams.
mass = mol x molar mass
mass = 0.100 mol x 58.44 g/mol
mass = 5.844 g
Step 5. Weigh and dissolve.
Weigh 5.844 g of NaCl. Transfer it to a beaker with about 400 mL of distilled water and stir until fully dissolved. Transfer the solution to a 500 mL volumetric flask, rinse the beaker into the flask, then add water to the 500 mL calibration mark. Mix by inversion.
The expected result: a clear, colorless solution at 0.2 M NaCl, pH near neutral.
Checking the answer
Run the calculation backward. 5.844 g divided by 58.44 g/mol gives 0.100 mol. Divided by 0.500 L gives 0.2 mol/L. The units cancel correctly and the magnitude is sensible. A quick sanity check on the mass: 0.1 mol of a salt with a molar mass near 58 should weigh a bit under 6 g. If your answer were 58 g or 0.058 g, you would know immediately that something was off.
What "bring to volume" means in practice
The final volume must be 500 mL of solution, not 500 mL of water plus 5.844 g of salt. For NaCl at this concentration the difference is roughly 3 to 4 mL, which is under 1 percent. For a 5 M stock of a bulky solute the difference can exceed 10 percent. Always dissolve first, then bring to the mark.
Worked Example 2: Dilution With C1V1 = C2V2
Dilution is the second calculation you will run constantly. The governing relationship is:
C1 x V1 = C2 x V2
where C1 and V1 are the concentration and volume of the stock, and C2 and V2 are the concentration and volume of the diluted working solution. The equation works because the number of moles of solute does not change when you add solvent. Only the volume changes, so the concentration falls in proportion.
The units of C1 and C2 must match each other. The units of V1 and V2 must match each other. You can mix molarity with millimolar as long as you convert consistently, and you can mix milliliters with liters as long as both volumes use the same unit.
Example: diluting a 5 M NaCl stock to 0.2 M
You have a 5 M NaCl stock and need 500 mL of 0.2 M NaCl. This is the same target as Example 1, approached from a stock instead of from powder.
Step 1. Assign the variables.
- C1 = 5 M (stock)
- C2 = 0.2 M (working)
- V2 = 500 mL (working volume)
- V1 = unknown
Step 2. Rearrange and solve.
V1 = (C2 x V2) / C1
V1 = (0.2 M x 500 mL) / 5 M
V1 = 100 / 5
V1 = 20 mL
Step 3. Prepare.
Measure 20 mL of the 5 M stock. Add it to a graduated cylinder or volumetric flask. Add distilled water to a final volume of 500 mL. Mix.
Step 4. Verify.
The dilution factor is 5 M / 0.2 M = 25-fold. The volume went from 20 mL to 500 mL, also a 25-fold increase. The two factors agree, so the arithmetic is consistent.
Serial dilutions
When you need a range of concentrations spanning several orders of magnitude, prepare a serial dilution. Transfer a fixed volume from tube 1 into tube 2 containing diluent, mix, transfer the same volume into tube 3, and continue. A 1:10 serial dilution across four tubes produces 10-fold, 100-fold, 1000-fold, and 10,000-fold dilutions of the original. This pattern is standard in microbiology and analytical chemistry. In one study of bacterial concentration assessment, initial, 1:10, 1:100, and 1:1000 dilutions were used to span a range of roughly 1.5 x 10^8 CFU/mL down to the most dilute sample [5]. Serial dilution is preferred over independent dilutions when the stock is precious or when you need many points, because each step uses only a small volume of the previous tube.
Dilution factor vs. dilution ratio
These two phrases cause endless confusion. A 1:10 dilution means one part sample plus nine parts diluent, giving a 10-fold dilution. The dilution factor is 10. Some protocols write "dilute 10-fold" and others write "1:10 dilution." They mean the same thing. A "1:2 dilution" is a two-fold dilution, one part sample plus one part diluent. Read the protocol carefully, because a small number of authors use "1:10" to mean one part sample in a total of ten parts, which is the same result, but the phrasing differs.
The Quick-Reference Table
| Quantity | Formula | Units | Notes |
|---|---|---|---|
| Molarity | M = mol / L | mol/L | Volume is final solution volume |
| Moles from mass | mol = mass / molar mass | mol | Molar mass in g/mol |
| Mass for target molarity | mass = M x L x molar mass | g | Convert volume to L first |
| Dilution | C1V1 = C2V2 | any consistent units | Moles conserved across dilution |
| Dilution factor | DF = C1 / C2 = V2 / V1 | unitless | DF greater than 1 for a dilution |
| Molarity to mass concentration | g/L = M x molar mass | g/L | Useful for stock labels |
| Mass concentration to molarity | M = (g/L) / molar mass | mol/L | Requires known molar mass |
Keep this table next to the balance. It covers the vast majority of bench preparations.
Common Mistakes and Limitations
Confusing molarity with molality
Molarity is moles per liter of solution. Molality is moles per kilogram of solvent. They are numerically close in dilute aqueous solutions and diverge as concentration rises or temperature changes. If a protocol says "0.5 m" with a lowercase m, it means molal, not molar. The distinction matters most for concentrated salts and for any work where temperature varies during the experiment.
Forgetting to convert milliliters to liters
The formula requires liters. A target of 250 mL is 0.250 L, not 250. This error produces an answer that is off by a factor of 1000 and is the most frequent cause of a wildly wrong mass. Build the habit of writing the volume in liters on your worksheet before you touch the calculator.
Assuming volumes are additive
Adding 500 mL of water to 500 mL of ethanol does not give 1000 mL of solution. The final volume is smaller because the molecules pack together. The same effect, smaller in magnitude, applies to concentrated salt solutions and to solutions containing glycerol, sucrose, or detergents. The rule that follows is simple: never assume the final volume equals the sum of the component volumes. Always bring the solution to the mark in volumetric glassware, or measure the final volume after mixing.
Weighing hygroscopic or hydrated salts
Many salts are sold as hydrates. Copper sulfate pentahydrate has a molar mass of 249.68 g/mol, not the 159.61 g/mol of the anhydrous form. If you use the anhydrous value for a hydrated salt, your solution will be too concentrated by the mass of the water of hydration. Check the label for the formula weight actually supplied, and use that number.
Reading a balance beyond its precision
A balance that reads to 0.01 g cannot deliver 5.844 g reliably. If your target mass requires three decimal places, you need an analytical balance. Match the precision of your measurement to the precision the calculation demands. For most buffers, a 0.1 percent error in mass is acceptable, but for standards used in quantitative analysis it may not be.
Using the wrong volume basis in dilution
In C1V1 = C2V2, V2 is the final total volume, not the volume of diluent added. If you need 500 mL of a diluted solution and you calculate V1 = 20 mL, you add 20 mL of stock and then bring the total to 500 mL. The diluent volume is 480 mL, not 500 mL. Adding 500 mL of diluent to 20 mL of stock gives 520 mL at a slightly lower concentration than intended.
Ignoring temperature during preparation
Volumetric glassware is calibrated at a stated temperature, usually 20 degrees Celsius. Preparing a solution with warm water and then cooling it to room temperature changes the volume and therefore the concentration. Let solutions equilibrate to room temperature before bringing them to the mark when accuracy matters.
Limitations of the molarity model
Molarity assumes the solute is fully dissolved and behaves ideally. It says nothing about activity, ionic strength effects, or the behavior of weak acids and bases, all of which matter for buffer pH. It also assumes you know the molar mass. For heterogeneous mixtures such as serum, cell lysates, or polymeric excipients, molarity is not a meaningful unit and mass concentration is used instead. A micelle formulation, for example, is characterized by a critical micelle concentration in mol/L because the copolymer has a defined molar mass, but a complex biological matrix would be reported in mg/mL [3].
These limitations do not undermine the usefulness of molarity. They define when to reach for a different unit.
Practical Workflow for the Bench
A repeatable sequence prevents most errors.
- Write down the target concentration, target volume, and the identity of the solute.
- Look up the molar mass, checking whether the supplied form is hydrated.
- Convert the target volume to liters.
- Compute the moles required.
- Compute the mass in grams.
- Weigh the solute on a balance matched to the required precision.
- Dissolve in less than the final volume of solvent.
- Transfer to volumetric glassware and bring to the mark.
- Mix thoroughly and label with the concentration, date, and your initials.
- Verify by running the calculation backward.
For dilutions, replace steps 2 through 5 with the C1V1 = C2V2 calculation and record both the stock concentration and the dilution factor on the label.
Recording concentrations so others can reproduce them
A label that says "NaCl" is useless. A label that says "NaCl 0.2 M, prepared 2026-09-19, from solid, pH 7.0" is reproducible. Include the concentration, the unit, the date, and the preparation method. If the solution was made by dilution, note the stock concentration and the dilution factor. This practice is the same discipline that makes published methods reproducible, and it is why analytical papers report concentrations with explicit units down to the microgram per kilogram or micromolar level [4][3].
When to use a calculator tool
Reagent calculators such as Mixology handle unit conversions and molar mass lookups, including conversion between molarity-based and mass-based concentrations [1]. They are excellent for checking your arithmetic and for handling unfamiliar units. They are not a substitute for knowing the formula, because a calculator will happily return a wrong answer if you enter the wrong unit. Use the tool to verify, not to replace, the reasoning.
Frequently Asked Questions
What is molarity in simple terms?
Molarity is the number of moles of a dissolved substance in one liter of the final solution. A 1 M solution contains one mole of solute per liter of solution.
How do I convert grams to moles?
Divide the mass in grams by the molar mass in grams per mole. For example, 5.844 g of NaCl divided by 58.44 g/mol gives 0.100 mol.
Why do I divide by liters and not milliliters?
The definition of molarity is moles per liter, so the volume must be in liters. A volume of 500 mL must be converted to 0.500 L before it enters the equation.
What is the difference between molarity and molality?
Molarity is moles of solute per liter of solution. Molality is moles of solute per kilogram of solvent. Molarity depends on volume and therefore on temperature. Molality depends on mass and does not.
How do I use C1V1 = C2V2?
Multiply the stock concentration by the unknown stock volume and set it equal to the working concentration times the working volume. Solve for the unknown. Make sure the concentration units match and the volume units match.
Can I add the volumes of solute and solvent to get the final volume?
No. Volumes are not strictly additive, especially for concentrated solutions and organic solvents. Dissolve the solute and then bring the solution to the final volume in volumetric glassware.
Does temperature affect molarity?
Yes, slightly. Solution volume expands with temperature, so a solution prepared warm will be slightly less concentrated once it cools. Let solutions equilibrate to room temperature before bringing them to the mark.
What unit should I use for proteins and antibodies?
Use mass concentration in mg/mL unless you know the molar mass. Molarity requires a defined molecular weight, which many biological preparations do not have.
Related Articles
- NanoDrop DNA Concentration: Formula and Calculation
- How to Calculate the Concentration of Protein Using the Lowry Assay
- How to Calculate Cell Concentration Using a Hemocytometer
- How to Calculate Protein Concentration from a Bradford Assay Standard Curve
- Standard Plate Count: Formula, Calculation, and Example
- How to Calculate Molarity of a DNA Solution
- Concentration Molar Calculator: Molarity Made Simple
- Molarity Formulas: Molarity vs Molality Guide
- IV Fluids: Types, Rates, and Vet Calculations
Further Reading
Sources
- Mixology: a tool for calculating required masses and volumes for laboratory solutions.
- Revision workshops in elementary mathematics enhance student performance in routine laboratory calculations.
- Mixed Polymeric Micelles for Paclitaxel Delivery: Preparation and Characterization.
- Quantitative determination of cereulide by LC-MS/MS requires partitioning/salting-out extraction with water/acetonitrile for a reliable measurement in powdered infant formula.
- Correlation of dielectrophoretic crossover frequency with optical density and plate counts for assessing Staphylococcus aureus concentration analysis.