Mass Concentration to Molar Concentration Conversion

Convert mass concentration to molar concentration using molar mass.

Supports 8 mass concentration units and 9 molarity scales with bidirectional conversion.

Updated August 23, 2026
Frank Zhao - Creator
CreatorFrank Zhao
Loading calculator…

Introduction / overview

Mass concentration and molar concentration are two ways to express how much solute is dissolved in a solution — but they measure it differently. Mass concentration tells you the mass of solute per unit volume (grams per litre, milligrams per decilitre, and so on), while molar concentration (also called molarity) tells you the number of moles of solute per litre of solution.

Enter any two values — molar mass, mass concentration, or molar concentration — and the calculator instantly derives the third, in any unit combination you choose.

This matters because chemistry lab protocols, pharmaceutical formulations, and environmental reports all use different concentration conventions. A water-quality report might list lead at 15 μg/L15\ \mu\mathrm{g/L}, while a pharmaceutical label specifies 0.5 mM0.5\ \mathrm{mM}. This calculator bridges the gap — type what you have, read what you need.

How to use / quick start

  1. 1Enter the molar mass of your substance. The default unit is grams per mole (g/mol), but you can switch to kilograms per mole, kilograms per kilomole, or pounds per pound-mole.
  2. 2Enter the mass concentration of the solution. The default is grams per litre (g/L), with eight other units available including milligrams per litre, micrograms per litre, and grams per millilitre.
  3. 3The molar concentration appears automatically. You can also enter molar concentration and molar mass to derive mass concentration, or enter both concentration values to find the molar mass.

Example: NaCl solution

Table salt (NaCl) has a molar mass of 58.44 g/mol58.44\ \mathrm{g/mol}. A solution containing 58.44 g/L58.44\ \mathrm{g/L} of NaCl has:

c=ρM=58.44 g/L58.44 g/mol=1 Mc = \frac{\rho}{M} = \frac{58.44\ \mathrm{g/L}}{58.44\ \mathrm{g/mol}} = 1\ \mathrm{M}

That is a 1 molar NaCl solution — one mole of salt per litre of water.

Reverse: finding molar mass

If you know a solution is 2 M2\ \mathrm{M} glucose and its mass concentration is 360.30 g/L360.30\ \mathrm{g/L}, the calculator derives:

M=ρc=360.30 g/L2 mol/L=180.15 g/molM = \frac{\rho}{c} = \frac{360.30\ \mathrm{g/L}}{2\ \mathrm{mol/L}} = 180.15\ \mathrm{g/mol}

This matches the known molar mass of glucose (C6H12O6\mathrm{C_6H_{12}O_6}), confirming the solution preparation is correct.

Calculation method

The calculator uses a single, bidirectional relationship between three quantities:

c=ρMc = \frac{\rho}{M}
ρ\rho==c×Mc \times M\qquadMM==ρc\frac{\rho}{c}

Variable definitions:

  • cc — molar concentration (moles per litre, mol/L or M)
  • ρ\rho — mass concentration (grams per litre, g/L, and related units)
  • MM — molar mass of the solute (grams per mole, g/mol)

All three unit families are supported with automatic conversion. The molar mass field converts between g/mol, kg/mol, kg/kmol, and lb/lbmol. The mass concentration field handles kg/L, g/L, mg/L, µg/L, kg/dL, g/dL, g/mL, and mg/mL. The molar concentration field spans from molar (M) down through femtomolar (fM), attomolar (aM), zeptomolar (zM), and joktomolar (yM). The calculator always works in base units internally, so you can mix any unit combination across the three fields.

Real-world examples

Vinegar (acetic acid) concentration

Household vinegar typically contains about 45 g/L45\ \mathrm{g/L} of acetic acid (CH3COOH\mathrm{CH_3COOH}, molar mass 60.05 g/mol60.05\ \mathrm{g/mol}). The molar concentration is:

c=45 g/L60.05 g/mol0.749 Mc = \frac{45\ \mathrm{g/L}}{60.05\ \mathrm{g/mol}} \approx 0.749\ \mathrm{M}

In millimolar, that is about 749 mM749\ \mathrm{mM} — useful when comparing vinegar strength across recipes or formulations that use different concentration units.

Pharmaceutical saline (0.9% NaCl)

Normal saline is 0.9 g/100 mL0.9\ \mathrm{g/100\ mL} NaCl, which equals 9 g/L9\ \mathrm{g/L}. With NaCl molar mass 58.44 g/mol58.44\ \mathrm{g/mol}:

c=9 g/L58.44 g/mol0.154 Mc = \frac{9\ \mathrm{g/L}}{58.44\ \mathrm{g/mol}} \approx 0.154\ \mathrm{M}

That is 154 mM154\ \mathrm{mM} — the standard isotonic concentration for intravenous fluids. The calculator lets you switch the result to micromolar (154,000 μM154{,}000\ \mu\mathrm{M}) or any other scale without manual conversion.

Glucose solution for cell culture

DMEM cell culture medium typically contains 4.5 g/L4.5\ \mathrm{g/L} glucose (C6H12O6\mathrm{C_6H_{12}O_6}, molar mass 180.16 g/mol180.16\ \mathrm{g/mol}):

c=4.5 g/L180.16 g/mol0.025 Mc = \frac{4.5\ \mathrm{g/L}}{180.16\ \mathrm{g/mol}} \approx 0.025\ \mathrm{M}

That is 25 mM25\ \mathrm{mM} — a standard glucose concentration for mammalian cell culture. When preparing media from a stock solution, this conversion helps verify that your dilution gives the correct molarity.

Tips & best practices

Match your units before comparing

A common mistake is comparing mass concentration in mg/L with molar concentration in mM without converting. Always check which unit family each number belongs to — this calculator handles the conversion automatically.

Verify with a known substance

If you are unsure whether your calculation is correct, test it with a substance whose molar mass you know — sodium chloride (58.44 g/mol58.44\ \mathrm{g/mol}) or glucose (180.16 g/mol180.16\ \mathrm{g/mol}) are reliable benchmarks.

Use the right molar mass

The molar mass must be for the solute itself, not the solvent. For a NaCl solution, use the molar mass of NaCl (58.44 g/mol), not water (18.015 g/mol).

Temperature effects

Molar concentration is defined at a specific temperature because volume changes with temperature. For high-precision work, note the temperature at which your mass concentration was measured.

Frequently asked questions

What is the difference between mass concentration and molar concentration?

Mass concentration measures the mass of solute per unit volume (e.g., g/Lg/L or mg/mLmg/mL). Molar concentration (molarity) measures the number of moles of solute per litre (e.g., MM or mMmM). The key difference is that molar concentration depends on the solute's molar mass, making it directly useful for stoichiometric calculations in chemistry.

Why is molarity preferred in chemistry?

Molarity expresses concentration in terms of the number of particles (moles) rather than their mass, which is what matters for chemical reactions. When you mix two solutions, you need to know how many moles of each reactant are present — not how many grams. This is why titration protocols, buffer recipes, and reaction stoichiometry almost always use molar concentration.

Can I convert from milligrams per litre to micromolar?

Yes. Enter your mass concentration in mg/L, enter the molar mass in g/mol, and the calculator derives the molar concentration. You can then switch the molar concentration unit to micromolar (µM) or any other scale. For example, 1 mg/L1\ \mathrm{mg/L} of glucose (180.16 g/mol180.16\ \mathrm{g/mol}) equals about 5.55 μM5.55\ \mu\mathrm{M}.

What molar mass units are supported?

Four units: grams per mole (g/mol), kilograms per mole (kg/mol), kilograms per kilomole (kg/kmol), and pounds per pound-mole (lb/lbmol). Note that g/mol, kg/kmol, and lb/lbmol are numerically identical — they are just different ways of expressing the same ratio — while kg/mol is 1,000 times larger.

Limitations

  • All three values (molar mass, mass concentration, molar concentration) must be greater than zero. The calculator does not accept zero or negative values, since these have no physical meaning for concentration.
  • Molar concentration is temperature-dependent because solution volume changes with temperature. This calculator performs the arithmetic conversion at the values you enter; it does not correct for thermal expansion or temperature-induced volume changes.
  • For high-precision analytical work, pharmaceutical formulations, or safety-critical applications, verify results against certified references and follow the relevant standard operating procedures. Unit conversion alone does not replace proper laboratory measurement.
Mass Concentration to Molar Concentration Converter