To calculate molarity, divide the moles of solute by the volume of the solution in liters: M = mol / L. You can also use the mass of the solute and its molar mass to find moles first, then divide by the solution volume.
Formula
The molarity (M) of a solution is defined as the number of moles of solute (n) dissolved in exactly one liter of solution (V). The formula is:
M = n / V
- M = molarity, in moles per liter (mol/L, often written as M)
- n = amount of solute, in moles (mol)
- V = volume of the final solution, in liters (L)
When you have the mass of the solute instead of moles, use the molar mass (MM) to convert: n = mass / MM. Then the full formula becomes:
M = (mass / MM) / V
In the calculator above, the volume is entered in milliliters, so the formula divides by 1000 to convert mL to L.
Worked Example
Let’s use the default values from the calculator: 2.922 g of sodium chloride (NaCl, molar mass 58.44 g/mol) dissolved to a final volume of 250 mL.
- Convert volume to liters: 250 mL ÷ 1000 = 0.250 L
- Calculate moles of NaCl: 2.922 g ÷ 58.44 g/mol = 0.05000 mol (rounded to 5 significant figures)
- Divide moles by volume: 0.05000 mol ÷ 0.250 L = 0.2000 mol/L
So the molarity is 0.2000 M (or 200.0 mM). This matches the calculator’s output.
Assumptions
- The solute is pure and fully dissolved; no chemical reaction occurs.
- The final volume is used, not the volume of solvent added. This is crucial because dissolving a solid can change the total volume.
- Temperature is assumed to be around 25 °C; molarity changes slightly with temperature because volume changes.
- For ionic compounds like NaCl, molarity refers to the formula unit concentration, not individual ion concentrations unless stated.
When to Use Molarity
Molarity is the most common concentration unit in chemistry because it directly relates to reaction stoichiometry. You use it whenever you need to know how many moles of a substance are present in a given volume of solution—for example, when preparing a buffer, doing a titration, or calculating dilutions.
It is different from molality (moles per kilogram of solvent), which is temperature-independent and used in colligative property calculations. Molarity is also different from percent concentration (w/v or v/v) because it accounts for the molar mass of the solute.
How to Choose the Right Values
To use the calculator correctly, you need three pieces of information:
- Mass of solute: weigh it on a balance, or calculate from a recipe if you know the amount.
- Molar mass: add up the atomic weights from the periodic table. For NaCl: Na 22.99 + Cl 35.45 = 58.44 g/mol. For a hydrate, include the water molecules in the molar mass.
- Final volume: measure the total volume of the solution after the solute is dissolved, not the volume of solvent you started with. Use a volumetric flask for accurate work.
If you only know the concentration and want to prepare a solution, rearrange the formula: mass = M × MM × V (with V in liters).
Common Mistakes and Misconceptions
- Using solvent volume instead of solution volume: When you add solid to water, the final volume may be slightly more than the water volume. Always use the final volume.
- Forgetting to convert mL to L: A 250 mL solution is 0.250 L, not 250 L. This is the most common unit error.
- Confusing molarity with molality: Molarity uses liters of solution; molality uses kilograms of solvent.
- Rounding too early: Keep at least 4-5 significant figures during intermediate steps to avoid rounding errors in the final answer.
- Molar mass of hydrates: If you use CuSO₄·5H₂O, the molar mass includes the water (249.69 g/mol), not just the anhydrous form (159.61 g/mol).
Limits of the Formula
The molarity formula works for any solute that dissolves without reacting or changing volume unpredictably. However, for very concentrated solutions, the volume may not be strictly additive, and the density changes. For gases dissolved in liquids, Henry’s law applies, not simple molarity. For solutions with multiple solutes, each has its own molarity.
Also, molarity is temperature-dependent because liquids expand when heated. If you need a concentration that does not change with temperature, use molality or mole fraction.
Frequently Asked Questions
How do I find molarity from mass and volume? Convert the mass to moles using the molar mass, then divide by the volume in liters. For example, 5.85 g of NaCl (MM 58.44) in 500 mL: moles = 5.85 / 58.44 = 0.100 mol, volume = 0.500 L, so M = 0.200 M.
What is the difference between molarity and molality? Molarity is moles of solute per liter of solution; molality is moles of solute per kilogram of solvent. Molality does not change with temperature, while molarity does because volume changes.
How do I calculate molarity from a dilution? Use the dilution formula M₁V₁ = M₂V₂, where M₁ and V₁ are the initial concentration and volume, and M₂ and V₂ are the final values. Solve for the unknown.
Can molarity be negative? No, molarity is always a positive number because mass, molar mass, and volume are all positive. If you get a negative result, check for a sign error or an impossible input.
Why is the final volume used instead of the solvent volume? When you dissolve a solid, the total volume can change because the solute occupies space. Using the final volume ensures the concentration is accurate. Always make the solution up to the mark in a volumetric flask.
What if my solute is a liquid? If the solute is a liquid, you can measure its mass (by weighing) or its volume and density. Convert volume to mass using density, then to moles using molar mass, then divide by the final solution volume.
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
- Calcium Nitrate Boiling Point
- Potassium Nitrate Solubility in Water: Full Data25.9 g/100 mL
- Cation Formula for Magnesium Nitrate0.0788 mol/L
- Greenhouse Grade Potassium Nitrate: Uses & Rates0.2000 mol/L
- Molar Mass of KNO2: Formula & Calculation0.1373 mol/L
- Potassium Nitride Formula & How to Write It