Moles equal molarity multiplied by volume in liters: n = M × V. The one condition that trips people up is volume: a 50 mL sample must be entered as 0.050 L before you multiply, because molarity is defined as moles per liter of solution, not per milliliter. Get that conversion right and every problem on this page collapses into one multiplication. Get it wrong and you'll be off by a factor of 1,000, which is the single most common error in introductory chemistry homework and in lab bench calculations.
This guide walks through the formula, the three unit-conversion traps that cause most mistakes, worked examples from simple to multi-step, and the edge cases where the textbook shortcut quietly fails. Everything here follows the standard definitions published by IUPAC, which defines molarity as amount of solute per unit volume of solution, with the SI coherent unit being mol per cubic meter and the chemistry-standard unit being mol per liter.
The Formula Behind Moles From Molarity and Volume
The equation is n = M × V, where n is moles of solute, M is molarity in mol/L, and V is volume of solution in liters. That's it. No coefficient, no scaling factor, no conversion hidden in the equation itself.
The reason the formula is this simple comes from how molarity is defined. IUPAC's Gold Book defines amount-of-substance concentration (the formal name for molarity) as the amount of a constituent divided by the volume of the mixture. Rearrange that definition algebraically and you get moles on one side and molarity times volume on the other. The formula is the definition restated, which is why it never changes.
Two things about the variables deserve attention. First, the volume is the volume of the solution, not the volume of solvent added. If you dissolve 0.5 mol of sodium chloride in enough water to make 2 liters of solution, the molarity is 0.25 M. If you instead dissolved it in 2 liters of water, the final solution volume would be slightly more than 2 liters and the molarity slightly less. For dilute aqueous solutions the difference is small, but the distinction matters for precise work.
Second, the units have to match before you multiply. Molarity carries "per liter" inside it, so any volume in milliliters, cubic centimeters, or deciliters has to be converted first. Treat the units as part of the number, not as decoration: 50 mL × 0.2 mol/L only gives a sensible answer after the mL becomes L, because mol/L × L leaves mol and mol/L × mL leaves mmol.
| Quantity | Symbol | Standard unit | Common alternatives |
|---|---|---|---|
| Moles of solute | n | mol | mmol (1/1000 mol), µmol (1/10⁶ mol) |
| Molarity | M or c | mol/L (M) | mmol/mL (numerically identical to mol/L) |
| Volume of solution | V | L | mL, cm³, dm³ (dm³ = L exactly) |
That last row deserves a note: 1 dm³ equals 1 L exactly, which is why older texts and some European curricula write molarity as mol/dm³ without any conversion. A deciliter is 0.1 L, so a molarity expressed per deciliter needs a factor-of-ten adjustment before it plugs into n = M × V.
Converting Milliliters to Liters Without Losing a Factor of 1,000
Divide milliliters by 1,000 to get liters. That's the whole rule, and it's worth stating that plainly because a misplaced decimal is the dominant error in molarity calculations. 250 mL is 0.250 L. 50 mL is 0.050 L. 5 mL is 0.005 L.
Count the zeros carefully when you do this mentally. A 25 mL pipette delivers 0.025 L, not 0.25 L. A 2.5 mL syringe delivers 0.0025 L. The pattern: move the decimal three places left. If you're working in cubic centimeters, the same rule applies because 1 cm³ equals 1 mL exactly; a 100 cm³ volumetric flask holds 0.100 L.
For larger volumes the arithmetic runs the other way. A 2.5 L buffer is already in the right unit. A 500 mL bottle is 0.500 L. If a problem gives you 1.2 dm³, skip the conversion entirely, because dm³ and L are the same size and the number carries over unchanged. This is one of the few places where a "different" unit costs you nothing.
Here's the practical safeguard: write the unit conversion as a fraction and let the units cancel. Multiplying 50 mL by (1 L / 1000 mL) puts mL in the denominator, cancels the mL in your volume, and leaves liters. If the units don't cancel to give you moles, you've set something up backwards. Chemists call this dimensional analysis, and it works for every unit conversion in the calculation, not just this one.
Worked Example: 250 mL of 0.150 M Sodium Chloride
Start with the numbers: V = 250 mL = 0.250 L, M = 0.150 mol/L. Multiply: 0.150 × 0.250 = 0.0375 mol. That's 37.5 millimoles of sodium chloride.
Check the magnitude before trusting it. A quarter-liter of a 0.15 M solution should contain roughly a tenth of a mole, since 0.15 is about a tenth of 1 and a quarter of that is 0.0375. The estimate matches the calculation, which is the fastest sanity check available. If you'd forgotten the milliliter conversion and multiplied 0.150 × 250, you'd have gotten 37.5 mol, which is about 2.2 kilograms of salt in a coffee cup — obviously impossible.
Convert to mass if the problem asks. Sodium chloride has a molar mass of 58.44 g/mol, so 0.0375 mol × 58.44 g/mol = 2.19 g. That's a quantity you could actually weigh on a standard analytical balance, which is another reality check: 2.19 g of salt dissolved to 250 mL gives a 0.150 M solution, and that's a plausible lab preparation.
This example also shows why the answer is often better expressed in millimoles. Clinical chemistry, biochemistry, and pharmacology routinely work in mmol and µmol because the solution volumes are small and the concentrations are low. A 0.150 M solution delivering 37.5 mmol is easier to reason about in a clinical context than 0.0375 mol.
Worked Example: 25.0 mL of 0.500 M Hydrochloric Acid
V = 25.0 mL = 0.0250 L, M = 0.500 mol/L. Multiply: 0.500 × 0.0250 = 0.0125 mol, or 12.5 mmol of HCl.
Note the significant figures. Both inputs carry three significant figures (25.0 and 0.500), so the answer carries three: 1.25 × 10⁻² mol. If your instructor grades significant figures, writing 0.0125 mol is correct and writing 0.01250 mol is not, because you can't manufacture precision the inputs don't have. The milliliter-to-liter conversion is exact by definition, so it doesn't limit the count.
This is the kind of quantity you'd titrate. If you needed to neutralize this HCl with 0.200 M sodium hydroxide, the 1:1 stoichiometry means you need 0.0125 mol of NaOH, which at 0.200 mol/L requires 0.0625 L, or 62.5 mL of the base. Note that this second step runs the same formula backwards: V = n / M. The equation rearranges freely, which is why learning one relationship covers a whole family of problems.
Practical lab note: 12.5 mmol of HCl in 25 mL is a fairly concentrated acid solution by bench standards, and you'd handle it in a fume hood with appropriate gloves and eye protection. The calculation tells you the amount; it says nothing about the handling, which comes from the safety data sheet for the specific concentration.
Finding Volume or Molarity When Moles Are the Known
Rearrange the same equation three ways and you can solve for any variable: V = n / M when you know moles and molarity, and M = n / V when you know moles and volume. The formula doesn't change; only which side you're isolating changes.
Take a dilution problem. You have 0.045 mol of potassium nitrate and want a 0.30 M solution. V = 0.045 / 0.30 = 0.150 L, or 150 mL. You'd dissolve the salt in somewhat less than 150 mL of water, then top up to the 150 mL mark in a volumetric flask, because the final volume is what defines the concentration.
Now reverse it. You dissolve 0.020 mol of glucose in enough water to make 80.0 mL of solution. M = 0.020 / 0.0800 = 0.25 mol/L. Note again the milliliter conversion: 80.0 mL is 0.0800 L, and using 80 in the denominator would give 0.00025 M, off by a factor of a thousand.
These rearrangements are where most exam questions actually live. A problem rarely asks "what are the moles" directly; it asks what volume of a stock you need to deliver a target amount, or what concentration results from a given preparation. The underlying skill is identical in all three cases: identify which two of the three quantities you have, convert volume to liters, then isolate the third.
Three Unit Traps That Produce Wrong Answers
The first trap is milliliters entered as liters, already covered, and it accounts for the majority of errors. The second trap is more subtle: confusing molarity with molality. Molarity is moles per liter of solution; molality is moles per kilogram of solvent. They're numerically close in dilute aqueous solutions at room temperature but diverge at high concentration and change differently with temperature, because solution volume expands when heated while solvent mass does not.
The third trap is concentration units that look like molarity but aren't. "Normal" (N) concentration equals molarity times the number of equivalents per mole, so 1 M sulfuric acid is 2 N for acid-base work because it donates two protons. "Formality" (F) historically distinguished the analytical concentration of a formula unit from the actual species concentration after dissociation. And "mol percent" is a mole fraction expressed as a percentage, with no volume in it at all.
Chemistry LibreTexts, the open textbook platform maintained by the chemical education community, documents these distinctions in its solutions and concentration chapters, and the recurring warning across those pages is that unit labels matter as much as unit values. A calculation that's arithmetically perfect but built on the wrong concentration unit will be wrong by a factor that depends on the chemistry, not on the decimal point.
| Given unit | What it actually means | Conversion to mol/L |
|---|---|---|
| M (molar) | mol solute per L solution | × 1 |
| N (normal) | equivalents per L solution | divide by equivalents per mole |
| m (molal) | mol solute per kg solvent | needs solution density to convert |
| % w/v | g solute per 100 mL solution | × 10 ÷ molar mass |
| mmol/mL | millimoles per milliliter | × 1 (identical to mol/L) |
That last row surprises people: mmol/mL and mol/L are numerically identical, because 1 mmol is 10⁻³ mol and 1 mL is 10⁻³ L, and the factors cancel. It's a genuinely useful shortcut in clinical and biochemical work where concentrations are often quoted in mmol/mL.
Moles From Mass Concentration and From Percentage Solutions
Not every problem hands you molarity directly. A common variant gives you grams per liter, and the path to moles runs through molar mass: divide the mass concentration by the molar mass to get molarity, then multiply by volume. A solution containing 9.0 g/L of glucose (molar mass 180.16 g/mol) is 9.0 / 180.16 = 0.0500 M. In 500 mL of that solution, n = 0.0500 × 0.500 = 0.0250 mol.
Percentage concentrations need one extra step. A 0.9% w/v sodium chloride solution, the standard intravenous saline used in healthcare, contains 0.9 g of NaCl per 100 mL. That's 9.0 g/L. Divide by the molar mass of 58.44 g/mol and you get 0.154 M. The clinical literature often quotes normal saline as "154 mM NaCl," and that figure comes directly from this calculation, which is a useful cross-check when you see it in a medical context.
For % v/v solutions, such as the 70% ethanol used as a disinfectant, the calculation needs the density of pure ethanol, approximately 0.789 g/mL at 20 °C according to the CRC Handbook of Chemistry and Physics. One liter of 70% v/v ethanol contains 700 mL of pure ethanol, which weighs 700 × 0.789 = 552 g. Dividing by ethanol's molar mass of 46.07 g/mol gives about 12.0 mol per liter, so 100 mL of that solution contains roughly 1.20 mol. Densities vary with temperature, so precise work requires the density at your working temperature, which the CRC Handbook tabulates.
Edge Cases: When the Simple Formula Isn't Enough
The formula assumes the volume you're given is the final solution volume. When you're preparing a solution by adding solute to a solvent, the volume changes on dissolution, and using the solvent volume instead of the final volume introduces error. For ionic salts in water the effect is usually small, but for large amounts of solute or for non-aqueous solvents it can be substantial. Always dilute to the mark in a volumetric flask when accuracy matters.
Temperature is the second edge case. Molarity is temperature-dependent because solution volume expands with heating, so a solution that's exactly 0.100 M at 20 °C will be slightly less concentrated at 30 °C. For work requiring temperature independence, molality is the better unit, which is why physical chemistry often prefers it. Standard reference temperatures exist for this reason; many pharmacopeial monographs specify 20 °C or 25 °C for concentration measurements.
The third edge case is incomplete dissociation or association. A 0.1 M solution of a weak acid contains 0.1 mol of acid molecules per liter on paper, but the actual concentration of undissociated acid is lower because some has ionized. The formula still gives you the analytical (total) concentration correctly; it just doesn't tell you the concentration of any particular species. For that you need the acid dissociation constant and an equilibrium calculation, which is a separate problem built on top of this one.
Reaction stoichiometry is the fourth. If 0.010 mol of silver nitrate reacts with sodium chloride, the 1:1 ratio means 0.010 mol of silver chloride precipitates. But if you're reacting 0.010 mol of silver nitrate with 0.015 mol of sodium chloride, the silver nitrate is limiting and only 0.010 mol of precipitate forms. The moles you calculate from M × V are the starting quantities; the stoichiometric coefficients in the balanced equation determine how they combine, and identifying the limiting reagent is a prerequisite for any yield calculation.
Checking Your Answer Before You Trust It
Estimate first, calculate second. If molarity is around 0.1 and volume is around 0.1 L, the answer should be around 0.01 mol. That order-of-magnitude check catches the factor-of-1,000 error instantly, because 10 mol in a 100 mL flask of a 0.1 M solution would be a physical impossibility.
Check the units by cancellation. Multiply mol/L by L and the liters cancel, leaving mol. If you end up with mol/L or L/mol, you've inverted something. The unit trail is a proof of correctness that costs a few seconds and catches most errors that survive the magnitude check.
Compare against known reference points. A 1 M solution of a small molecule like glucose contains 180 g/L, which is a lot of solid — about 18% by mass. A 0.15 M saline solution is the physiological concentration used in medicine. These anchors come from standard references and let you judge whether an answer is physically sensible before you submit it or use it at the bench.
Finally, keep track of significant figures and report them. The inputs determine the precision of the output, and in analytical work the reported concentration is often the number that gets audited. A result reported as 0.0375 mol when the inputs only justify 0.038 mol can raise questions about method rigor, even when the arithmetic is flawless.
FAQ
What is the formula for moles from molarity and volume?
n = M × V, with volume in liters. If your volume is in milliliters, divide by 1,000 first. The formula comes from the definition of molarity, so it holds for any solution regardless of the solute.
Why do I get 1,000 times the right answer?
You almost certainly used milliliters in place of liters. Molarity is per liter of solution, so a 50 mL volume must enter the equation as 0.050 L. Multiply by 1,000 when converting the other direction, from liters to milliliters.
Does the volume mean the solvent or the final solution?
The final solution. Dissolving a solute changes the total volume slightly, so the accurate procedure is to dissolve in less solvent and then dilute to the target volume in a volumetric flask. Using solvent volume introduces a small error that grows with solute concentration.
How do I get moles from a percentage solution?
Convert to grams per liter, then divide by molar mass, then multiply by volume. For 0.9% w/v saline, that's 9.0 g/L divided by 58.44 g/mol, giving 0.154 M. In 1 L, that's 0.154 mol of sodium chloride.
Can molarity be converted to molality directly?
Not without the solution's density and the solute's molar mass. Molality is per kilogram of solvent and molarity is per liter of solution, so the conversion runs through mass and volume, which density connects. In dilute aqueous solutions the two values are close but never identical.
What happens to the calculation if the solute doesn't fully dissolve?
Undissolved solid doesn't contribute to the solution concentration, so the actual molarity is lower than the nominal value you calculated. The formula gives the intended concentration; checking whether dissolution is complete requires either visual inspection or a quantitative assay.
Is the answer affected by temperature?
Yes, slightly. Solution volume expands with temperature, so molarity falls as temperature rises. Reference temperatures are specified for this reason, and molality avoids the problem entirely because it's based on mass rather than volume.
How do I handle a reaction where the ratio isn't 1:1?
Convert to moles first, then apply the stoichiometric coefficients from the balanced equation. If 1 mol of calcium chloride reacts with 2 mol of silver nitrate, then 0.010 mol of calcium chloride requires 0.020 mol of silver nitrate, and the volume of silver nitrate solution needed is 0.020 divided by its molarity.