What happens when you dissolve exactly one mole of salt in exactly two liters of water? You get a solution with a precise, measurable concentration, and chemists have a simple name and formula for it: molarity. Once you understand the formula, you can find the molarity of almost any solution using just two numbers, the moles of solute and the liters of solution.
Molarity measures how concentrated a solution is, in moles of solute per liter of solution, written as M. The formula is Molarity = moles of solute / liters of solution. To calculate it, weigh your solute, convert grams to moles using molar mass, dissolve it, then divide moles by the final solution volume in liters.
What Is Molarity?
Molarity is one of the most common ways chemists measure the concentration of a solution. It tells you how many moles of a dissolved substance, called the solute, are packed into each liter of the finished solution.
Chemists write molarity with a capital M, so a solution might be labeled “1 M” or “0.5 M.” The higher that number, the more concentrated the solution is.
This matters because chemical reactions depend on how many particles are actually present, not just how much mass you poured in. Molarity turns a particle count into something you can measure with a simple container and a scale.
The Molarity Formula Explained
The formula for molarity is short and easy to remember:
Molarity (M) = moles of solute / liters of solution
“Moles of solute” is the amount of the dissolved substance, measured in the chemistry unit called the mole. “Liters of solution” is the total volume of the finished mixture, solute and solvent combined, not just the water you started with.
Divide the top number by the bottom number, and the result is your molarity in mol/L, which chemists simply call “M.” If you already know any two of the three values, moles, liters, or molarity, you can rearrange the formula to solve for the one you are missing.
Converting Grams to Moles
Most real measurements start with a scale, not a mole count. You weigh out the solute in grams, then convert that mass to moles before you can use the molarity formula.
The conversion uses molar mass, which is the weight of one mole of a substance, given in grams per mole. Divide the grams you weighed by the substance’s molar mass, and the result is moles.
moles = grams of solute / molar mass (g/mol)
- Molar mass comes from the periodic table, added up for every atom in the chemical formula.
- Table salt, NaCl, has a molar mass of about 58.5 g/mol.
- Water, H2O, has a molar mass of about 18 g/mol.
This article focuses on molarity itself, so it will not re-teach mole counting in depth. For a full walkthrough of what a mole represents and why Avogadro’s number matters, see our sibling guide on Moles and Avogadro’s Number Explained.
Step-by-Step: How to Calculate Molarity
Once you have your grams-to-moles conversion in hand, calculating molarity follows a clear, repeatable process. Here is the order lab workers actually follow.
- Weigh the solute on a scale to find its mass in grams.
- Convert that mass to moles using the solute’s molar mass.
- Dissolve the solute in a portion of solvent, usually water.
- Add more solvent until the mixture reaches its final target volume.
- Divide moles of solute by liters of solution to get molarity.
Step four matters more than it looks. You measure the final volume of the whole solution after dissolving, not just the water you started with, because dissolved solute adds a small amount of volume too.
Worked Example: Dissolving a Whole Mole
Suppose you dissolve exactly 1 mole of table salt, NaCl, in enough water to make 2 liters of solution. Apply the formula directly.
Molarity = moles / liters = 1 mol / 2 L = 0.5 M.
This solution is 0.5 M sodium chloride. Every single liter of it contains half a mole of dissolved salt.
Worked Example: Starting From Grams
Now suppose you start with 58.5 grams of NaCl instead of a mole count. Sodium chloride has a molar mass of about 58.5 g/mol.
moles = grams / molar mass = 58.5 g / 58.5 g/mol = 1 mol.
Dissolve that 1 mole of NaCl in enough water to make 0.5 L of solution. Molarity = 1 mol / 0.5 L = 2 M.
Notice that the smaller final volume produced a solution four times more concentrated, even though both examples used exactly 1 mole of salt. Volume, not just the amount of solute, drives the concentration.
Molarity Is Per Liter of Solution, Not Solvent
One of the most common errors is dividing by the volume of solvent you started with instead of the final solution volume. The two numbers are not the same.
When you dissolve a solid into a liquid, the solid takes up some space too. So if you add solute to 2 liters of water, the finished solution might measure slightly more than 2 liters.
| Term | What It Means | Use in Formula? |
|---|---|---|
| Solvent volume | The liquid you started pouring, before adding solute | No, do not use this |
| Solution volume | The total finished mixture, measured after dissolving | Yes, this is correct |
The fix is simple: always dissolve your solute first, then add solvent up to the final mark on your container. Measure the total volume at that point, and use that number in the formula.
Dilute vs Concentrated Solutions
Two solutions can hold the same total volume yet have very different molarities. The difference comes down to how much solute is packed into that volume.
A dilute solution has relatively few solute particles spread through its volume, giving it a lower molarity. A concentrated solution packs many more particles into the same size container, giving it a higher molarity.
Our two worked examples above show this clearly: the same 1 mole of NaCl gave a 0.5 M solution in 2 liters, but a 2 M solution in just 0.5 liters. Smaller volume, same solute, much higher concentration.
Common Mistakes When Calculating Molarity
Most molarity errors come from a handful of repeat mistakes. Check your work against this list before you trust a result.
- Using the starting solvent volume instead of the final solution volume.
- Forgetting to convert grams to moles before dividing by volume.
- Mixing up milliliters and liters (divide mL by 1000 to get L).
- Rounding molar mass too early, which throws off the final answer.
- Confusing molarity, moles per liter of solution, with molality, moles per kilogram of solvent.
Slowing down at each step, and double-checking units, catches almost all of these before they become a wrong answer.
Molarity vs Related Chemistry Ideas
Molarity connects to several other chemistry topics, but each one deserves its own full explanation rather than a quick add-on here.
If you want to shrink a solution’s molarity by adding more solvent, that process is called dilution, and it follows its own formula. See our guide on How to Do Dilution Calculations for the full method.
Molarity also underlies pH calculations for acids and bases, and it plays a role in gas-phase chemistry through the ideal gas law, but both of those topics go far beyond simple concentration math and are covered in their own guides.
Ready to skip the manual math? Plug in your grams, molar mass, and solution volume into our Molarity Calculator and get an instant, accurate molarity result.
Frequently Asked Questions About Molarity
What Is the Formula for Molarity?
Molarity equals moles of solute divided by liters of solution, written as M = mol / L. You need two numbers: how many moles of the dissolved substance you have, and the total final volume of the solution.
What Units Does Molarity Use?
Molarity is expressed in moles per liter, abbreviated mol/L or simply M. A solution labeled “1 M” contains one mole of solute in every liter of the finished solution.
How Do I Convert Grams to Moles for Molarity?
Divide the mass of your solute in grams by its molar mass in grams per mole. The molar mass comes from adding up the atomic weights in the chemical formula, using values from the periodic table.
Does Molarity Use the Volume of Solvent or Solution?
Molarity always uses the final volume of the whole solution, not just the solvent you started with. Dissolve the solute first, then add solvent up to the target mark, and measure the total volume at that point.
What Is the Molarity of 1 Mole of NaCl in 2 Liters of Water?
Using the formula, molarity equals 1 mol divided by 2 L, which equals 0.5 M. This means every liter of that solution contains half a mole of dissolved sodium chloride.
Why Do Two Solutions With the Same Solute Have Different Molarities?
Molarity depends on both the amount of solute and the final volume. The same 1 mole of solute gives a lower molarity in a larger volume and a higher molarity in a smaller volume, since concentration is amount divided by space.
Is Molarity the Same as Molality?
No. Molarity divides moles of solute by liters of solution, while molality divides moles of solute by kilograms of solvent. They use different denominators, so the two values are usually not equal for the same mixture.
Sources
Authoritative Sources Used in This Article
This article is for general education only. Formulas and examples use standard chemistry conventions and ideal conditions, so real-world lab results can vary with technique, purity, and equipment. Reviewed for accuracy by Prof. Dr. Khalil Mudassar, PhD. Last updated September 13, 2026.
Author
Shakeel Muzaffar is the Founder and Editor-in-Chief of MultiCalculators.com, bringing over 15 years of experience in digital publishing, product strategy, and online tool development. He leads the platform's editorial vision, ensuring every calculator meets strict standards for accuracy, usability, and real-world value. Shakeel personally oversees content quality, formula verification workflows, and the platform's commitment to publishing tools that are genuinely useful for students, professionals, and everyday users worldwide.





1 thought on “How to Calculate Molarity”