Molarity Calculator
Calculate molarity from mass and volume, find the mass you need to make a solution, or solve a dilution with C1V1 = C2V2.
Advertisement
About the Molarity Calculator
Molarity (M) is the number of moles of solute per liter of solution. This molarity calculator has three modes: find the molarity of a solution from the mass of solute and the volume, find the mass of solute needed for a target molarity, and solve a dilution using C1V1 = C2V2. Enter the molar mass from the periodic table or a chemical label.
How to use it
- Choose the calculation you need.
- Enter the molar mass, mass, volume and concentrations that apply.
- Press Calculate to see the answer and the formula steps.
Molarity formulas
- Molarity (M) = moles ÷ liters
- Moles = mass (g) ÷ molar mass (g/mol)
- Mass needed = molarity × volume (L) × molar mass
- Dilution: C1V1 = C2V2
Common molar masses
| Compound | Formula | Molar mass (g/mol) |
|---|---|---|
| Sodium chloride | NaCl | 58.44 |
| Glucose | C6H12O6 | 180.16 |
| Sodium hydroxide | NaOH | 40.00 |
| Hydrochloric acid | HCl | 36.46 |
| Sulfuric acid | H2SO4 | 98.08 |
Frequently asked questions
How do you calculate molarity?
Divide the moles of solute by the volume of the solution in liters. Moles equal the mass divided by the molar mass.
How do I make a 1 M solution?
Dissolve one mole of the solute, its molar mass in grams, in enough solvent to make one liter of solution.
What is C1V1 = C2V2?
The dilution equation. The amount of solute stays the same, so concentration times volume before dilution equals concentration times volume after.
Is molarity the same as molality?
No. Molarity is moles per liter of solution. Molality is moles per kilogram of solvent.
Does temperature affect molarity?
Slightly, because volume changes with temperature.
Last reviewed: November 2026.