Molarity Calculator

Use the molarity calculator to find concentration from moles or grams, or work backward to find the solute mass, amount, or final solution volume. See the unit conversions and arithmetic behind your answer.

M = n ÷ V

Divide moles of solute by liters of solution.

Set up your calculation

Numbers can use decimals or scientific notation, such as 2.5e-3.

Molarity

—

Enter the known values to calculate the result.

How to calculate molarity

Molarity is the amount of a dissolved substance per liter of the finished solution. In M = n ÷ V, n is the amount of solute in moles and V is the final volume in liters. The symbol M stands for mol/L.

Find molarity from grams

Suppose 5.844 g of sodium chloride is present in 500 mL of solution. Its molar mass is about 58.44 g/mol, so 5.844 ÷ 58.44 gives 0.10 mol. The volume is 0.50 L. Dividing 0.10 mol by 0.50 L gives 0.20 mol/L.

Find grams from a target molarity

For 250 mL of a 50 mM sodium chloride solution, convert the inputs to 0.250 L and 0.050 mol/L. Multiply to get 0.0125 mol, then multiply by 58.44 g/mol to get 0.7305 g of sodium chloride.

See more worked examples in OpenStax Chemistry 2e and the sodium chloride molar mass in PubChem.

Molarity Calculator example showing that 0.10 moles in 0.50 liters of solution gives a concentration of 0.20 moles per liter.

Estimate a peptide’s molar mass from its sequence with the Peptide Calculator. If you need to find a container’s capacity from its dimensions, use the Volume Calculator. Enter the final solution volume when calculating molarity.

Molarity calculator FAQs

How do I calculate molarity from moles and milliliters?

Divide the volume in milliliters by 1,000 to get liters. Then divide the number of moles by the volume in liters. For example, 0.15 mol in 750 mL gives 0.15 ÷ 0.75 = 0.20 M.

How do I calculate molarity from grams?

Divide the mass in grams by the solute’s molar mass in g/mol. That gives you moles. Divide the moles by the final solution volume in liters. Choose Mass under Solute given as to do both steps in the tool.

Can the molarity calculator find mass or volume?

Yes. For solute mass, multiply molarity by the solution volume in liters and then by the molar mass. For solution volume, divide the number of moles by the molarity. Choose the quantity you want under Find.

Should I use the solvent volume or the final solution volume?

Use the final volume after the solute is dissolved. If a problem says the finished solution is 250 mL, enter 250 mL. The volume of the solvent you started with can differ from the final solution volume.

What is the difference between M, mM, and µM?

M stands for moles per liter, mM stands for millimoles per liter, and µM stands for micromoles per liter. One M equals 1,000 mM or 1,000,000 µM.

What molar mass should I use for a hydrate?

Use the molar mass for the exact chemical formula of the material described in the problem. For a hydrate, include the water molecules shown in its formula. The anhydrous form has a different molar mass.

Is molarity the same as molality?

Molarity is moles of solute per liter of solution. Molality is moles of solute per kilogram of solvent. The two values use different denominators, so choose the one specified in your problem.