Chemistry & Chemical Engineering Solutions, Concentration & Dilution IUPAC definition of amount concentration (mol/L)

Molarity Calculator

Molarity is moles of solute per litre of finished solution. This calculator works the relationship in all three directions: it gives you the molarity of a solution you have already made, the mass to weigh for a target concentration and volume, or the volume a fixed mass has to be made up to. Enter a chemical formula and the molar mass is parsed for you, brackets and hydrates included, so a preparation goes from recipe to balance in one step.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
What you want to findThe two inputs the calculator needs are shown; the third is what it returns.Molarity of a solution I have made
Solute formulaEnter it exactly as the reagent bottle labels it, including any hydrate such as CuSO4.5H2O.NaCl
Mass of soluteWhat the balance reads, corrected for purity if your reagent is not assayed at 100%.5.844 g
Target molarityThe concentration the finished solution should have.0.1 mol/L
Final solution volumeVolume of the finished solution in the flask, not the volume of solvent you added.1 L
Molar mass overrideLeave at 0 to use the formula; set a value for mixtures, polymers or a certified assay mass.0 g/mol

It returns

  • Answer — The quantity you asked for, in the unit shown beside it.
  • Molarity
  • Moles of solute
  • Mass of solute
  • Final volume
  • Concentration by mass
  • Molar mass used

The formula

C=nV=mMV
m=CVM

In plain text: C = n / V = m / (M · V)

  • CAmount concentration, usually called molarity (mol/L)
  • nAmount of solute (mol)
  • mMass of solute weighed (g)
  • MMolar mass of the solute (g/mol)
  • VVolume of the finished solution, not of the solvent (L)

The denominator is the total volume of solution after dissolution. Because solutions expand or contract on mixing, that is not the same as the volume of solvent you started with.

Updated Category Solutions, Concentration & Dilution Verified against published test cases Reading time 9 min

What molarity measures

Molarity — amount concentration in IUPAC's language — is the number of moles of solute in one litre of solution. A 0.100 mol/L sodium chloride solution contains 0.100 mol of NaCl in every litre you pour, no matter how much you make.

It is the concentration unit almost all solution chemistry runs on, for one reason: reactions happen mole for mole, so a concentration expressed in moles lets you compute a reaction directly from a volume you can measure with a pipette. A titration is exactly this — you measure a volume, multiply by a molarity, and you have moles.

The definition contains a trap worth stating at the start. The volume in the denominator is the volume of the finished solution, not the volume of solvent you added. You dissolve the solid in a part of the solvent and then make up to the mark, because dissolving changes the volume. For dilute aqueous solutions the difference is small; for concentrated acids and for anything in an organic solvent it is not.

The equation and its three rearrangements

Start from C = n ÷ V. Substituting n = m ÷ M gives the working form C = m ÷ (M × V), which links the three things you can actually control: the mass you weigh, the molar mass of what you weighed, and the volume you make up to.

Each rearrangement answers a different question. C = m ÷ (M·V) tells you what you have made. m = C·V·M tells you what to weigh, which is the form you use ninety percent of the time at the bench. V = m ÷ (M·C) tells you how far to dilute a fixed mass — useful when a vial contains a stated mass of an expensive reagent and you want a particular working strength.

The molar mass term is where hydrates bite. Copper(II) sulfate pentahydrate is 249.68 g/mol against the anhydrous salt's 159.60 g/mol. Use the wrong one and your solution is out by 56%, and nothing in the appearance of the solution will tell you. Enter the formula exactly as the bottle labels it; the molar mass calculator explains the parsing rules in full.

Note also that molarity is temperature-dependent, because volume is. A solution made up at 20 °C and used at 40 °C is slightly more dilute than its label says, since water expands by about 0.6% over that range — its density falls from 0.99821 to 0.99222 g/mL. For work where that matters, chemists switch to molality — moles per kilogram of solvent — which has no volume in it and so does not drift with temperature.

Worked example: 250 mL of 0.100 mol/L sodium chloride

You need a quarter-litre of 0.100 mol/L saline for a calibration. Work out the weighing.

  1. Molar mass. Na is 22.990 and Cl is 35.45, so NaCl is 58.44 g/mol.
  2. Moles needed. n = C × V = 0.100 mol/L × 0.250 L = 0.0250 mol.
  3. Mass to weigh. m = n × M = 0.0250 mol × 58.44 g/mol = 1.461 g.
  4. Make it up. Weigh 1.461 g into a beaker, dissolve in roughly 150 mL of water, transfer quantitatively to a 250 mL volumetric flask, rinse the beaker into the flask twice, then fill to the graduation mark and invert twenty times.

Check the result the other way. 1.461 g ÷ 58.44 g/mol = 0.02500 mol, and 0.02500 mol ÷ 0.250 L = 0.1000 mol/L. The concentration by mass is 0.100 × 58.44 = 5.844 g/L, which is the number you would use to compare against a label quoted in g/L.

If your balance actually settles on 1.457 g rather than 1.461 g, do not discard it — record it. The real concentration is 1.457 ÷ 58.44 ÷ 0.250 = 0.09973 mol/L, a known value rather than a nominal one, and for standardisation work a known value is worth more than a round one.

How to judge the number you get

Compare against solubility before you trust a high concentration. Saturated sodium chloride is only about 5.4 mol/L at 25 °C — 26.4% by mass at a density near 1.20 g/mL — so a calculated 8 mol/L recipe will simply leave solid at the bottom of the flask and give you a saturated solution of unknown strength. The calculator warns above 6 mol/L for exactly this reason, but the real limit is substance-specific — check a solubility table for yours.

Check the weighing is within your balance's useful range. Below about 20 mg, a four-place balance contributes more than half a percent of relative error, which is larger than most people's tolerance for a standard. The fix is always the same: make a more concentrated stock from a comfortable weighing and take it down with the dilution calculator.

Finally, be explicit about what dissolves into what. For a salt that dissociates, the ion concentrations are not the molarity of the salt: 0.100 mol/L CaCl₂ is 0.100 mol/L in calcium ions but 0.200 mol/L in chloride. Ionic strength, conductivity and activity calculations all need the ion concentrations, not the formula concentration.

Grams needed per litre of solution at common concentrations

Mass of solute per litre of finished solution, computed as C × M.
SoluteMolar mass (g/mol)0.010 mol/L0.100 mol/L1.000 mol/L
Sodium chloride, NaCl58.4400.584 g5.844 g58.44 g
Sodium hydroxide, NaOH39.9970.400 g4.000 g40.00 g
Potassium hydroxide, KOH56.1050.561 g5.611 g56.11 g
Sodium hydrogen carbonate, NaHCO₃84.0060.840 g8.401 g84.01 g
Calcium chloride, CaCl₂110.9781.110 g11.098 g110.98 g
Potassium permanganate, KMnO₄158.0321.580 g15.803 g158.03 g
Glucose, C₆H₁₂O₆180.1561.802 g18.016 g180.16 g
Copper(II) sulfate pentahydrate249.6772.497 g24.968 g249.68 g
Silver nitrate, AgNO₃169.8741.699 g16.987 g169.87 g
EDTA disodium dihydrate, C₁₀H₁₄N₂Na₂O₈·2H₂O372.2383.722 g37.224 g372.24 g

Scale linearly for other volumes: half a litre needs half the mass. Not every entry is soluble at 1 mol/L — check solubility before scaling up.

Mistakes that give a wrong concentration

  • Adding solvent to a mark instead of making up to a mark. Dissolve first in part of the solvent, then top up. Adding one litre of water to the solid gives more than one litre of solution.
  • Using the anhydrous molar mass for a hydrate. The waters are part of what you weighed and must be part of the molar mass.
  • Ignoring reagent purity. A solid assayed at 97% needs the calculated mass divided by 0.97 to deliver the intended amount of substance.
  • Confusing molarity with normality. A 1 mol/L sulfuric acid solution is 2 normal, because each molecule supplies two protons. Old procedures often quote N, not M.
  • Treating concentrated acid bottle strengths as molarity. Concentrated hydrochloric acid is labelled 37% by mass; you need its density to convert that to about 12 mol/L.
  • Assuming molarity is temperature-independent. It is not, because volume expands with temperature. Use molality when the temperature will change.

Molarity among the other concentration units

Molality is moles of solute per kilogram of solvent. It is temperature-independent and is the unit colligative-property equations require, which is why boiling-point elevation and freezing-point depression use molality rather than molarity. In dilute aqueous solution the two are numerically close, since one litre of water weighs almost exactly one kilogram.

Mass percent and ppm divide solute mass by total solution mass, with no reference to a formula. They are the natural units for a mixture whose molar mass is not defined, and for trace analysis where mol/L would be an awkward power of ten.

Normality counts reacting equivalents rather than moles — protons for an acid, electrons for an oxidant. It survives in water treatment and in older analytical procedures. Sulfuric acid at 1 mol/L is 2 N for acid–base purposes, so misreading one for the other doubles or halves your titre.

Once a stock exists, the arithmetic of getting to a working strength is conservation of solute, C₁V₁ = C₂V₂, which the dilution calculator handles. And if the solution is going into a reaction, the mole figure here feeds directly into the limiting reagent calculator and the mole-ratio calculator.

Frequently asked questions

How do I calculate the molarity of a solution?

Divide the moles of solute by the volume of solution in litres. If you have a mass rather than moles, divide the mass by the molar mass first: C = m ÷ (M × V). For 5.844 g of sodium chloride at 58.44 g/mol in 1.000 L, that is 0.1000 mol in 1.000 L, or 0.1000 mol/L.

How many grams do I need for a given molarity?

Multiply molarity by volume in litres to get moles, then multiply by the molar mass. For 250 mL of 0.100 mol/L NaCl: 0.100 × 0.250 = 0.0250 mol, and 0.0250 × 58.44 = 1.461 g. Select the mass option and the calculator does both multiplications and shows them as separate steps.

Is the volume the solvent or the finished solution?

The finished solution. Dissolve the solute in roughly two-thirds of the final volume, transfer to a volumetric flask, then fill to the mark. Adding a litre of water to a solid gives you more than a litre of solution, and for concentrated solutions the excess is large enough to matter — that is why volumetric flasks exist.

What is the difference between molarity and molality?

Molarity is moles per litre of solution; molality is moles per kilogram of solvent. Molality is immune to temperature because it contains no volume, which is why colligative-property equations use it. In dilute water solutions the two numbers are nearly equal, since a litre of water weighs about a kilogram, but they diverge as concentration rises.

Do I correct for the purity of the reagent?

Yes, whenever the assay is below about 99.5% and the result matters. Divide the calculated mass by the purity expressed as a fraction: 1.461 g of a solid assayed at 97.0% becomes 1.461 ÷ 0.970 = 1.506 g. The calculator does not apply this automatically because purity is a property of your specific bottle, printed on its certificate of analysis.

How do I make a solution from a concentrated stock?

Use C₁V₁ = C₂V₂ rather than weighing anything. Multiply the target concentration by the target volume, divide by the stock concentration, and that is the stock volume to take; the rest is diluent. The dilution calculator does this and also gives the dilution factor. Always add concentrated acid to water, never the reverse.

Why does my calculator show a dash for molarity?

Because the volume is zero, or the molar mass could not be determined. Molarity is moles divided by volume, so a zero volume has no answer at all rather than an infinite one in any useful sense. Check that the formula uses correct capitalisation, and that the volume field is not empty.

Is a 0.1 mol/L solution of CaCl₂ also 0.1 mol/L in chloride?

No — it is 0.200 mol/L in chloride, because each formula unit releases two chloride ions. The molarity you calculate here is the concentration of the compound as weighed. Multiply by the number of each ion in the formula to get ion concentrations, which is what conductivity, ionic strength and precipitation calculations need.

References