Chemistry

Molarity Calculator

Calculate molar concentration (molarity) from mass or moles and solution volume.

Mode
g
g/mol
L

Molarity

1.00 mol/L

1.0000 mol in 1 L

Moles1.0000
Volume1.00 L
Mass58.44 g
Molarity1.00 M

Molarity (M) is moles of solute per litre of solution. Formula: M = moles ÷ volume (L). To find moles from mass, divide mass (g) by molar mass (g/mol).

What is the Molarity Calculator?

Molarity (M) is a measure of solution concentration defined as the number of moles of solute per litre of solution. It's one of the most common ways to express concentration in chemistry because it directly relates to the number of particles and allows chemists to predict reaction outcomes based on stoichiometry. A 1 M solution contains 1 mole of solute in enough solvent to make 1 litre of total solution.

How it works

The calculator uses two approaches. From mass: it divides the mass of solute (in grams) by its molar mass to find moles, then divides moles by solution volume. From moles: it directly divides the number of moles by solution volume in litres. Both give molarity in mol/L.

M = moles ÷ volume (L) OR M = (mass in g ÷ molar mass in g/mol) ÷ volume (L)

Molarity divides the amount of solute (as moles) by the total volume of the solution in litres. To convert from mass to moles, divide the mass of your solute by its molar mass (the mass of one mole). The solution volume must include both the solute and solvent (i.e., the final volume after dissolution).

Examples

InputResultNotes
Dissolve 58.44 g of NaCl (molar mass 58.44 g/mol) in water to make 1 L of solutionMolarity = 1 MThis is a standard 1 M salt solution, commonly used in labs
2 moles of glucose in 500 mL of waterMolarity = 4 M (2 mol ÷ 0.5 L)A 4 M glucose solution; concentrated enough for enzyme assays
10 g of CaCl₂ (molar mass 110.98 g/mol) in 200 mL of solutionMolarity ≈ 0.45 M (0.09 mol ÷ 0.2 L)Useful for calcium supplementation or electrolyte solutions

How to use the Molarity Calculator

  1. Choose your starting point: 'From Mass' if you know grams of solute, or 'From Moles' if you already have moles
  2. If from mass: enter the mass of your solute in grams and its molar mass (g/mol); look up molar mass in a periodic table or chemical supplier
  3. If from moles: enter the number of moles directly (you may calculate this from mass separately)
  4. Enter the total volume of your final solution in litres (measure this in a volumetric flask, not a beaker—precision matters)
  5. The calculator shows molarity in mol/L and displays moles, volume, and mass (if applicable) in the stats panel
  6. Use this value to scale recipes for laboratory or industrial solutions

Benefits

  • Essential for chemistry labs—nearly all lab protocols specify reagent concentrations in molarity (e.g. '0.1 M HCl')
  • Enables stoichiometry—knowing molarity lets you calculate exactly how much solute you need for a reaction or how much product you'll make
  • Bridges mass and particles—converts between grams (what you measure) and moles (what reactions care about)
  • Instant calculation—no manual conversion tables or complex arithmetic needed
  • Works for any solute—acids, bases, salts, sugars, proteins, anything with a known molar mass
  • Prevents waste and errors—accurate concentration prep saves time and expensive reagents

Tips & common mistakes

Common mistakes

  • Confusing volume of solvent with volume of solution—you must measure the final volume after the solute is fully dissolved, not the volume of water you started with
  • Using grams per 100 mL instead of litres—molarity is always per litre; convert mL to L by dividing by 1000
  • Forgetting molar mass—you can't find moles without it; check the periodic table or chemical data sheet for exact values
  • Rounding molar mass too early—use full precision (e.g. NaCl = 58.44, not 58) to avoid cumulative errors in reactions

Tips

  • Use a volumetric flask to measure final solution volume; graduated cylinders introduce error that compounds in precise lab work
  • Record molar masses to 2 decimal places for most work; for pharmaceutical or analytical chemistry, use 4+ decimal places
  • Double-check molar mass units—must be in g/mol to match your mass in grams
  • Prepare stock solutions at higher concentrations and dilute them (M₁V₁ = M₂V₂) for better accuracy than dissolving tiny amounts

Frequently asked questions

What's the difference between molarity and molality?

Molarity is moles per litre of solution (volume-based); molality is moles per kilogram of solvent (mass-based). Molarity is more common in labs because solutions are measured by volume. Molality is used for colligative properties (boiling point, freezing point) and when temperature changes significantly.

Why is the solution volume different from the water I added?

When you dissolve a solid, its volume contributes to the total. For example, dissolving 58.44 g of NaCl in 1 L of water gives slightly more than 1 L of solution. Precise work requires a volumetric flask to measure the final volume after complete dissolution.

How do I dilute a stock solution to a lower molarity?

Use the dilution formula M₁V₁ = M₂V₂: multiply starting molarity by starting volume, then divide by your target volume. For example, to dilute 1 M HCl to 0.1 M, use 100 mL of stock and add water to reach 1 L total.

What if I need a very dilute solution—how low can molarity go?

Theoretically, molarity can be any positive value. But in practice, solutions under 0.001 M (1 millimolar) become difficult to prepare accurately because you're dissolving tiny masses. For extreme dilutions, use stepwise serial dilutions.

Does temperature affect molarity?

Yes. As temperature increases, solutions expand slightly, lowering molarity. Most lab solutions assume 20–25 °C. For precise work (especially with concentrated acids), measure volume at the temperature you'll use the solution.

How is molarity different from normality?

Normality (N) is moles of reactive particles (equivalents) per litre; it's used for acids and bases. For HCl, 1 M = 1 N (one acidic proton). For H₂SO₄, 1 M = 2 N (two protons). Molarity is now preferred in most fields.

Related tools

FreeToolz Editorial Team · Last reviewed July 2026

Reviewed for accuracy. Results are estimates for general information and are not professional (medical, financial or legal) advice.