Molarity Calculator

—
—
—
—
—
—

Molarity Calculator Features

Any three known values

Pick which of concentration, mass, volume or molar mass to solve for, fill the other three, and the result appears immediately — no algebra by hand

Dedicated dilution tab

C1V1 = C2V2 with any one of the four as the unknown, plus how much solvent to add once the final volume is known

Switch between L and mL

Volume in the base tab supports litres and millilitres, and converts the value already entered so 100 mL is never read as 100 L

Preparation table follows molar mass

Shows grams and milligrams needed for 0.01–5 mol/L in 1 L, recalculated from whatever molar mass you entered

Six results at once

Amount of substance, concentration, mass, volume in mL, molar mass and g/L shown side by side for cross-checking

Invalid inputs are blocked

Zero, negative and missing values raise a clear message instead of quietly producing Infinity or NaN

How to Use the Molarity Calculator

1

Choose what to solve for

The default is concentration. The dropdown lets you switch to mass, volume or molar mass; the selected field becomes a read-only result box.

2

Fill the other three

The default example dissolves 5.844 g of NaCl (M = 58.44 g/mol) to 1 L, giving 0.100000 mol/L. Volume can be switched to mL.

3

Read the cards and the note

Six cards show n, c, m, V, M and g/L; the note below writes out the substitution in one line so you can check the units.

4

Switch to dilution for topping up

For example, 100 mL of 1 mol/L stock diluted to 0.2 mol/L: choose final volume, get 500 mL and a note to add about 400 mL of solvent.

When to Use a Molarity Calculator

Preparing lab solutions

Work out how many grams of NaCl are needed for 500 mL of 0.1 mol/L, then check the g/L figure against the label

Diluting stock solutions

Use C1V1=C2V2 to find how much stock to take and what final volume to make up to, with the solvent amount included

Checking reagent labels

Labels often give mass fraction or g/L; convert to mol/L using molar mass before comparing with a protocol

Teaching amount of substance

Showing n, c, m, V and M for one bottle makes the relationships far clearer than memorising formulas

Auditing lab notes

Plug weighed masses back in to catch thousand-fold mistakes such as writing mL where L was meant

Back-solving molar mass

When mass, final volume and titrated concentration are known, switch the solve target to molar mass

Solution Concentration Explained

What molar concentration means

Amount concentration (formerly molarity) is the amount of substance n divided by solution volume V: c = n/V. The SI unit is mol/m³, but labs use mol/L, also written M. The denominator is the total volume of the solution, not the volume of solvent: dissolving 1 mol of solute in 1 L of water usually gives more than 1 L of solution, so the concentration ends up below 1 mol/L. That is why solutions are made up to a mark rather than by adding a fixed volume of water.

From mass to concentration: c = m/(M·V)

A balance measures mass m in grams, while the formula needs moles n; molar mass M in g/mol bridges them via n = m/M. Substituting into c = n/V gives c = m/(M·V). One equation ties four quantities together, so any three determine the fourth: m = c·V·M, V = m/(c·M), M = m/(c·V). This tool puts all four directions in a single dropdown so a multiplication never gets flipped into a division.

Why C1V1 = C2V2 holds

Dilution adds solvent without adding or removing solute, so the amount of substance is unchanged: n = C1·V1 = C2·V2. The identity works as long as both volumes use the same unit (both mL or both L) and both concentrations share a unit. For example, 100 mL of 1 mol/L stock diluted to 0.2 mol/L gives V2 = 1×100/0.2 = 500 mL, meaning about 400 mL of solvent is added. Strictly speaking volumes are not perfectly additive, so precise work should make up to the mark rather than measure the difference.

mol/L, g/L and mass fraction are different

Mass concentration ρ = m/V (g/L) relates to molarity through ρ = c·M; 0.1 mol/L NaCl (M = 58.44) is 5.844 g/L. Mass fraction (w/w, %) is solute mass divided by total solution mass, and converting it to mol/L also requires the solution density because the denominator changes from mass to volume. So 5% hydrochloric acid is not 0.5 mol/L — you need a density table. This tool handles volume-based units only: mol/L, g/L and the like.

Where errors usually come from

Volume units are the classic trap: entering mL as L makes the answer 1000× off. Next is water of hydration: preparing a solution from CuSO₄·5H₂O requires M = 249.68, not the anhydrous 159.61, or the concentration comes out roughly 36% low. Then there is the difference between 'dilute to 1 L' and 'add 1 L of water' — only the former is correct. Finally, read the bottom of the meniscus in a volumetric flask, and remember flasks are calibrated at a stated temperature, usually 20 °C.

Common Concentrations (NaCl, M = 58.44 g/mol)

c (mol/L)For 1 L (g)For 500 mL (g)ρ (g/L)
0.010.58440.29220.5844
0.105.8442.9225.844
0.5029.2214.6129.22
1.0058.4429.2258.44
2.00116.8858.44116.88
ρ = c·M; halving the volume halves the mass. For another solute, simply substitute its molar mass.

Molarity Calculator FAQ

Q: Why does my result disagree with the reagent label?
A: Check which kind of concentration the label states. A mass fraction (e.g. 5%) or a mass concentration (g/L) is not mol/L: converting a mass fraction also needs the solution density. Only g/L converts directly, via ρ = c·M. Also check hydration: hydrated salts must use the molar mass including their water of crystallisation, otherwise the result is systematically low.
Q: Do I add 1 L of water or make up to 1 L?
A: Make up to 1 L. The V in c = n/V is the total solution volume; dissolving solute changes the volume, so adding 1 mol of solute to 1 L of water usually gives more than 1 L and a lower concentration. Dissolve in a beaker, transfer to a 1 L volumetric flask, then add solvent to the mark.
Q: Do volume units have to match in the dilution formula?
A: Yes. C1·V1 = C2·V2 holds whenever both volumes use the same unit — all mL or all L — and both concentrations share a unit. The dilution tab here uses mL throughout, so enter 100, 500 and so on directly. The base tab has its own L/mL switch if you prefer litres.
Q: Why are some fields grey and read-only?
A: That is the quantity you chose to solve for; it is filled in automatically from the other three. To solve for something else, use the dropdown above — the value already computed stays in the box and becomes a new known quantity.
Q: What happens with zero or negative values?
A: They are rejected with a message. Concentration, mass, volume and molar mass are all physically positive; zero causes division by zero (c is undefined when V = 0) and negatives are meaningless. Back-solving with a zero volume or concentration is equally invalid, so the tool never prints Infinity or NaN.
Q: Which molar mass should I use for a hydrate?
A: The full molar mass including water of crystallisation. For 0.1 mol/L copper sulfate made from CuSO₄·5H₂O, use M = 249.68 g/mol and weigh 24.968 g for 1 L; using anhydrous CuSO₄ at 159.61 gives only about 0.064 mol/L in reality. The tool does not parse formulas, so enter the value for the reagent you actually have or compute it with the molecular weight calculator first.
Q: Why is the solvent-to-add figure only an estimate?
A: Volumes are not strictly additive: mixing ethanol and water gives less than the sum of the parts, and diluting concentrated solutions changes temperature and density. So V2 − V1 is a guide to roughly how much solvent you will need. For accurate work, add solvent to just below the mark and then make up to V2 dropwise rather than measuring V2 − V1 and pouring it in.