Molality and Mole Fraction Calculator: Per Kilogram of Solvent
Molality, mole fraction, and the density you need before you can reach molarity
Molality is moles of solute per kilogram of SOLVENT, mole fraction is moles of one component over moles of everything, and neither of them can be turned into molarity without the density of the solution. This page does all three, shows the mole fraction as an area you can see, and prints the molarity you would have got by assuming the density is 1.000 g/mL beside the one your real density gives — because that assumption is the commonest way a correct molality becomes a wrong molarity.
Molality and mole fraction
45.0 g of sodium chloride (M = 58.44 g/mol) dissolved in 500 g of water, giving a solution of density 1.058 g/mL
Three definitions and one measurement
- b
- molality, in mol kg−1. IUPAC allows the symbol m too, which is unfortunate because m is also mass; this page uses b. The denominator is the mass of SOLVENT and nothing else
- x
- mole fraction, IUPAC’s ‘amount fraction’. Dimensionless, between 0 and 1, and the fractions of all components sum to exactly 1 — which is the cheapest check available on this page: add the two mole-fraction rows together and you should get 1.000000
- ρ
- the density of the solution, in g mL−1. It appears in the third equation and in neither of the first two. That is the whole point: molality and mole fraction are mass-and-amount quantities, molarity is an amount-per-volume quantity, and nothing but a density can cross between them
- M(solute)
- the solute’s molar mass, in g mol−1. It appears in the molarity conversion because a kilogram of solvent plus b moles of solute weighs 1000 + bM grams, and it is that total mass, divided by the density, that gives the volume
- c
- molarity, amount concentration, in mol L−1. Always smaller than the molality for an aqueous solution denser than about 1 g/mL per mole of solute — and the ratio c/b is exactly 1000ρ/(1000 + bM), which depends on nothing but the density and the solute’s molar mass
Worked example
45.0 g of sodium chloride (M = 58.44 g/mol) dissolved in 500 g of water, giving a solution of density 1.058 g/mL
MOLES OF SOLUTE. 45.0 ÷ 58.44 = 0.770021 mol. Nothing subtle here, but note that this is the only place the solute's molar mass is used in the molality.
MOLALITY. The solvent is 500 g, which is 0.500 kg. 0.770021 ÷ 0.500 = 1.5400 mol kg−1. The mass of the solution — 545 g — has not been used and must not be: dividing by 0.545 kg would give 1.4129, which is 8.3 per cent low and is the single commonest mistake on this topic.
MOLES OF SOLVENT, for the mole fractions. 500 ÷ 18.015 = 27.7546 mol of water. Total amount present: 27.7546 + 0.770021 = 28.5246 mol.
MOLE FRACTIONS. x(NaCl) = 0.770021 ÷ 28.5246 = 0.026995, and x(water) = 27.7546 ÷ 28.5246 = 0.973005. They add to 1.000000. Read the first one again: a solution that is 8.26 per cent sodium chloride BY MASS is only 2.70 per cent sodium chloride BY AMOUNT, because one water molecule weighs a third of what one NaCl formula unit weighs. There are 36.04 water molecules per formula unit.
NOW THE MOLARITY, AND ONLY NOW. Mass of solution 45.0 + 500 = 545.0 g. Volume = 545.0 ÷ 1.058 = 515.12 mL. c = 0.770021 ÷ 0.51512 = 1.4948 mol L−1. That is 2.9 per cent below the molality, and every bit of that 2.9 per cent came from the density.
WHAT HAPPENS IF YOU GUESS THE DENSITY. Assume 1.000 g/mL instead and the volume comes out as 545.0 mL, so c = 1.4129 mol L−1 — 8.3 per cent below the molality instead of 2.9 per cent, and wrong by 5.5 per cent. Notice it is the same 1.4129 as the botched molality in step 2, which is not a coincidence: assuming ρ = 1 is arithmetically identical to dividing by the mass of the solution instead of the mass of the solvent.
The same molality, six different solvents: molality does not move, mole fraction moves a lot
| Solvent | M (g/mol) | Moles in 500 g | x(solute) | Mole % solute | Solvent particles per solute particle |
|---|---|---|---|---|---|
| Water | 18.015 | 27.7546 | 0.026995 | 2.6995 % | 36.04 |
| Ethanol | 46.069 | 10.8533 | 0.066248 | 6.6248 % | 14.09 |
| Acetic acid | 60.052 | 8.3261 | 0.084654 | 8.4654 % | 10.81 |
| Benzene | 78.110 | 6.4012 | 0.107376 | 10.7376 % | 8.31 |
| Cyclohexane | 84.161 | 5.9410 | 0.114740 | 11.4740 % | 7.72 |
| Carbon tetrachloride | 153.820 | 3.2506 | 0.191520 | 19.1520 % | 4.22 |
What the density is worth: one solution, five assumed densities
| Density assumed (g/mL) | Volume of solution (mL) | Molarity (mol/L) | c / b | Error against the molality |
|---|---|---|---|---|
| 0.800 | 681.25 | 1.1303 | 0.7339 | 26.6 % below |
| 1.000 (the lazy assumption) | 545.00 | 1.4129 | 0.9174 | 8.3 % below |
| 1.0295 | 529.38 | 1.4546 | 0.9445 | 5.5 % below |
| 1.058 (a real value for this solution) | 515.12 | 1.4948 | 0.9706 | 2.9 % below |
| 1.100 | 495.45 | 1.5542 | 1.0092 | 0.9 % above |
Per kilogram of solvent, per mole of everything, and per litre of nothing you have measured
Three ways of saying how much is dissolved, and school questions use all three within a page of each other. Molality is moles of solute per kilogram of solvent. Mole fraction is moles of one component over moles of all components. Molarity is moles of solute per litre of solution. The first two are built entirely out of masses and amounts; the third needs a volume, and a volume is something you measure or compute from a density.
The trap is the word solvent. IUPAC’s definition of molality divides by the mass of the solvent, not by the mass of the solution, and the two differ by the mass of the solute you just added. At the default inputs on this page that is 45 g in 545 g, so getting it wrong costs 8.3 per cent. The error is always in the same direction — too small — and it grows with concentration, which is why it survives undetected through dilute practice questions and then shows up in the one that counts.
Which leaves the conversion. To go from molality to molarity you need the volume of the solution, and the only honest way to get it is the density of the solution — measured, or looked up for that solute at that concentration at that temperature. It is not the density of water, and it is not the density of the solute. If your question does not give you a density, it is not asking you for a molarity. Assuming 1.000 g/mL is a decision to pretend the solute occupies no volume and has no mass, and this page prints the result of that decision beside the real one so you can see what it costs.
What this page does not do: it will not read a chemical formula. The calculator engine here is numeric only and has no way to parse ‘Na2SO4’ into elements, so molar masses are numbers you supply. It also will not tell you the van’t Hoff factor, because whether your solute splits into two particles or three is chemistry about that solute, not arithmetic.
If what you actually want is molarity from a mass and a volume, that page already exists on this site and there is no point duplicating it here: use the molarity calculator, or the percent solution calculator for % w/v, % w/w and % v/v work, or the normality to molarity converter when your question is written in equivalents. For diluting something you already have, use C1V1 = C2V2 or the serial dilution calculator, and for the osmotic version of a particle count, the solution osmolarity calculator. Inside this plugin, the alligation calculator handles the mixing problem — what ratio of a strong and a weak stock gives the strength you want — and the ppm, ppb and trace concentration calculator deals with the same mass-basis-versus-volume-basis ambiguity at the other end of the scale, where it is considerably more dangerous. The temperature independence that makes molality the right unit here is the same property that matters in calorimetry of a mixture, and the volume dependence that makes molarity the wrong one is the same effect as in thermal expansion.
Frequently asked questions
Is molality divided by the mass of the solvent or the mass of the solution?
The solvent. IUPAC’s Gold Book entry for molality reads: the amount of entities of a solute divided by the mass of the solvent, and it cites the Green Book and the clinical-chemistry glossary, both of which say the same. So for 45 g of NaCl in 500 g of water you divide by 0.500 kg, not by 0.545 kg. The second gives 1.4129 instead of 1.5400 — 8.3 per cent low. The way to remember it is to notice that molality is deliberately built so that adding more solute never changes the denominator: a 1-molal solution and a 2-molal solution both contain exactly one kilogram of water, which is what makes them comparable.
Can I get the molarity without the density?
No, and this is not a limitation of the page. Molality and mole fraction describe the composition of the mixture; molarity describes how much of it fits in a litre. Composition contains no information about volume. The only exception is the case so dilute that the solution’s volume is the solvent’s volume to within your precision — below about 0.01 mol/kg in water, where you are making an error of a tenth of a per cent. Above that, the honest answers are: measure the density, look it up for that solute at that concentration, or report the molality and say so.
When is molality numerically equal to molarity?
When 1000ρ = 1000 + bM, where ρ is in g/mL and M is the solute’s molar mass in g/mol. Rearranged: when ρ = 1 + bM/1000. For the default solution (b = 1.5400, M = 58.44) that needs a density of 1.0900 g/mL. Real sodium chloride solution at that molality is about 1.06, so c is below b — but there is no general rule, and for a dense solute at high concentration the molarity can be the larger of the two. The table above has a row showing exactly that.
Which one goes into the freezing-point depression formula?
Molality, every time: ΔTf = i Kf b, with b in mol kg−1 and Kf the cryoscopic constant of the solvent (1.86 K kg mol−1 for water, 5.12 for benzene, 20 for camphor — all conventional tabulated values). Raoult’s law for the solvent is written in mole fraction instead, which is the other mass-based quantity on this page and for the same reason. Molarity appears in osmotic pressure (Π = cRT) only because osmosis is measured on a solution of a definite volume at a definite temperature, and even there the dilute-solution approximation is doing some work.
Related calculators
References
- IUPAC, Compendium of Chemical Terminology (the Gold Book), entry “molality”, doi:10.1351/goldbook.M03970 (read 14 November 2026). The definition this page is built on, and it is one line: the amount of entities of a solute divided by the mass of the SOLVENT — not of the solution. The entry cites the IUPAC Green Book, 2nd edition, page 42, and Pure and Applied Chemistry 68 (1996) 957, page 982. All three say solvent, which is why this calculator asks for the mass of solvent and then tells you the mass of solution rather than the other way round.
- IUPAC, Compendium of Chemical Terminology (the Gold Book), entry “amount fraction”, doi:10.1351/goldbook.A00296 (read 14 November 2026). IUPAC’s preferred name for what your textbook calls MOLE FRACTION: the amount of a component divided by the total amount of all constituents. The entry records “mole fraction” as the alternative name, so both are acceptable in an answer.
- IUPAC, Quantities, Units and Symbols in Physical Chemistry (the Green Book), listed among the IUPAC Color Books at iupac.org/color-books (index page read 14 November 2026). The authority for the symbols used here: b for molality, x for amount fraction, c for amount concentration. The index gives no edition or year and the book itself was not read, so no page is cited from it.
- COULD NOT BE READ, and nothing was substituted for any of it. The NCERT chemistry chapters on solutions and ionic equilibrium, the CRC Handbook of Chemistry and Physics solubility tables, and the individual IUPAC-NIST Solubility Data Series volumes were all paywalled, refused, or returned only third-party reproductions on 14 November 2026. The solubility curves and Ksp values here are therefore the conventional tabulation that textbooks agree on to two or three figures, with no primary measurement traced behind any one number. Where your own table disagrees, use your table.
