Skip to content

Molarity Calculator

Work out the molarity of a solution, or the mass or volume you need to reach a target molarity. The molarity calculator uses moles per litre and the molar mass of the solute.

Add up the atomic masses in the formula. Table salt (NaCl) is 58.44 g/mol.

Volume unit

Molarity

1 M

Molarity = moles ÷ litres: 5.844 g ÷ 58.44 g/mol = 0.1 mol in 0.1 L.

Molarity
1 M
Moles of solute
0.1 mol
Mass of solute
5.844 g
Volume of solution
100 mL

This tool does the arithmetic only. Check the chemical safety data and your lab procedure before you prepare any solution.

How to use this calculator

  1. 1 Choose what to solve for: molarity, the mass needed, or the volume needed.
  2. 2 Enter the molar mass of the solute. Add up the atomic masses in its formula, or use a known value such as 58.44 g/mol for table salt.
  3. 3 Enter the known values, such as the mass and the volume, or the target molarity.
  4. 4 Read the answer, with the moles of solute and the other values listed below it.

What is molarity?

Molarity is the number of moles of a substance dissolved in one litre of solution. It is written M, and a 1 M solution contains one mole per litre. It is one of the most common ways chemists express concentration.

A mole is a fixed number of particles, about 6.022 × 10²³. You do not need that number to use this calculator, because the molar mass links grams to moles.

How molarity is calculated

First, convert the mass of solute to moles by dividing by the molar mass. Then divide the moles by the volume of the solution in litres. The result is molarity.

The volume must be the volume of the finished solution, not just the solvent you added. Dissolving a solid can change the total volume a little, so most people measure the final volume in a volumetric flask.

Finding molar mass

Molar mass is the mass of one mole of a substance, in grams per mole. For a compound, add up the atomic masses of every atom in the formula. Sodium chloride, NaCl, is about 58.44 g/mol because sodium is about 22.99 and chlorine is about 35.45.

If you are unsure of the formula, the molecular weight calculator works out the molar mass for you.

Tips for making a solution

Weigh the solid on a balance, dissolve it in part of the solvent, then top up to the final volume. This order gives a more accurate concentration than adding all the solvent first.

Use the density calculator if you need to convert a liquid from mass to volume. For very small or very large numbers, the scientific notation calculator keeps the figures tidy.

  • Use the grade of chemical the method calls for, such as analytical grade.
  • Check the formula weight on the bottle label, especially for hydrates.
  • Write down the date, the concentration and the solvent on every container.
  • Round only at the end of a calculation.

Chemical safety

Many chemicals are harmful to skin, eyes and lungs. Read the safety data sheet before you handle any substance, and wear eye protection and gloves. Work in a ventilated area, and never taste or smell a chemical to identify it.

When you dilute a concentrated acid, always add the acid slowly to water, never water to acid. Adding water to acid can cause the liquid to spatter and burn you. Dispose of chemicals according to local rules, not down the drain unless the label allows it.

The formula

Molarity

M = moles ÷ litres moles = mass (g) ÷ molar mass (g/mol)

M
molarity, in moles per litre
litres
the volume of the finished solution, in litres

Mass for a target molarity

mass (g) = M × litres × molar mass (g/mol)

M × litres
the number of moles you need

Volume for a target molarity

litres = moles ÷ M

moles
mass divided by molar mass

Worked example

Making 100 mL of 0.5 M sodium chloride

  1. 1.Convert the volume: 100 mL is 0.1 litres
  2. 2.Moles needed: 0.5 × 0.1 = 0.05 mol
  3. 3.Mass: 0.05 × 58.44 = 2.922 g

Dissolve 2.922 g of NaCl, then top up to 100 mL of final solution.

Frequently asked questions

What is the molarity of a solution?

It is the moles of solute dissolved per litre of solution. For example, 1 mole of salt in 1 litre of water gives a 1 M solution. Divide the mass by the molar mass, then by the litres.

What is the difference between molarity and molality?

Molarity uses the volume of the solution, while molality uses the mass of the solvent. Molarity changes slightly with temperature because liquid volume does, so molality is used when precision matters.

Where do I find the molar mass?

Add up the atomic masses in the formula, or look it up in a trusted reference such as the NIST Chemistry WebBook or the IUPAC atomic weight tables.

Can I use this calculator for a mixture of salts?

Work out each solute separately. Add the moles and volumes as needed, but check the method first, because some mixtures change the volume or react with each other.

Sources

Last reviewed by the GridCalculators team.