Molarity Calculator

This free molarity calculator finds the concentration of any solution instantly — enter the solute mass, molar mass and solution volume, and get moles plus molarity in mol/L. No signup needed.

Moles of solute
–
Molarity
–
Formula used
M = n ÷ V
Molarity calculator formula: molarity (M) equals moles of solute divided by liters of solution

How to Use the Molarity Calculator

  1. Find the moles of solute. Divide the solute mass in grams by its molar mass in g/mol: n = mass ÷ molar mass.
  2. Measure the solution volume in liters. If you have milliliters, divide by 1,000 first (500 mL = 0.5 L).
  3. Divide moles by volume. M = n ÷ V gives molarity in mol/L (M).
  4. Check your answer. A 1 M solution has 1 mole per liter — use that as a sanity check for your result.

New to solution chemistry? Read the molarity article on Wikipedia for the full background.

Shortcut: making a 1 M solution? Just dissolve one molar mass worth of grams (e.g. 58.44 g NaCl) and bring the total volume to exactly 1 liter.

Worked Example: 1 M NaCl Solution

Sodium chloride (table salt) has a molar mass of 58.44 g/mol. To make 1 liter of 1 M solution:

StepCalculationResult
Moles neededM × V = 1 × 11 mol
Mass neededn × molar mass = 1 × 58.4458.44 g
Volumebring to1.000 L
Molarityn ÷ V = 1 ÷ 11.000 M

So dissolve 58.44 g of NaCl in water and add water until the total solution volume is exactly 1 liter — that is a 1 M solution.

Quick Reference: Molar Masses of Common Substances

SubstanceFormulaMolar mass (g/mol)
Table saltNaCl58.44
WaterH₂O18.02
GlucoseC₆H₁₂O₆180.16
Sucrose (sugar)C₁₂H₂₂O₁₁342.30
Sodium hydroxideNaOH40.00
Hydrochloric acidHCl36.46
Sulfuric acidH₂SO₄98.08
Calcium carbonateCaCO₃100.09

Frequently Asked Questions

What is molarity?
Molarity is the concentration of a solution: moles of solute per liter of solution (mol/L, written M). A 1 M NaCl solution has 1 mole of NaCl in every liter.

How do you calculate molarity?
Use M = n ÷ V: divide moles of solute by liters of solution. From mass: moles = mass (g) ÷ molar mass (g/mol), then divide by volume. The calculator above does both steps.

What is the difference between molarity and molality?
Molarity (M) is moles per liter of solution; molality (m) is moles per kilogram of solvent. Molarity shifts slightly with temperature (volume expands); molality does not.

How do I make a 1 M solution of NaCl?
Dissolve 58.44 g of NaCl (its molar mass) in water and bring the total solution volume to exactly 1 liter.

What units are used for molarity?
Moles per liter (mol/L), abbreviated M. So 0.5 M = 0.5 moles of solute per liter of solution.