Skip to main content

Free Molarity Calculator – Concentration, Mass, Volume and Dilution

Solve for molarity, solute mass, solution volume or molar mass, run a C₁V₁ = C₂V₂ dilution that tells you how much stock and how much solvent to use, and read molality and percent by mass.

Written & reviewed by Helperzy Editorial Team · Updated July 2026

MolarityMass ⇄ VolumeDilution C₁V₁=C₂V₂Molality% by MassIUPAC Gold Book

Mode

Solve For

NaCl = 58.4398 g/mol (IUPAC 2021)

Full composition breakdown

Water at 25 °C by default. Used only for molality and percent by mass.

Common Lab Reagents

0.171116 M

Amount concentration, per litre of SOLUTION

0.085558

Moles of Solute

0.171116

mol/L of Solution

0.171623

mol/kg of Solvent

0.9930%

By Mass of Solution

The Working, With Your Numbers

  1. 1. m = 5 g = 5.000000 g
  2. 2. n = m ÷ M = 5.000000 g ÷ 58.4398 g/mol = 0.085558 mol
  3. 3. V = 500 mL = 0.500000 L
  4. 4. c = n ÷ V = 0.085558 mol ÷ 0.500000 L = 0.171116 mol/L
  5. 5. c = 0.171116 M

Molarity Is Per Litre of Solution — Molality Is Per Kilogram of Solvent

Molarity (symbol c, unit mol/L, written M) divides moles of solute by the volume of the finished solution. Molality (symbol b, unit mol/kg) divides moles of solute by the mass of the solvent alone. The two figures on this page are labelled separately for that reason. Molality and percent by mass here come from an assumed solvent density, so treat them as estimates unless you weighed the solvent.

Definitions and Constants Used

Amount concentration and molality follow the IUPAC Compendium of Chemical Terminology (the Gold Book): 1 M is one mole per litre, identical to one mole per cubic decimetre. Molar masses filled from a formula use the IUPAC 2021 Table of Standard Atomic Weights. The default solvent density 0.997047 g/mL is water at 25 °C (CRC Handbook / NIST). Nothing is rounded until display. Full per-element composition is on the molar mass calculator.

100% Private

Every calculation and every formula lookup runs in your browser. No values are uploaded or stored.

How to Use Molarity Calculator

1

Choose What You Are Solving For

Pick molarity, mass, volume or molar mass, and the field you selected is greyed out because the tool is calculating it. Switch to dilution mode instead if you already have a stock solution and want to know how much to take.

2

Fill the Molar Mass From the Formula

Type a formula such as NaCl or C6H12O6 and press Fill to pull the molar mass from the IUPAC 2021 atomic weights. Then enter your mass and volume with the right unit selected, since millilitres and litres are one keystroke apart.

3

Read the Result and the Working

The headline number carries its unit, and the four cards below split out moles, mol per litre of solution and mol per kilogram of solvent so the two concentration scales are never confused. The working panel shows each substituted step for a lab notebook.

How Molarity Is Defined and What the Dilution Mode Actually Answers

Molarity is the amount of dissolved substance per litre of finished solution, written as mol/L and abbreviated M. A 1 M sodium chloride solution holds one mole of NaCl in every litre of the liquid you end up with, not in every litre of water you started from. That distinction is the whole reason this quantity has its own name. Anyone who prepares solutions works with it constantly: a student making up a standard for a titration, a technician diluting a stock reagent, a biologist mixing a buffer at 50 mM. This calculator solves in four directions, so whichever three of concentration, mass, volume and molar mass you know, it returns the fourth, and it will fill the molar mass straight from a chemical formula. The chain is short. Moles come from n = m ÷ M, where m is the solute mass in grams and M is the molar mass in g/mol. Concentration is then c = n ÷ V with V the solution volume in litres, combining into c = m ÷ (M × V). Rearranged, m = c × V × M gives the mass to weigh, V = m ÷ (c × M) the volume to make up to, and M = m ÷ (c × V) an unknown molar mass. Dilution rests on conservation of moles: C₁V₁ = C₂V₂, so V₁ = C₂V₂ ÷ C₁ is the stock volume and V₂ − V₁ the solvent to add. Molality b = n ÷ (solvent mass in kg) is per kilogram of solvent, and percent by mass is solute over total solution mass — both use an assumed solvent density of 0.997047 g/mL for water at 25 °C. Take a concrete bench job. Dissolve 5 g of sodium chloride and make up to 500 mL. NaCl has a molar mass of 58.4398 g/mol from the IUPAC 2021 atomic weights, so n = 5 ÷ 58.4398 = 0.085558 mol, and c = 0.085558 ÷ 0.5 = 0.171116 mol/L. Running it the other way, 500 mL of 0.25 M NaCl needs 0.25 × 0.5 × 58.4398 = 7.3050 g on the balance, and 250 mL of 0.15 M glucose needs 0.15 × 0.25 × 180.156 = 6.7558 g. For the same 5 g in 500 mL the secondary figures come out at 0.171623 mol/kg of solvent and 0.9930% by mass, using 498.52 g as the solvent mass. Now the dilution: to get 100 mL of 0.5 M from a 2 M stock, V₁ = (0.5 × 100) ÷ 2 = 25.00 mL of stock plus 75.00 mL of solvent, a four-fold dilution. That last answer is the point of the dilution mode. Most calculators return only the 25 mL and leave you to do the subtraction yourself. The bench question is always "how much stock and how much solvent", so both numbers are printed. Three more situations recur regularly. A molecular biology student working at 50 mM needs the mM unit rather than shifting the decimal point by hand every single time. A chemistry teacher setting a practical wants the substituted working visible on screen so students can see exactly where a wrong answer diverged from the right one. And a technician handed an unlabelled solution with a known mass, volume and concentration can solve for the molar mass and narrow down what is actually in the bottle. The mistake to watch for is treating molarity and molality as interchangeable. Molarity divides by the volume of the whole solution, molality by the mass of the solvent alone, and in dilute water they look nearly identical — which is why the error survives to the exam. At 3 M they part company. Molarity also drifts with temperature because volume expands while mass does not, so freezing-point work uses molality. Two honest limits: real volumes are not additive, so 50 mL of ethanol with 50 mL of water gives about 96 mL, and adding solvent can only dilute — ask for a final concentration above the stock and this tool says so rather than returning a negative solvent volume. Definitions follow the IUPAC Gold Book. Everything runs in your browser.

Molarity Calculator Formula & Method

n = m ÷ M n = moles of solute (mol), m = solute mass (g), M = molar mass (g/mol) c = n ÷ V c = amount concentration or molarity (mol/L), V = volume of SOLUTION (L) ⇒ c = m ÷ (M × V) Rearranged — any three of the four give the fourth: m = c × V × M mass to weigh out (g) V = m ÷ (c × M) solution volume to make up to (L) M = m ÷ (c × V) molar mass implied by the other three (g/mol) Dilution (conservation of moles): C₁V₁ = C₂V₂ V₁ = C₂V₂ ÷ C₁ volume of stock to measure out solvent to add = V₂ − V₁ valid only while C₁ > C₂ dilution factor = C₁ ÷ C₂ Secondary outputs: molality b = n ÷ (mass of SOLVENT in kg) — per kilogram of solvent, NOT per litre of solution percent by mass = m(solute) ÷ m(solution) × 100 solvent mass ≈ V × ρ, ρ default 0.997047 g/mL (water at 25 °C, CRC Handbook / NIST) Unit factors: mg 1e-3 g · kg 1e3 g · µL 1e-6 L · mL 1e-3 L · mM 1e-3 M · µM 1e-6 M · nM 1e-9 M Reference — molar mass of the 12 reagents used most in teaching labs (IUPAC 2021 standard atomic weights). The last column is the mass to weigh for 500 mL of a 0.1 M solution, i.e. m = 0.1 × 0.5 × M. Reagent Formula M (g/mol) g per 500 mL of 0.1 M Sodium chloride NaCl 58.4398 2.9220 Glucose C6H12O6 180.1560 9.0078 Sodium hydroxide NaOH 39.9968 1.9998 Potassium hydroxide KOH 56.1053 2.8053 Sulfuric acid H2SO4 98.0720 4.9036 Hydrochloric acid HCl 36.4580 1.8229 Sodium bicarbonate NaHCO3 84.0058 4.2003 Sodium carbonate Na2CO3 105.9875 5.2994 Potassium permanganate KMnO4 158.0323 7.9016 Copper(II) sulfate pentahydrate CuSO4·5H2O 249.6770 12.4839 Sucrose C12H22O11 342.2970 17.1149 Acetic acid CH3COOH 60.0520 3.0026 Note on the hydrate: use 249.6770 g/mol for CuSO4·5H2O, not the 159.6020 g/mol of the anhydrous salt. The five waters are 36 % of the crystal mass, so reading the wrong line makes the solution 56 % too concentrated. Guards: V > 0 and M > 0 always; c > 0 when solving for mass or volume; dilution requires C₁ > C₂. Rounding rule: everything converts to base SI (g, L, mol/L) first, the single division is performed at full double precision, and rounding happens only at display. Sources: IUPAC Compendium of Chemical Terminology (Gold Book) for amount concentration and molality; IUPAC 2021 standard atomic weights for molar mass.

Examples: Molarity Calculator

Input

5 g NaCl dissolved and made up to 500 mL

Result

0.171116 mol/L · 0.085558 mol of NaCl

n = 5 ÷ 58.4398 = 0.085558 mol, then c = 0.085558 ÷ 0.5 L = 0.171116 mol/L, matching the 0.1711 M that Omni Calculator and the Sigma-Aldrich mass molarity calculator return.

Input

Mass needed for 500 mL of 0.25 M NaCl

Result

7.3050 g

m = c × V × M = 0.25 mol/L × 0.5 L × 58.4398 g/mol, which is the figure Sigma-Aldrich publishes for the same preparation.

Input

Mass needed for 250 mL of 0.15 M glucose (C6H12O6)

Result

6.7558 g

The molar mass 180.156 g/mol is filled from the formula, then 0.15 × 0.25 × 180.156 gives the mass to weigh; Omni Calculator rounds the same result to 6.76 g.

Input

Dilute a 2 M stock to 0.5 M, final volume 100 mL

Result

take 25.00 mL of stock and add 75.00 mL of solvent · 4-fold dilution

V₁ = C₂V₂ ÷ C₁ = (0.5 × 100) ÷ 2 = 25 mL, and the solvent to add is V₂ − V₁ = 100 − 25 = 75 mL, which is the answer the bench actually needs.

Input

Same 5 g NaCl in 500 mL, secondary outputs

Result

0.171623 mol/kg of solvent · 0.9930% by mass

Using water at 0.997047 g/mL the solvent mass is 498.52 g, so molality is 0.085558 ÷ 0.49852 kg, and percent by mass is 5 ÷ 503.52 × 100 — both estimates, since the solvent was not weighed.

Frequently Asked Questions – Molarity Calculator

One mole of solute per litre of solution, identical to one mole per cubic decimetre. The IUPAC Gold Book calls this amount concentration and gives it the symbol c. Note it is per litre of the finished solution, not per litre of solvent added.