Molarity Calculator

Calculate solution molarity (C = n/V), convert mass to moles, and solve dilution problems using C₁V₁ = C₂V₂.

Mode

Molarity (C) = moles of solute (n) / volume of solution (V)

Molarity
0.5 mol/L (M)
500 mmol/L = 500 mM

Results

QuantityValue
Moles (n)0.5 mol
Volume (V)1 Liters (L)
Molarity (C)0.5 M
Millimolar (mM)500 mM

Key Formulas

FormulaExpression
MolarityC = n / V
Molesn = mass / MW
DilutionC₁V₁ = C₂V₂
AvogadroN = n × 6.02214076×10²³

Since 20 May 2019 the Avogadro constant has been fixed by definition at exactly 6.02214076 × 10²³ per mole (BIPM, SI Brochure), so a mole is now defined as an exact number of entities and no longer through the mass of carbon-12. This page uses that exact value in the Molecules row. It has three tabs: Molarity turns moles and a volume into mol/L, Mass → Moles divides grams by molar mass, and Dilution works out how much to top up a stock solution.

Three tabs, one chain: grams, moles, concentration, dilution

Molarity C = n ÷ V, with n in moles and V in litres. Moles from mass: n = mass ÷ molar mass. Dilution: C₁V₁ = C₂V₂, so V₂ = C₁ × V₁ ÷ C₂. The volume menu converts Milliliters (mL) and Cubic cm (cm³) at 0.001 L each, the mass menu converts mg and kg to grams, and the Molecules row multiplies moles by 6.02214076 × 10²³.

Mass → Moles, the defaults. 18 g with a molar mass of 18.015 g/mol gives 0.999167 mol, which is 999.1674 mmol, and the Molecules tile reads 6.017e+23 (6.0171 × 10²³ in the results table). That is a little under one mole of water because 18 g is slightly less than its 18.015 g/mol.

Carry the moles across. 2.922 g of sodium chloride (58.44 g/mol) is 0.05 mol. Entered on the Molarity tab with Volume 500 and the menu on Milliliters (mL), the page converts to 0.5 L and shows 0.1 M, with 100 mmol/L = 100 mM beneath. Contrast: leave the menu on Liters (L) and the page divides 0.05 by 500 L and shows 0.0001 M, a thousand times too low, with no warning. The default on this tab, 0.5 mol in 1 L, gives 0.5 M.

Dilution. A 12 M stock (concentrated hydrochloric acid is close to this) at V₁ = 25 mL, diluted to C₂ = 1 M, gives V₂ = 12 × 25 ÷ 1 = 300 mL, so the page says to add 275 mL of solvent; add the acid to the water and top up to the final mark, since volumes are not always additive. The defaults, 1 M, 100 mL and 0.1 M, give 1000 mL and 900 mL of solvent. If C₂ is larger than C₁ the page refuses with an error, because a dilution can only lower concentration.

How to Use This Calculator

  1. Choose a tab: Molarity (C = n/V), Mass → Moles or Dilution (C₁V₁=C₂V₂).
  2. On Molarity, enter Moles of Solute (mol) and Volume of Solution, then pick Liters (L), Milliliters (mL) or Cubic cm (cm³). The defaults are 0.5 and 1 L, giving 0.5 mol/L.
  3. On Mass → Moles, enter Mass, choose Grams (g), Milligrams (mg) or Kilograms (kg), and type the Molar Mass / MW (g/mol). The defaults, 18 g and 18.015, give 0.999167 mol, 999.1674 mmol and the molecule count.
  4. Take the moles figure to the Molarity tab and enter the final volume of the finished solution, not the water you pour in.
  5. On Dilution, enter Stock Concentration C₁ (M), Stock Volume V₁ (mL) and Target Concentration C₂ (M). Final Volume V₂ appears in mL with the solvent to add beneath it.
  6. Results update as you type. Messages appear for negative moles or mass, a zero volume or molar mass, a zero concentration, or a target stronger than the stock; empty fields show nothing.

Frequently Asked Questions

Is Cubic cm (cm³) the same as Milliliters (mL) here?

Yes. One cubic centimetre is one millilitre, and both menu entries use the same 0.001 L factor, so either choice gives the same answer.

What happens if my target is stronger than the stock?

The Dilution tab shows a message that C₂ must be less than or equal to C₁ and hides the results. You would need a more concentrated stock or to evaporate solvent. Equal values are accepted and give V₂ = V₁, with 0 mL to add.

Can I go from grams and a final volume to molarity on one tab?

Not on one tab. Use Mass → Moles first, then enter that mole figure and your final solution volume on the Molarity tab.

Is the volume the amount of water I add?

No. Molarity uses the volume of the finished solution, and dissolving a solid can change the total slightly. Molality, moles per kilogram of solvent, avoids that and does not change with temperature, while molarity does.

How many decimals can I trust?

Fewer than the page shows. Molarity prints to 4 decimals and moles to 6, but a balance reading and a volumetric flask set the real precision, so round the answer to match your measurements.