Calculator Hero

Molarity Calculator

Calculates molarity, moles, mass, and volume for any solution — supports solving for any variable.

Last updated: June 11, 2026

Molarity Calculator

g/mol

e.g. NaCl = 58.44, H₂O = 18.02

g
Enter values above to calculate

How to Calculate Molarity

The molarity calculator on this page solves for molarity, moles of solute, mass, or solution volume. Molarity (M) is the number of moles of solute per liter of solution. The formula is:

M = n / V — where n = moles of solute and V = volume in liters.

To find moles from mass, use: n = mass (g) ÷ molar mass (g/mol). The molar mass of a compound equals the sum of atomic masses of all atoms in the formula. For NaCl: Na (22.99) + Cl (35.45) = 58.44 g/mol.

Step-by-Step Example

  1. Find the molar mass of your compound (e.g. NaCl = 58.44 g/mol)
  2. Weigh out your solute in grams (e.g. 5.844 g)
  3. Enter the solution volume in liters or mL (e.g. 0.5 L)
  4. Calculate: n = 5.844 / 58.44 = 0.10 mol; M = 0.10 / 0.5 = 0.20 M

Molarity Formula and Units

The SI unit of molarity is mol/L, also written as M (molar). Common lab concentrations:

  • 1 M — standard stock solutions (NaOH, HCl, NaCl)
  • 0.1 M — typical buffer concentrations, diluted reagents
  • 1 mM (0.001 M) — enzyme substrates, drug concentrations
  • 1 µM (0.000001 M) — hormones, trace analytes

For diluting a concentrated stock solution, use our dilution calculator — it uses the C₁V₁ = C₂V₂ equation to find the final concentration after dilution.

AdvertisementResponsive Ad

Common Molar Masses

Quick reference for frequent lab compounds:

  • NaCl — 58.44 g/mol (table salt, saline)
  • H₂O — 18.02 g/mol (water)
  • HCl — 36.46 g/mol (hydrochloric acid)
  • NaOH — 40.00 g/mol (sodium hydroxide)
  • H₂SO₄ — 98.08 g/mol (sulfuric acid)
  • Glucose (C₆H₁₂O₆) — 180.16 g/mol
  • Ethanol (C₂H₅OH) — 46.07 g/mol
  • Tris base — 121.14 g/mol (common buffer)

Molarity vs. Molality vs. Normality

These three concentration units are often confused in chemistry:

  • Molarity (M) — mol solute per liter of solution. Depends on temperature. Most common in general chemistry.
  • Molality (m) — mol solute per kilogram of solvent. Temperature-independent. Used for colligative properties.
  • Normality (N) — equivalents of solute per liter. Used in acid-base and redox reactions. N = M × equivalents per mole.

How to Prepare Solutions — Lab Tips

  • Always use a volumetric flask — it is calibrated for a specific volume at a specific temperature
  • Add solute to about 80% of the final volume of solvent, mix until dissolved, then bring to the final mark
  • For concentrated acids (H₂SO₄, HCl), always add acid to water, never the reverse
  • Label solutions with compound name, concentration, date, and preparer
  • Check if your compound is a hydrate (e.g. CuSO₄·5H₂O) — use the hydrate's molar mass
AdvertisementResponsive Ad

Solving for Volume and Mass

This calculator supports three modes beyond finding molarity:

  • Find mass — enter molarity, volume, and molar mass to find grams needed
  • Find volume — enter molarity and moles (or mass) to find the volume required

These rearrangements of M = n/V are useful for solution preparation, dilution planning, and stoichiometry problems. For DNA and RNA melting temperature, see our Tm calculator which handles oligonucleotide concentrations in the context of hybridization.

Sources & References

  1. IUPAC Compendium of Chemical Terminology — MolarityInternational Union of Pure and Applied Chemistry
  2. Analytical Chemistry: Quantitative Chemical AnalysisDaniel Harris / W.H. Freeman

Frequently Asked Questions

Related Calculators

Advertisement

320 × 50 — Mobile Anchor