Molarity Calculator

Calculate molarity (M) from moles of solute and liters of solution.

How It Works

Enter the moles of solute and the volume of solution in liters (or milliliters). The calculator divides moles by volume to give molarity in mol/L. You can also solve for moles or volume if molarity is known.

Formula

Molarity (M) = moles of solute / liters of solution

Examples

0.5 mol NaCl in 1 L = 0.5 M | 2 mol HCl in 500 mL = 4 M

Frequently Asked Questions

What is molarity?

Molarity (M) is the concentration of a solution expressed as moles of solute per liter of solution. It is the most common unit of concentration in chemistry.

How do I calculate molarity from grams?

First convert grams to moles by dividing by molar mass, then divide by the volume in liters. Example: 58.44 g NaCl in 1 L: 58.44/58.443 = 1 mol; 1 mol/1 L = 1 M.

What is the difference between molarity and molality?

Molarity (M) uses volume of solution (mol/L). Molality (m) uses mass of solvent (mol/kg). Molality does not change with temperature; molarity does.