Molarity is calculated by dividing the moles of solute by the volume of the solution in liters. You need the mass of the solute, its molar mass, and the final solution volume; the formula is M = mol / L. This page gives you a molarity calculator, the formula, worked examples, and the common mistakes to avoid.
Formula
Molarity (M) is the number of moles of solute per liter of solution. The formula is:
M = n / V
where:
- M = molarity in mol/L (often written as M)
- n = moles of solute (mol)
- V = volume of solution in liters (L)
Since you usually measure the solute by mass, the practical formula becomes:
M = (m / MM) / (V / 1000)
where:
- m = mass of solute in grams (g)
- MM = molar mass of solute in g/mol
- V = volume of solution in milliliters (mL) – divide by 1000 to convert to liters
For example, if you dissolve 2.922 g of sodium chloride (NaCl, MM = 58.44 g/mol) in enough water to make 250 mL of solution, the molarity is (2.922 / 58.44) / (250 / 1000) = 0.2000 mol/L.
Worked Example
Let’s use the default values from the calculator: 2.922 g of NaCl, molar mass 58.44 g/mol, final volume 250 mL.
- Convert volume to liters: 250 mL ÷ 1000 = 0.250 L
- Calculate moles of solute: 2.922 g ÷ 58.44 g/mol = 0.05000 mol (exactly 0.05 with rounding)
- Divide moles by liters: 0.05000 mol ÷ 0.250 L = 0.2000 mol/L
So the molarity is 0.2000 M (or 200.0 mM). The calculator gives the same result: 0.2000 mol/L.
Assumptions
- The solute is pure and fully dissolves.
- The volume used is the final solution volume (after mixing), not the volume of solvent added.
- Temperature and pressure do not affect molarity (unlike normality or molality).
- For ionic compounds like NaCl, we assume complete dissociation when calculating ion concentrations, but molarity itself refers to the formula unit.
How to Choose the Right Units
Molarity is always expressed in moles per liter (mol/L). The most common mistake is mixing up milliliters and liters. Always convert mL to L by dividing by 1000. Also, make sure you use the correct molar mass – for hydrated salts (e.g., CuSO4·5H2O), include the water of crystallization in the molar mass.
If you have the mass of solute in milligrams, convert to grams first (1 g = 1000 mg). If you have the volume in microliters, convert to liters (1 L = 1,000,000 µL).
Common Mistakes and Misconceptions
- Using solvent volume instead of solution volume: When you dissolve a solid, the final volume is usually slightly different from the solvent volume. Always dilute to the mark in a volumetric flask.
- Confusing molarity with molality: Molality is moles of solute per kilogram of solvent, not per liter of solution. They are equal only for very dilute aqueous solutions.
- Forgetting to convert mL to L: This is the most frequent error – it makes the molarity 1000 times too large or too small.
- Rounding too early: Keep at least 4-5 significant figures during intermediate steps.
How to Read the Result
The molarity tells you how many moles of solute are in each liter of solution. For example, a 0.200 M NaCl solution contains 0.200 mol of NaCl per liter. To find the mass of solute needed for a different volume, rearrange the formula: mass = M × MM × V (in L).
Molarity is used to calculate dilutions (M1V1 = M2V2), to prepare solutions for reactions, and to determine the concentration of ions in solution (e.g., a 0.200 M NaCl solution has [Na+] = 0.200 M and [Cl-] = 0.200 M).
Limits of the Formula
Molarity assumes that the volume is independent of temperature. In reality, liquids expand when heated, so a solution that is 1.000 M at 20 °C will be slightly less than 1.000 M at 30 °C if it was prepared at 20 °C. For precise work, prepare the solution at the temperature where you will use it. Also, the formula assumes the solute dissolves completely and does not react with the solvent. For electrolytes, the actual number of particles is higher, but molarity still refers to the formula unit.
Frequently Asked Questions
What is the difference between molarity and molality?
Molarity (M) is moles of solute per liter of solution; molality (m) is moles of solute per kilogram of solvent. Molarity changes with temperature because volume changes; molality does not. For dilute aqueous solutions, the numerical values are close, but they are not identical.
How do I calculate molarity from grams?
Divide the mass of solute (in grams) by its molar mass to get moles, then divide by the solution volume in liters. For example, 5.85 g of NaCl (MM = 58.5 g/mol) in 0.5 L gives (5.85/58.5)/0.5 = 0.200 M.
What does a 1 M solution mean?
A 1 M solution contains one mole of solute dissolved in enough solvent to make exactly one liter of solution. It does not mean one mole of solute added to one liter of solvent; the final volume is exactly 1 L.
How do I convert molarity to mg/mL?
Multiply molarity by the molar mass to get grams per liter, then divide by 1000 to get mg/mL. For example, 0.5 M NaCl (MM = 58.44 g/mol) is 0.5 × 58.44 = 29.22 g/L, which is 29.22 mg/mL.
Does molarity depend on temperature?
Yes, because volume changes with temperature. When a solution heats up, it expands, so the same amount of solute in a larger volume gives a lower molarity. For most lab work, the effect is small, but for precise measurements, control the temperature.
Can I use molarity for gases?
Molarity is used for solutions, not pure gases. For gases, you use concentration in mol/L via the ideal gas law (PV = nRT), but that is not called molarity in the same sense. In gas mixtures, you use partial pressures or mole fractions.
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
- DNA to RNA in the Nucleus: How Transcription Works0.2000 mol/L
- DNA Sequence Example Code: A Practical Guide0.2000 mol/L
- RNA Sequence Reverse Complement Tool
- DNA Sequence Quality Q15: What It Means
- T4 RNA Ligase 2 Sequence & Function15,485.0 g/mol
- T7 RNA Polymerase Sequence: Full Gene & Key Features97.5 kDa