Molarity Calculator

Fill in the fields and press Calculate to see the result.

About the Molarity Calculator

Calculate how many grams of a substance you need to prepare a solution of a given molarity – or the molarity of a solution from the mass you weighed, or the volume you can prepare. Choose what to calculate and enter the other values with their units: molar mass, molarity, volume and mass.

How it is calculated

m = c × V × M

Molarity c is the amount of substance in moles per liter of solution, and the amount is the mass divided by the molar mass (n = m / M). So the mass to weigh is m = c × V × M, the molarity is c = m / (M × V) and the volume is V = m / (M × c).

The calculator converts the units for you: mM, µM and nM are thousandths, millionths and billionths of a mole per liter, and mL and µL are thousandths and millionths of a liter.

Example

To prepare 500 mL of a 0.1 M sodium chloride solution (M = 58.44 g/mol): m = 0.1 mol/L × 0.5 L × 58.44 g/mol = 2.922 g. Weigh 2.922 g of NaCl, dissolve it in less water and make up to 500 mL in a volumetric flask.

Frequently asked questions

What is the difference between molarity and molality?

Molarity is moles per liter of solution (mol/L or M); molality is moles per kilogram of solvent (mol/kg). For dilute aqueous solutions at room temperature they are almost the same.

How do I convert mg/mL to molarity?

mg/mL is the same as g/L: divide it by the molar mass in g/mol. For example, 5.844 mg/mL of NaCl is 5.844 g/L ÷ 58.44 g/mol = 0.1 M.

Where do I find the molar mass?

On the reagent label or its safety data sheet (often as MW or FW), or by adding up the atomic masses of the formula. For hydrated salts use the molar mass of the hydrate, for example 147.01 g/mol for CaCl₂·2H₂O.

More Lab Calculators