To convert moles (mol) to molarity (M, or mol/L), you divide the number of moles of solute by the volume of the solution in liters: Molarity (M) = moles of solute ÷ volume of solution (L). This gives the concentration in moles per liter, which is the standard unit of molarity.
Formula
The core relationship is:
Molarity (M) = n / V
Where:
- n = amount of solute in moles (mol)
- V = volume of solution in liters (L)
When you start with a mass of solute, you first convert grams to moles using the molar mass:
n = m / MM
Where:
- m = mass of solute in grams (g)
- MM = molar mass of the solute in grams per mole (g/mol)
Combining these gives the full formula used by the calculator:
M = (m / MM) / (V / 1000)
The volume is divided by 1000 to convert milliliters to liters, since molarity is defined per liter.
Worked Example
Using the default values from the calculator: you have 2.922 g of sodium chloride (NaCl), whose molar mass is 58.44 g/mol, and you dissolve it in water to a final volume of 250 mL.
Step 1: Convert mass to moles.
n = 2.922 g ÷ 58.44 g/mol = 0.05000 mol
Step 2: Convert volume to liters.
V = 250 mL ÷ 1000 = 0.250 L
Step 3: Divide moles by liters.
M = 0.05000 mol ÷ 0.250 L = 0.2000 mol/L
The calculator shows 0.2000 M, and in millimolar: 0.2000 × 1000 = 200.00 mM. This is a 0.2 M NaCl solution.
Assumptions
- The solute is pure and fully dissolves without chemical reaction with the solvent.
- The final volume is measured after dissolution, not the volume of solvent added (mixing can cause volume changes).
- The molar mass is for the anhydrous form of the compound unless otherwise specified.
- Temperature effects on volume are ignored; molarity changes slightly with temperature because liquids expand.
Why Convert Moles to Molarity?
Molarity is the most common concentration unit in chemistry because it directly relates to reaction stoichiometry. When you balance a chemical equation, the coefficients tell you the mole ratio of reactants. If you know the molarity of a solution, you can calculate exactly how many moles are in a given volume, which lets you predict how much of another reactant you need or how much product you will form.
For example, if a reaction requires 0.1 mol of HCl and you have a 2 M HCl solution, you need 0.1 mol ÷ 2 mol/L = 0.05 L (50 mL) of that solution. This conversion is used constantly in titrations, buffer preparation, and any quantitative lab work.
Common Mistakes and How to Avoid Them
The most frequent error is using the wrong volume unit. Molarity is always per liter, so if your volume is in milliliters, you must divide by 1000 before dividing the moles. A 250 mL solution is 0.25 L, not 250 L.
Another common mistake is confusing molarity with molality. Molality (m) is moles of solute per kilogram of solvent, not per liter of solution. They are numerically similar for dilute aqueous solutions but diverge significantly at higher concentrations or when using non-water solvents.
A third error involves the molar mass. Using the molar mass of a hydrated salt (like CuSO₄·5H₂O) when you actually have the anhydrous form, or vice versa, will give a wrong mole count. Always check the formula on the reagent bottle.
Finally, remember that molarity is based on the final volume of the solution, not the volume of solvent you added. If you add 250 mL of water to a solid, the final volume might be 255 mL. The correct procedure is to dissolve the solute in less solvent, then add solvent up to the 250 mL mark in a volumetric flask.
How to Read the Result
The molarity value tells you the concentration of the solute in moles per liter. A result of 0.2000 M means there are 0.2000 moles of NaCl in every liter of that solution. The millimolar output (mM) is simply the molarity multiplied by 1000, useful for biological work where concentrations are often much lower.
When you see a molarity value, you can immediately use it to calculate dilutions with the formula M₁V₁ = M₂V₂. For instance, to make 100 mL of a 0.05 M NaCl solution from your 0.2 M stock, you would need (0.05 M × 100 mL) ÷ 0.2 M = 25 mL of stock, then dilute to 100 mL.
Limits of the Formula
This simple formula assumes ideal behavior, meaning the solute dissolves completely and the solution volume is exactly additive. In reality, some solutes dissociate partially (weak acids and bases), and ionic solutions can deviate from ideal behavior at high concentrations due to ion pairing and activity effects.
The formula also assumes you know the exact molar mass. For polymers, proteins, or other macromolecules with variable molecular weights, the molar mass is an average, so the molarity is an approximation. For these cases, concentration is often expressed in mass per volume (like mg/mL) or in units like units/mL for enzymes.
Temperature affects the volume of the solution, so molarity changes with temperature. If you prepare a solution at 20 °C and use it at 30 °C, the concentration will be slightly lower because the solution expanded. For high-precision work, you would use molality instead, which is temperature-independent.
Frequently Asked Questions
Is 1 M the same as 1 mol/L?
Yes, they are identical. Molarity (M) is defined as moles per liter, so 1 M = 1 mol/L. The unit M is shorthand for mol/L and is used interchangeably in most contexts.
How do I convert from molarity back to moles?
Multiply the molarity by the volume in liters. For example, 0.5 L of a 2 M solution contains 0.5 × 2 = 1.0 mol of solute. This is the reverse of the conversion on this page.
What is the difference between molarity and molality?
Molarity is moles of solute per liter of solution, while molality is moles of solute per kilogram of solvent. Molarity depends on temperature because volume changes, but molality does not because mass is constant. For dilute aqueous solutions, the two are numerically close since 1 L of water weighs about 1 kg.
Why do I need the molar mass to convert grams to moles?
The molar mass is the conversion factor between the macroscopic mass you can weigh and the microscopic number of particles. One mole of any substance contains 6.022 × 1023 particles, and its mass in grams equals the molar mass. Without it, you cannot know how many moles are in a given mass.
Can I use this for any solute?
Yes, as long as you know the molar mass and the solute dissolves. The formula works for salts, acids, bases, sugars, and most molecular compounds. For substances that react with the solvent, like sodium metal in water, the calculation is not meaningful because the solute is consumed.
What if my volume is in liters already?
Then you skip the division by 1000. Simply divide the moles by the volume in liters directly. The calculator here accepts milliliters for convenience, but the underlying math is the same.
Related
Formula used
in m | Mass of solute | g | 2.922 | 0 in mm | Molar mass | g/mol | 58.44 | 0.001 in v | Final solution volume | mL | 250 | 0.001 out c | Molarity | mol/L | m / mm / (v / 1000) | 4 out cmm | Concentration in millimolar | mM | c * 1000 | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- QPP Calculator Canada: How It Works & How to Use It
- PPP Calculator World Bank: How It Works & How to Use It2,000.00
- PPP Calculator: India vs USA Cost Comparison1,000.00 USD
- PPP Calculator USD to INR: How It Works2,335 INR
- PPP Calculator India vs UK: Real Cost Comparison103.63 GBP
- PPP Calculator India vs Dubai: Real Cost Comparison8,954.58 AED