Guide · Science
Molarity vs Molality: How to Calculate Both
Updated 2026-08-07 · 4 min read
Two concentration units share a letter and confuse people who are already tired:
Molarity: M = n / V
moles of solute per liter of solution.
Molality: m = n / m_solvent
moles of solute per kilogram of solvent. (The solvent mass is usually written with a lowercase m or as kg, not as the molality symbol.)
The molarity calculator and the molality calculator each do one of those divisions. No account. They are not two skins on the same formula.
The denominator is the entire difference
Molarity asks: how many moles sit in one liter of the mixture you poured into a flask.
Molality asks: how many moles sit with one kilogram of solvent only.
Add 2.00 mol of sucrose to enough water to make 1.00 L of solution. That is 2.00 M. The water mass is less than 1.00 kg because sucrose took up space; you cannot read molality from that flask without weighing the water or using density.
Add 2.00 mol of sucrose to 1.00 kg of water, then let the volume be whatever it becomes. That is 2.00 m. The volume will not be exactly 1.00 L.
For very dilute aqueous solutions, 1 L of solution is almost 1 kg of water, so 0.010 M ≈ 0.010 m. Instructors still want the symbol that matches the definition they wrote.
Worked pair: 2.00 mol in 1.00 L versus 2.00 mol in 1.00 kg
Molarity prep. 2.00 mol NaCl in a 1.00 L volumetric flask, filled to the mark with water.
M = 2.00 mol / 1.00 L = 2.00 M
NaCl is 58.44 g/mol, so you weighed 117 g of salt. The solvent mass is “1.00 L minus the salt’s volume,” not 1.00 kg. Molality is not 2.00 m unless you got lucky with density.
Molality prep. 2.00 mol NaCl (117 g) dissolved in 1.00 kg of water.
m = 2.00 mol / 1.00 kg = 2.00 m
The solution volume will be a bit more than 1 L (salt + water). Molarity is a little under 2.00 M. If a problem gives only these masses and no density, you can report molality and you cannot honestly report molarity.
That is the practical split: flask to the mark → molarity. Weighed solvent → molality.
Why colligative problems want molality
Freezing-point depression is ΔT_f = i K_f m (with the usual assumptions). K_f is tabulated per kilogram of solvent. If you plug in molarity, you are using the wrong kilograms.
Boiling-point elevation and the osmotic-pressure chapter in some books also start from molality or from mole fraction. Osmotic pressure in the van ’t Hoff form π = iMRT uses molarity - another reason to read the equation before opening a calculator.
Temperature: heat a 2.00 M solution and the flask’s contents expand. n is fixed, V grows, M drops. Heat a 2.00 m solution and the solvent mass is still 1.00 kg, so m is unchanged. That is the textbook sentence, and it is why molality exists.
Density sits between them when you must convert
To go from molarity to molality you need the solution density ρ (mass of solution per liter) and the molar mass of the solute:
mass of 1.00 L of solution = ρ (in g/L)
mass of solute in that liter = M × M_molar
mass of solvent = (mass of solution − mass of solute), then convert to kg
m = n / kg_solvent, and n = M × 1.00 L
If ρ is missing, stop. Do not invent 1.00 g/mL for 2 M NaOH.
Percent by mass and ppm are yet another family. The concentration calculator is for those labels, not for swapping M and m.
Mistakes that swap the two units
Writing “2.00 mL” as if milliliters were molality. Writing “2 M” on a freezing-point problem that gave kg of water. Using the mass of solution in the molality denominator. Using liters of solvent for molarity when the solute volume is not negligible and the flask was not filled to a mark.
Grams without molar mass: 117 g / 1.00 L is 117 g/L, not 2.00 M. Compute n first. The molecular weight calculator is that step.
Open the page that matches the denominator
Liters of solution: molarity calculator and the longer note in how to calculate molarity. Kilograms of solvent: molality calculator. If the next task is a dilution of a molar stock, C1V1 = C2V2 still uses molarity (volumes), not molality.
Frequently asked questions
What is the difference between molarity and molality?
Molarity is M = n / V_solution (moles per liter of solution). Molality is m = n / kg_solvent (moles per kilogram of solvent). Same n, different denominator. The symbols look alike; the units do not.
Which one changes with temperature?
Molarity does, because volume expands or contracts. Molality does not, because solvent mass is fixed. That is why freezing-point depression and boiling-point elevation are written with molality.
Are they almost equal in dilute water?
Often within a few percent, because 1 L of water is about 1 kg. At 0.010 m they are nearly interchangeable for a rough check. At 2 M NaOH they are not. Do not write M when the rubric says m.
How do I convert one to the other?
You need density of the solution (and the solute’s molar mass) to go from M to m or back. There is no universal factor like 3.6 for km/h. If the problem does not give density, it does not want that conversion.
Which calculator do I open?
Liters of solution → molarity calculator. Kilograms of solvent → molality calculator. If you have grams of solute, compute moles from molar mass first.
Does either tool require an account?
No. Both run in the browser. They evaluate different formulas; using the wrong page is the same as writing M on a molality problem.
Related guides
More reading that links back to the same tools and workflows.
How to Calculate Molarity of a Solution
Molarity formula, worked lab examples, and a local calculator for solution prep.
4 min read
How to Calculate Molecular Weight
Sum atomic masses correctly and check the result with a browser molecular weight tool.
4 min read
Best Scientific Calculators for Chemistry and Physics
Molarity, pH, gas law, force, and energy calculators for lab and class. Run the math in your browser with worked examples.
5 min read
How to Calculate Acceleration (With Examples)
Use a = Δv / t with worked problems. Run the numbers locally in a browser calculator.
4 min read