Chemistry & Materials Science

Molarity Calculator

Calculate the molarity of a solution from mass and volume.

g
g/mol
L
Moles of Solute
1
Molarity1 M (mol/L)

Calculated locally in your browser. Fast, secure, and private.

Concentration and Molarity

When chemists mix solutions, they rarely care about the absolute volume of the liquid as much as they care about the concentration—how densely packed the reactive molecules are within that liquid.

Molarity (denoted by a capital MM) is the most universally standard unit of concentration in chemistry. It measures exactly how many moles of a dissolved substance (the solute) are present in every single liter of the total liquid mixture (the solution).

A "1 Molar" (1M1 \text{M}) solution contains exactly 1 mole of solute per liter of solution. A "0.5 Molar" (0.5M0.5 \text{M}) solution contains exactly half a mole of solute per liter.

Why Molarity is Essential

Molarity is crucial for stoichiometry because it allows chemists to measure out precise numbers of molecules using a simple liquid measuring cylinder, rather than having to dry out a powder and weigh it on a scale. If you know you need 0.1moles0.1 \, \text{moles} of Hydrochloric Acid for a reaction, and you have a 2M2 \text{M} stock solution, you know instantly that you need exactly 50mL50 \, \text{mL} of the liquid.

How to Calculate Molarity

To calculate Molarity, you need two pieces of information:

  1. The number of moles of your solute. (If you only know the mass in grams, you must first divide it by the solute's Molar Mass).
  2. The total volume of the resulting solution, measured strictly in Liters.

The Formula

M=nVn=mMM\begin{aligned} M = \frac{n}{V} \\[1ex] n = \frac{m}{MM} \end{aligned}

Where:
M=
Molarity (mol/L)
n=
Number of moles of solute
V=
Total volume of solution (Liters)
m=
Mass of solute (grams)
MM=
Molar Mass of solute (g/mol)

Example Calculation

Let's say you dissolve 58.44grams58.44 \, \text{grams} of table salt (NaCl) into enough water to make exactly 2.0Liters2.0 \, \text{Liters} of total solution. What is the molarity?

  1. Find the Molar Mass of NaCl: (Na = 22.99, Cl = 35.45) = 58.44g/mol58.44 \, \text{g/mol}.
  2. Convert grams to moles: 58.44g/58.44g/mol=1.0moles of NaCl58.44 \, \text{g} / 58.44 \, \text{g/mol} = 1.0 \, \text{moles of NaCl}.
  3. Divide by Volume: 1.0moles/2.0Liters=0.5M1.0 \, \text{moles} / 2.0 \, \text{Liters} = \mathbf{0.5 \, \text{M}}.

The resulting salt water is a 0.5M0.5 \text{M} solution.

Frequently Asked Questions

Yes! Because liquids expand as they heat up, the total volume of the solution will increase at higher temperatures. Since the number of moles remains the same but the volume increases, the Molarity actually decreases slightly as temperature rises.

No. Molarity (MM) is moles of solute divided by the volume of the total solution (in Liters). Molality (mm) is moles of solute divided by the mass of the pure solvent (in Kilograms). Molality is preferred in thermodynamics because, unlike Molarity, it does not change with temperature.

Molarity is strictly defined as moles per Liter. If you measure your solution in milliliters (mL), you must divide by 1,000 to convert to Liters before running the calculation, or your Molarity will be off by a factor of a thousand.

A stock solution is a highly concentrated solution kept in the lab (e.g., 12M HCl). It takes up less shelf space. When a chemist needs a weaker concentration, they dilute a small amount of the stock solution with water.

No. You cannot have a negative amount of molecules (moles) or a negative volume of liquid, so Molarity must always be a positive number.