Molarity Calculator

A molarity calculator finds moles of solute per liter of solution: M = (mass ÷ molar mass) ÷ volume in liters. Dissolving 5.844 g of NaCl (58.44 g/mol) gives 0.1000 mol, and making it up to 250 mL (0.2500 L) gives 0.1000 ÷ 0.2500 = 0.4000 M. Run it backward to find the grams to weigh for any target molarity.

Molarity calculator
sig figs
Type a formula such as CuSO4·5H2O or Ca(OH)2, or a molar mass in g/mol.
Try:
Molarity of NaCl
0.4000 M

5.844 g of NaCl in 250.0 mL of solution is 0.4000 M (0.1000 mol in 0.2500 L).
Molarity0.4000 M
Moles of solute0.1000 mol
Mass of solute5.844 g
Volume of solution250.0 mL
Mass concentration23.38 g/L
Molar mass58.44 g/mol
Show steps
  1. Molar mass of NaCl = 1 × 22.99 + 1 × 35.45 = 58.44 g/mol (IUPAC standard atomic weights).
  2. Moles of solute: n = mass / molar mass = 5.844 g ÷ 58.44 g/mol = 0.1000 mol.
  3. Volume in liters: 250.0 mL = 0.2500 L.
  4. Molarity: M = n / V = 0.1000 mol ÷ 0.2500 L = 0.4000 mol/L = 0.4000 M.
Molarity (M) is moles of solute per liter of solution, not per liter of solvent. Results are rounded to 4 significant figures; round your final answer to match the least precise measurement.
Molar mass of NaCl
Element Atoms Atomic weight Mass Mass %
Na 1 22.99 22.99 39.34%
Cl 1 35.45 35.45 60.66%
Total 58.44 g/mol 100%

How to use the molarity calculator

  1. Choose the solute from the compound list, or type its formula (for example CuSO4·5H2O or Ca(OH)2). You can also type a molar mass in g/mol, such as the formula weight printed on a reagent bottle.
  2. Pick what you want to find: Molarity from a mass and a volume, the Mass to weigh for a target molarity, the Volume a given mass will make, or the molarity of a stock from its % w/w and density.
  3. Enter the numbers with their units. Grams, milligrams, liters, milliliters, mM and µM are all converted for you.

The answer appears with the moles, mass, volume, mass concentration in g/L, a preparation recipe, the molar mass breakdown by element, and each step with units shown so you can follow the dimensional analysis.

Molarity formula

Molarity, also called molar concentration or amount concentration, is the amount of solute divided by the volume of the whole solution:

M = n / V, where n is moles of solute (mol) and V is the volume of solution in liters. Since n = m / Mr, where m is the mass in grams and Mr is the molar mass in g/mol:

  • Molarity: M = m / (Mr × V)
  • Mass to weigh: m = M × V × Mr
  • Volume of solution: V = m / (Mr × M)
  • From a mass percent label: M = 10 × (% w/w) × density (g/mL) / Mr

The unit M means mol/L (mol dm⁻³). One millimolar (mM) is 0.001 M and one micromolar (µM) is 0.000001 M. IUPAC calls this quantity amount concentration and writes it [B] for a substance B.

Molar mass from a chemical formula

The molar mass is the sum of the atomic weights of every atom in the formula. For glucose, C₆H₁₂O₆: 6 × 12.011 + 12 × 1.0080 + 6 × 15.999 = 180.156 g/mol. The calculator uses the IUPAC abridged standard atomic weights published by the Commission on Isotopic Abundances and Atomic Weights (CIAAW), the same values printed in most textbooks. It reads brackets, so (NH4)2SO4 counts 2 nitrogen and 8 hydrogen atoms, and a dot or · adds water of crystallization: CuSO4·5H2O is 249.677 g/mol.

Worked examples

Find the molarity

5.844 g of NaCl is dissolved and made up to 250 mL. Moles: 5.844 g ÷ 58.44 g/mol = 0.1000 mol. Volume: 250 mL = 0.2500 L. Molarity: 0.1000 mol ÷ 0.2500 L = 0.4000 M.

Find the mass to weigh

You need 500 mL of 0.5 M NaCl. Moles: 0.5 mol/L × 0.500 L = 0.250 mol. Mass: 0.250 mol × 58.44 g/mol = 14.61 g. Dissolve it in less than 500 mL of water, then fill to the 500 mL mark.

Watch the hydrate

To make 1 L of 0.1 M copper(II) sulfate from blue crystals (CuSO4·5H2O, 249.677 g/mol) you weigh 0.1 × 249.677 = 24.97 g. Using the anhydrous molar mass (CuSO4, 159.602 g/mol) would give 15.96 g, and the solution would be only about 0.064 M.

Molarity of a concentrated stock

Suppose a bottle label reads 37% (w/w) hydrochloric acid with density 1.18 g/mL. One liter weighs 1,180 g, of which 37% is HCl: 436.6 g. Divided by 36.458 g/mol, that is 11.98 M. Use the label of your own bottle, since density changes with concentration and temperature.

Molar masses of common compounds

Compound Formula Molar mass (g/mol) Grams for 1 L of 0.1 M
Sodium chloride NaCl 58.44 5.844
Potassium chloride KCl 74.548 7.455
Sodium hydroxide NaOH 39.997 4.000
Hydrochloric acid HCl 36.458 3.646
Sulfuric acid H₂SO₄ 98.072 9.807
Glucose C₆H₁₂O₆ 180.156 18.016
Sucrose C₁₂H₂₂O₁₁ 342.297 34.230
Calcium chloride CaCl₂ 110.978 11.098
Copper(II) sulfate pentahydrate CuSO₄·5H₂O 249.677 24.968
Sodium bicarbonate NaHCO₃ 84.006 8.401
Tris base C₄H₁₁NO₃ 121.136 12.114

Common mistakes with molarity

  • Dividing by the volume of solvent. Molarity uses the final volume of the solution. Adding 0.5 mol of salt to 1.000 L of water gives slightly more than 1 L of solution, so the result is a little under 0.5 M. Dissolve first, then fill to the mark.
  • Forgetting to convert mL to L. 0.1 mol in 250 mL is 0.4 M, not 0.0004 M.
  • Ignoring water of crystallization. Check whether your bottle is the hydrate or the anhydrous salt; the molar masses can differ by more than 50%.
  • Mixing up molarity and molality. Molality (m) is moles per kilogram of solvent and does not change with temperature; molarity does, because volume changes.
  • Rounding too early. Keep extra digits until the last step, then round to the significant figures of your least precise measurement.

Need a weaker solution from a stock you already have? Use C₁V₁ = C₂V₂ in the dilution calculator. To convert a mass and volume to grams per milliliter, see the density calculator.

Sources

Molarity practice quiz: 10 questions

Test yourself with 10 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.

Question 1 of 10
1. What is the molarity of 0.25 mol of solute in 0.50 L of solution?

Found a mistake? Let us know!

2. How many moles are in 11.688 g of NaCl (58.44 g/mol)?

Found a mistake? Let us know!

3. 2.0 g of NaOH (39.997 g/mol) is dissolved to make 250 mL of solution. What is the molarity (3 s.f.)?

Found a mistake? Let us know!

4. How many grams of KCl (74.548 g/mol) do you need for 500 mL of 0.20 M solution (3 s.f.)?

Found a mistake? Let us know!

5. What is the molar mass of Ca(OH)₂ using Ca 40.078, O 15.999, H 1.0080?

Found a mistake? Let us know!

6. A solution is 0.025 M. What is that in millimolar?

Found a mistake? Let us know!

7. What volume of 0.40 M solution contains 0.10 mol of solute?

Found a mistake? Let us know!

8. Why does 1 L of 0.1 M CuSO₄ need more grams of CuSO₄·5H₂O than of anhydrous CuSO₄?

Found a mistake? Let us know!

9. Which statement about molarity is correct?

Found a mistake? Let us know!

10. A stock is 98% (w/w) H₂SO₄ with density 1.84 g/mL. What is its molarity (3 s.f., M = 98.072 g/mol)?

Found a mistake? Let us know!

Frequently asked questions

How do you calculate molarity?

Convert the mass of solute to moles by dividing by its molar mass, convert the volume of solution to liters, then divide moles by liters. For 9.0 g of glucose in 0.500 L: 9.0 ÷ 180.156 = 0.0500 mol, and 0.0500 ÷ 0.500 = 0.0999 M.

How many grams do I need for a 1 M solution?

For 1 liter of a 1 M solution you need exactly the molar mass in grams: 58.44 g of NaCl or 180.16 g of glucose. For other volumes and concentrations, multiply molarity × liters × molar mass.

What is the difference between molarity and molality?

Molarity is moles per liter of solution; molality is moles per kilogram of solvent. In dilute water solutions near room temperature they are close, but molality is preferred when temperature changes, because it does not depend on volume.

Is molarity the same as molar concentration?

Yes. Molarity, molar concentration and amount concentration all mean moles of solute per liter of solution, with the unit mol/L, written M.

How do I convert mass percent to molarity?

Multiply the percent by the density in g/mL and by 10 to get grams per liter, then divide by the molar mass. 37% HCl with density 1.18 g/mL is 10 × 37 × 1.18 / 36.458 = 11.98 M.

Related calculators

Related to This Article

What people say about "Molarity Calculator: Molarity, Grams & Molar Mass"?

No one replied yet.

Leave a Reply