molecular weight to molarity calculator

Enter the molar mass of your compound.

How to use this molecular weight to molarity calculator

This tool helps you convert between molecular weight and solution concentration in a practical lab context. In most workflows, you know your compound’s molecular weight and either:

  • the mass and final volume of solution,
  • the concentration in g/L, or
  • the target molarity you want to prepare.

Choose the mode that matches your task, enter the values, and click Calculate. The calculator returns molarity (or required mass) along with intermediate values so you can verify every step.

Core formulas

1) From mass and volume:
Molarity (M) = (mass in g ÷ molecular weight in g/mol) ÷ volume in L

2) From concentration in g/L:
Molarity (M) = (concentration in g/L) ÷ molecular weight (g/mol)

3) Required mass for target molarity:
Mass (g) = molarity (mol/L) × volume (L) × molecular weight (g/mol)

Why molecular weight matters

Molecular weight (molar mass) connects grams to moles. Since molarity is defined as moles per liter, the molecular weight is the bridge between what you weigh on a balance and the final chemical concentration in solution.

If molecular weight is wrong, every downstream concentration is wrong. That can affect:

  • buffer preparation and pH-sensitive experiments,
  • enzyme kinetics and reaction rates,
  • cell culture dosing and toxicity studies,
  • analytical standards and calibration curves.

Step-by-step example

Example: NaCl solution

Suppose you dissolve 5.00 g of sodium chloride (NaCl, MW = 58.44 g/mol) and make up to 250 mL final volume.

  • Moles NaCl = 5.00 ÷ 58.44 = 0.08556 mol
  • Volume = 250 mL = 0.250 L
  • Molarity = 0.08556 ÷ 0.250 = 0.342 mol/L

Final concentration: 0.342 M

Common mistakes to avoid

  • Using mL instead of L without conversion (1000 mL = 1 L).
  • Confusing molecular weight and formula unit mass from the wrong hydrate or salt form.
  • Ignoring purity for non-analytical-grade reagents.
  • Mixing up stock and final concentration during dilution planning.

Quick unit tips

Volume conversions

  • 1 L = 1000 mL
  • 500 mL = 0.500 L
  • 100 mL = 0.100 L

Concentration relationship

If you have concentration in g/L and molecular weight in g/mol, dividing the two directly gives mol/L. This is often the fastest path when working from manufacturer concentration labels.

When to use this calculator

This molecular weight to molarity calculator is useful for:

  • preparing lab stocks,
  • making working solutions from dry powders,
  • checking protocol calculations before experiments,
  • teaching chemistry, biochemistry, and molecular biology fundamentals.

Final note

Always confirm whether your protocol expects concentration based on the free base, salt, or hydrate form of a compound. The correct molecular weight is essential for accurate molarity.

🔗 Related Calculators