Home/Other Calculators & Tools/Molarity Calculator

Molarity Calculator

Free · No sign-up · Runs entirely in your browser

Work out concentration, moles, volume or exactly how many grams to weigh out — type the formula and the molar mass fills itself in. Includes dilution using C₁V₁ = C₂V₂.

Molarity: C = n/V
Solve for
Search chemical
Formula (optional)
Molar mass
g/mol
Molarity C
mol/L
Moles n
mol
Volume V
Common solutions

Dilution: C₁V₁ = C₂V₂

C₁ (stock)
mol/L
V₁ (stock used)
mL
C₂ (target)
mol/L
Result
Molarity
2.00
mol/L
PropertyValue
⏱️ Last reviewed: 26 July 2026 · Written and reviewed by Mohsin Iqbal under our editorial policy and calculation methodology. Follow your laboratory's safety procedures — some of the reagents mentioned are corrosive.
📖 Approx. 12 min read🧪 Formula auto-fill🔄 Updated 26 July 2026

On this page

  1. The Formula, and What You Actually Need
  2. Make Up To Volume, Not Add To Volume
  3. Dilution: C₁V₁ = C₂V₂
  4. Molarity, Molality and Normality
  5. Unit Quick Reference
  6. The Hydrate Trap
  7. Accuracy and Glassware
  8. Where It Gets Used
  9. Common Mistakes
  10. Frequently Asked Questions
  11. Calculate, Then Make Up To the Mark

🔑 Key Takeaways

The Formula, and What You Actually Need

Molarity is a count of particles per unit volume, dressed up in units you can measure.

C = n ÷ V    (mol/L)
n = C × V
V = n ÷ C

mass to weigh = C × V × molar mass

In practice the question is almost always the last one: how many grams do I put on the balance? The calculator above defaults to answering that, and will fill in the molar mass if you type the formula.

TargetVolumeWorkingWeigh out
0.1 M NaCl500 mL0.05 mol × 58.442.92 g
1.0 M HCl250 mL0.25 mol × 36.469.11 g
0.5 M NaOH1 L0.5 mol × 40.0020.00 g
0.25 M glucose1 L0.25 mol × 180.1645.04 g
0.02 M KMnO₄500 mL0.01 mol × 158.031.58 g

Make Up To Volume, Not Add To Volume

This is the technique point that separates a correct calculation from a correct solution, and it is left out of most molarity guides.

Do not weigh the solute into a litre of water. Dissolving something increases the volume, so a litre of water plus 45 g of glucose comes to more than a litre — and the concentration ends up below what you calculated. The correct method is to dissolve the solute in roughly two-thirds of the final volume, then add solvent up to the mark on a volumetric flask.

This is why molarity is defined per litre of solution rather than per litre of solvent. The denominator is the finished volume, which you can only reach by topping up.

StepWhy
Weigh the solute accuratelyThe mass sets the moles; everything follows from it
Dissolve in part of the final volumeLeaves room for the volume the solute itself occupies
Transfer to a volumetric flaskFlasks are calibrated to a single accurate volume
Make up to the markThe graduation is the defined final volume
Invert to mix thoroughlyConcentration gradients settle out otherwise
Adding acid to water, never the reverse. Diluting concentrated sulfuric acid releases a lot of heat, and adding water to acid can boil and spit. Add the acid slowly into the water. This is a safety matter rather than a calculation one, but it belongs beside any dilution arithmetic.

Dilution: C₁V₁ = C₂V₂

Diluting changes the volume, not the number of moles — which is the whole reason the formula works.

C₁V₁ = C₂V₂

50 mL of 2 M stock, diluted to 0.5 M:
V₂ = (2 × 50) ÷ 0.5 = 200 mL final volume
so add about 150 mL of solvent

Note what the answer is: a final volume, not an amount to add. Take the 50 mL of stock and make it up to 200 mL. Working out the difference and measuring that separately is less accurate, because the solute's own volume is unaccounted for.

The formula does not care about units, as long as they match. C₁V₁ = C₂V₂ works in mL or L, molar or millimolar, provided both sides use the same ones. It also works in reverse to find what stock concentration you need — which is why the calculator flags the case where your target is stronger than your stock, since no amount of solvent will get you there.

Molarity, Molality and Normality

Three concentration measures that sound alike and are not.

Molarity (M)Molality (m)Normality (N)
PerLitre of solutionKilogram of solventLitre of solution
CountsMoles of soluteMoles of soluteReactive equivalents
Unitsmol/Lmol/kgeq/L
TemperatureChanges with itIndependent of itChanges with it
Used forMost laboratory workFreezing and boiling point workTitrations, acid–base
Why molality exists. Liquids expand when warmed, so a litre of solution holds fewer moles at 40 °C than at 20 °C — molarity drifts with temperature. Molality is measured against the solvent's mass, which does not change, so it stays fixed. That makes it the right choice for colligative property work such as freezing point depression.

Normality accounts for how many reactive units each molecule supplies. Sulfuric acid donates two protons, so 1 M H₂SO₄ is 2 N for acid–base purposes. It is still common in titration work, though IUPAC discourages it in favour of molarity with an explicit stoichiometric ratio.

Unit Quick Reference

UnitEquivalentWhere you meet it
1 M1 mol/L = 1000 mMStock solutions, titrants
1 mM0.001 M = 1000 µMBuffers, biological media
1 µM0.000001 MTrace analysis, enzyme work
1 nM0.000000001 MReceptor binding, ultra-trace
1 L1000 mL = 1000 cm³Volumetric flasks
1 mL0.001 L = 1 cm³Pipettes, syringes
1 µL0.001 mLMicropipettes
1 mol/L1 mmol/mLThe same number, smaller scale
The last row is a useful shortcut. Because a millimole is a thousandth of a mole and a millilitre a thousandth of a litre, mol/L and mmol/mL are numerically identical. So 0.1 M is also 0.1 mmol/mL — handy when a protocol gives you millimoles and a volume in millilitres.

The Hydrate Trap

If your reagent bottle names a hydrate, the water is part of what you weigh — and using the anhydrous molar mass gives a solution well under strength.

ReagentMolar mass to useFor 250 mL of 0.5 M
CuSO₄ (anhydrous)159.6119.95 g
CuSO₄·5H₂O249.6831.21 g
Na₂CO₃ (anhydrous)105.9913.25 g
Na₂CO₃·10H₂O286.1435.77 g

Weighing 19.95 g of the pentahydrate when you needed 31.21 g gives roughly 64% of the intended concentration. The formula field above accepts hydrate notation directly — type CuSO4·5H2O and the correct molar mass appears. Our molecular weight calculator covers the parsing in more detail.

Accuracy and Glassware

A correct calculation still gives a wrong solution if the measurement is loose. Which piece of glassware you reach for decides how good the answer can be.

EquipmentUse it forTypical accuracy
Volumetric flaskPreparing a solution to an exact final volume±0.1% or better
Volumetric pipetteTransferring one accurate fixed volume±0.1–0.2%
BuretteDelivering a variable measured volume in titration±0.05 mL
Graduated pipetteModerately accurate variable transfers±1%
Measuring cylinderApproximate volumes±1–5%
Beaker or conical flaskDissolving and mixing — not measuring±5–10%
Beaker graduations are decoration. The moulded marks on a beaker are indicative only, typically within 5–10%, and are there to help you judge roughly how full it is. Preparing a standard solution in a beaker undoes whatever precision your balance gave you.
PracticeWhy it matters
Weigh on a balance suited to the amountAn analytical balance reads to 0.0001 g; weighing 1.58 g of KMnO₄ on a 0.1 g balance loses two significant figures
Read the meniscus at eye levelLooking down or up shifts the apparent level — parallax can move a reading by more than the flask's tolerance
Dissolve fully before making upUndissolved solute is not in solution, so the concentration is below target until it is
Work at room temperatureGlassware is calibrated at about 20 °C, and warm solutions occupy more volume
Invert a stoppered flask several timesThe last of the solvent sits on top otherwise, leaving a concentration gradient
Standardise anything hygroscopicSodium hydroxide absorbs water and carbon dioxide from the air, so its weighed mass is not reliable
Why sodium hydroxide cannot be a primary standard. It draws moisture and carbon dioxide from the air, so a pellet weighed today is partly water and partly sodium carbonate. You prepare it approximately, then determine the real concentration by titrating against something stable such as potassium hydrogen phthalate. Anything described as a primary standard is stable, pure and non-hygroscopic for exactly this reason.

Where It Gets Used

FieldTypical use
Teaching labsPreparing standard solutions for titration and analysis
Analytical chemistryCalibration standards, where concentration accuracy sets the result
Pharmacy and compoundingDose calculations, often expressed in mg/mL rather than molarity
Environmental testingContaminant levels, usually in µM or mg/L for trace amounts
Biology and molecular workBuffers, media and reagents — commonly mM and µM
Industrial process controlFeed concentrations and reaction stoichiometry
Millimolar and micromolar are the same idea scaled down. 1 mM is 0.001 M and 1 µM is 0.000001 M, which matters because biological and environmental concentrations are usually far below 1 M. A 50 mM buffer is 0.05 M, and the calculator handles it as such.

Common Mistakes

  1. Adding solute to the full final volume. Dissolve in part of it and make up to the mark, or the concentration comes out low.
  2. Mixing millilitres with litres. 500 mL is 0.5 L. This is the most common numerical slip, which is why the calculator asks for the unit explicitly.
  3. Using the anhydrous molar mass for a hydrate. Check the reagent label — the difference can be over 50%.
  4. Confusing molarity with molality. Per litre of solution against per kilogram of solvent. Different denominators, different numbers.
  5. Treating the dilution answer as an amount to add. C₁V₁ = C₂V₂ gives the final volume. Make up to it rather than adding it.
  6. Assuming 1 M H₂SO₄ is 1 N. It supplies two protons, so it is 2 N for acid–base work.
  7. Adding water to concentrated acid. A safety error, not an arithmetic one, but a serious one. Acid into water, slowly.

Frequently Asked Questions

What is molarity?

The number of moles of solute per litre of solution, written mol/L or M. A 1 M solution contains one mole of solute in every litre of finished solution — note that this is per litre of solution, not per litre of solvent added.

How do you calculate molarity?

Divide the moles of solute by the volume of solution in litres. If you have 0.05 mol in 500 mL, that is 0.05 ÷ 0.5 = 0.1 M. Starting from a mass instead, divide the mass by the molar mass first to get moles.

How do I calculate molarity from grams?

Divide the mass by the molar mass to get moles, then divide by the volume in litres. For 2.92 g of sodium chloride in 500 mL: 2.92 ÷ 58.44 = 0.05 mol, and 0.05 ÷ 0.5 = 0.1 M. Enter the formula above and the molar mass is filled in for you.

How many grams do I need for a 0.1 M solution?

Multiply the volume in litres by the molarity to get moles, then multiply by the molar mass. For 500 mL of 0.1 M sodium chloride: 0.5 × 0.1 × 58.44 = 2.92 g. Check whether your reagent is a hydrate before weighing.

What is the unit of molarity?

Moles per litre, written mol/L and commonly abbreviated to M. Lower concentrations use millimolar (mM, one thousandth) and micromolar (µM, one millionth), which are standard in biological and environmental work.

What is M₁V₁ = M₂V₂?

The dilution equation. Diluting does not change how many moles of solute you have, only the volume they occupy, so concentration times volume stays constant. Rearranged, V₂ = C₁V₁ ÷ C₂ gives the final volume you need to reach.

How do you calculate a dilution?

Multiply the stock concentration by the volume you are using, then divide by the target concentration. Taking 50 mL of 2 M stock to 0.5 M: (2 × 50) ÷ 0.5 = 200 mL final volume, so make the 50 mL up to 200 mL rather than adding 200 mL.

How do you prepare a molar solution?

Weigh the calculated mass, dissolve it in roughly two-thirds of the final volume, transfer to a volumetric flask, make up to the mark and invert to mix. Dissolving in the full volume first gives a solution that is too dilute, because the solute adds volume of its own.

Why not just add the solute to a litre of water?

Because the solute occupies volume too, so a litre of water plus the solute comes to more than a litre and the concentration falls below target. Molarity is defined per litre of solution, which you reach by topping up to a calibrated mark.

What is the difference between molarity and molality?

Molarity is moles per litre of solution; molality is moles per kilogram of solvent. Because liquids expand when warmed, molarity changes with temperature while molality does not — which is why molality is used for freezing and boiling point calculations.

What is normality?

Concentration expressed in reactive equivalents per litre rather than moles per litre. Sulfuric acid donates two protons, so 1 M H₂SO₄ is 2 N for acid–base purposes. It remains common in titration work, though molarity with an explicit stoichiometric ratio is now preferred.

Does molarity change with temperature?

Yes, slightly. The solution expands as it warms, so the same moles occupy more volume and the molarity falls. The effect is small for most laboratory work but matters for precise measurement, and it is the reason molality exists as an alternative.

What is a standard solution?

A solution whose concentration is known accurately, used to determine unknown concentrations by titration. Primary standards are prepared by weighing a stable, pure, non-hygroscopic solid directly. Solutions that absorb water or degrade, such as sodium hydroxide, must be standardised against a primary standard instead.

Should I use the hydrate molar mass?

Yes, if the reagent you are weighing is a hydrate. Copper sulfate pentahydrate is 249.68 g/mol against 159.61 for the anhydrous salt, so using the wrong figure gives about 64% of the intended concentration. Check the bottle label.

What is the difference between molarity and concentration?

Concentration is the general idea of how much solute sits in a given amount of solution; molarity is one specific way of expressing it, in moles per litre. Other measures include g/L, percentage by mass, parts per million and molality, all describing the same underlying property differently.

How do I convert mg/mL to molarity?

Multiply mg/mL by 1000 to get mg/L, divide by the molar mass to get millimoles per litre, then divide by 1000 for mol/L. More simply, molarity equals grams per litre divided by molar mass — so 5.844 g/L of sodium chloride is 5.844 ÷ 58.44 = 0.1 M.

What glassware should I use to prepare a solution?

A volumetric flask, which is calibrated to one accurate volume, typically within 0.1%. Dissolve the solute in a beaker or directly in the flask with part of the solvent, then make up to the mark. Beaker graduations are indicative only at roughly 5–10% and should never be used to set a final volume.

Why can't sodium hydroxide be weighed accurately?

Because it is hygroscopic — it absorbs water and carbon dioxide from the air, so a weighed pellet is partly water and partly sodium carbonate. Prepare it approximately, then standardise by titration against a stable primary standard such as potassium hydrogen phthalate.

Does 1 mol/L equal 1 mmol/mL?

Yes, exactly. A millimole is one thousandth of a mole and a millilitre one thousandth of a litre, so the ratio is unchanged. This makes 0.1 M the same as 0.1 mmol/mL, which is convenient when a protocol specifies millimoles and millilitres.

Why is molarity important?

Because chemical reactions proceed in ratios of particles, not masses, and molarity converts a volume you can measure into a number of particles you can reason about. Titration, dosing, buffer preparation and reaction planning all depend on it.

Calculate, Then Make Up To the Mark

The arithmetic here is short — moles divided by litres, and a multiplication by molar mass to get something you can weigh. The errors are elsewhere: millilitres read as litres, an anhydrous molar mass used for a hydrate, or solute added to a full flask instead of dissolved and topped up.

Two habits prevent nearly all of it. Type the formula rather than looking up the molar mass, and check the reagent bottle for the word "hydrate" before you weigh anything.

For molar masses in detail, use the molecular weight calculator. For solution densities, the density calculator.

🧪 Related Tools

Molarity Calculator — concentration, moles, volume and dilution (this page) Molecular Weight Calculator — molar mass from any formula Density Calculator — density, mass or volume Mass Calculator — mass from material and dimensions Volume Converter — millilitres, litres and cubic centimetres Unit Converter — all measurement categories Percentage Calculator — composition and yield Scientific Notation Calculator — very small concentrations

📋 References & Further Reading

IUPAC — Nomenclature and terminology NIST — Physical measurement reference data OpenStax Chemistry 2e — Solutions and concentration Royal Society of Chemistry — Educational resources