Concentration Calculator: How to Calculate Molarity (With Examples)

By Tooladex Team
Concentration Calculator: How to Calculate Molarity (With Examples)

Whether you’re preparing a 1 M NaCl stock for a biology lab, converting between mg and moles for a buffer recipe, or checking homework in general chemistry, concentration — usually molarity — is the number you need first.

The core formula is simple: C = n / V. But in real work you often start from mass and molar mass instead of moles, juggle mL vs L, and flip the equation to solve for volume or mass. That’s where unit mistakes creep in.

The Tooladex Concentration Calculator computes molarity, moles, volume, mass, and molar mass instantly. Use moles & volume or mass & molar mass, pick what to solve for, and convert between M, mM, µM, nM, L, mL, µL, and common mass units — with mass concentration (g/L) shown alongside molarity.

Here’s what concentration means, how the formulas connect, and how to use the calculator effectively.


🧪 What Is Concentration (Molarity)?

Molarity (M) is the most common way to express concentration in chemistry and the life sciences. It is defined as:

Molarity (C) = moles of solute ÷ liters of solution

So 1 M means 1 mole of solute per liter of solution (not per liter of solvent alone — always the total solution volume).

Related ideas:

  • Moles (n): amount of substance (mol, mmol, µmol)
  • Volume (V): solution volume (L, mL, µL)
  • Molar mass (M): mass per mole in g/mol (from the periodic table or a molecular weight calculator)
  • Mass concentration: mass of solute per volume, often g/L or mg/mL

Molarity is used for:

  • Stock and working solutions in labs
  • Stoichiometry in reactions
  • Buffer and media recipes
  • Titrations and analytical chemistry
  • Pharmacology (when doses are expressed per volume)

🧮 The Core Formulas

Molarity from moles and volume

C = n / V

SymbolMeaningTypical units
CMolaritymol/L (M), mM, µM
nAmount of solutemol, mmol, µmol
VVolume of solutionL, mL, µL

Example: 0.5 mol dissolved in 0.25 L → C = 0.5 / 0.25 = 2 M

Molarity from mass and molar mass

When you weigh solid solute on a balance, you usually know mass (m) and molar mass (M), not moles directly:

n = m / M
C = m / (M × V)

Example: 5.844 g NaCl (M = 58.44 g/mol) in 0.1 L:

  • n = 5.844 / 58.44 = 0.1 mol
  • C = 0.1 / 0.1 = 1 M

Rearranged forms (solve for any variable)

  • n = C × V — moles from molarity and volume
  • V = n / C — volume needed for a target molarity
  • m = C × V × M — mass to weigh for a given molarity
  • M = m / (C × V) — molar mass from a prepared solution

Mass concentration

Mass concentration = m / V (often g/L)

For a given molarity: g/L = M (mol/L) × molar mass (g/mol)


🔢 Worked Examples

Example 1: Molarity from moles

You dissolve 0.25 mol of glucose in 500 mL of solution.

  • V = 500 mL = 0.5 L
  • C = 0.25 / 0.5 = 0.5 M

Example 2: NaCl from mass (lab prep)

Prepare 1 M NaCl in 100 mL:

  • Molar mass of NaCl ≈ 58.44 g/mol
  • n needed = C × V = 1 × 0.1 = 0.1 mol
  • Mass = 0.1 × 58.44 = 5.844 g NaCl
  • Dissolve in water and make up to 100 mL total volume

Example 3: How much volume for 0.1 mol at 0.25 M?

  • V = n / C = 0.1 / 0.25 = 0.4 L (400 mL)

Example 4: µM from mmol and µL (micro-scale)

2 mmol in 4 mL:

  • n = 2 mmol = 0.002 mol
  • V = 4 mL = 0.004 L
  • C = 0.002 / 0.004 = 0.5 M = 500 mM = 500,000 µM

Always convert to base units (mol and L) before dividing, or use a calculator that handles unit prefixes for you.


⚗️ Molarity vs Mass Concentration vs Dilution

ConceptFormula / ideaWhen to use
MolarityC = n/VStoichiometry, equimolar mixing, most chemistry textbooks
Mass concentrationm/V (g/L, mg/mL)Recipes by weight, some clinical or food labels
DilutionC₁V₁ = C₂V₂Making a weaker solution from a stock

If you already have a stock solution and need a lower concentration, use the Solution Dilution Calculator (C₁V₁ = C₂V₂). The concentration calculator is for finding C, n, V, m, or M when you know the other pieces — not for pipetting from stock alone.


🛠️ How to Use the Tooladex Concentration Calculator

  1. Choose input modeMoles & volume or Mass & molar mass
  2. Select what to solve for — concentration, moles, volume, mass, or molar mass
  3. Enter known values with units (M, mM, µM, L, mL, g, mol, etc.)
  4. Read results — molarity, moles, volume, mass concentration (g/L), and more update automatically
  5. Optional: use a preset (e.g. 1 M NaCl, glucose 0.1 M) to load typical values

The calculator keeps volume in the denominator (solution volume, not solvent-only) and converts prefixes so you don’t have to manually scale mmol → mol or mL → L.


⚠️ Common Mistakes

  1. Using solvent volume instead of final solution volume — “dissolve in 100 mL water” usually means make up to 100 mL total.
  2. Forgetting to convert mL to L — dividing moles by 100 instead of 0.1 L gives a result 1000× too small.
  3. Mixing mass/volume % with molarity — converting between them requires molar mass.
  4. Confusing molar mass symbol M with molarity M — in formulas here: M = molar mass (g/mol), C = molarity (mol/L).
  5. Significant figures — your result is only as precise as your least certain input (balance, volumetric flask, etc.).

❓ Frequently Asked Questions

What is the difference between molarity and molality?

Molarity is moles per liter of solution. Molality is moles per kilogram of solvent. Molarity changes slightly with temperature (volume expands); molality does not. Most lab bench work uses molarity.

Can I use mM or µM in the formula?

Yes. Keep n and C in the same mole family and V in liters (or convert everything to base units). The calculator accepts M, mM, µM, and nM directly.

How do I convert mg to molarity?

Divide mass by molar mass to get moles: n = m / M. Then C = n / V. Example: 180 mg glucose (MW 180 g/mol) in 1 L → 0.18 g → 0.001 mol → 0.001 M (1 mM).

What is mass concentration (g/L)?

Mass concentration is grams of solute per liter of solution. For a single solute: g/L = C (mol/L) × molar mass (g/mol).

Is this the same as normality?

No. Normality accounts for equivalents per liter (e.g. H⁺ or electrons transferred). For simple solutions of non-ionizing solutes, normality equals molarity; for acids/bases and redox species, they differ.


🎓 Conclusion

Concentration calculations boil down to a few relationships: C = n/V, n = m/M, and careful unit conversion. Whether you’re weighing solid NaCl, pipetting a stock, or checking a exam problem, getting moles and liters aligned is what matters.

With the Tooladex Concentration Calculator, you can:

  • Solve for concentration, moles, volume, mass, or molar mass
  • Work from moles or mass + molar mass
  • Use M, mM, µM, L, mL, g, mg, and more without manual conversion
  • See mass concentration (g/L) alongside molarity

Pair it with our Molecular Weight Calculator for molar mass and our Solution Dilution Calculator when you’re diluting from stock.

Try it now: enter your values and get the answer instantly.

Concentration Calculator

Calculate molarity from moles and volume or from mass and molar mass. Solve for concentration, moles, volume, mass, or molar mass with M, mM, µM, L, mL, and more.

Try Tool Now