Molarity Calculator

Calculate molarity from mass and volume, find the mass you need to make a solution, or solve a dilution with C1V1 = C2V2.

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

  1. Choose the calculation you need.
  2. Enter the molar mass, mass, volume and concentrations that apply.
  3. 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

CompoundFormulaMolar mass (g/mol)
Sodium chlorideNaCl58.44
GlucoseC6H12O6180.16
Sodium hydroxideNaOH40.00
Hydrochloric acidHCl36.46
Sulfuric acidH2SO498.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.

Related free tools

Scientific calculator Percentage calculator Ratio calculator Scientific notation Standard deviation Unit converter