Convert mole fraction to molarity from solution density and solute and solvent molar masses (water prefilled), or convert molarity back to mole fraction.

For a binary mixture at the temperature of the measured density.

Prefilled with water, 18.015 g/mol; change it for another solvent.

Optional settings


Related Calculators

Calculator Functions

FunctionWhat it doesWhat it requires
MolarityConverts the solute mole fraction of a two-component solution to molarityRequires the solute mole fraction, the solution density and the molar masses of the solvent and the solute
Solute mole fractionConverts molarity back to the solute mole fractionRequires the molarity, the solution density and both molar masses
Solution densityFinds the solution density that fits a known molarity and mole fractionRequires the molarity, the solute mole fraction and both molar masses
Solvent molar massFinds the molar mass of the solventRequires the molarity, the solute mole fraction, the solution density and the solute molar mass
Solute molar massFinds the molar mass of the soluteRequires the molarity, the solute mole fraction, the solution density and the solvent molar mass

The solvent molar mass starts at 18.015 g/mol for water. Density can be entered in g/L, g/mL, kg/mยณ or kg/L, molar mass in g/mol, kg/mol or mg/mol and molarity in mol/L, mmol/L or ฮผmol/L. Every result also shows the solute mass fraction.

Mole Fraction to Molarity Formula

c = x ร— ฯ รท
[x ร— MB + (1 โˆ’ x) ร— MA]
cMolarity: moles of solute per litre of solution (mol/L) [1]
xMole fraction of the solute: moles of solute divided by total moles, from 0 to 1 [1]
ฯDensity of the solution (g/L) [1]
MBMolar mass of the solute (g/mol)
MAMolar mass of the solvent (g/mol)

The formula follows from those three definitions. One mole of the mixture holds x moles of solute and has a mass of x ร— MB + (1 โˆ’ x) ร— MA grams. Dividing that mass by the density gives its volume in litres, and x moles divided by that volume is the molarity. No assumption about volumes adding up is needed, because the measured density already accounts for it.

Molarity

Sodium chloride (58.44 g/mol) in water at a mole fraction of 0.2 and a solution density of 1,200 g/L gives 0.2 ร— 1,200 รท (0.2 ร— 58.44 + 0.8 ร— 18.015) = 240 รท 26.1 = 9.1954 mol/L.

Solute mole fraction

x = c ร— MA รท
[ฯ โˆ’ c ร— (MB โˆ’ MA)]

A 2 mol/L sodium chloride solution with a density of 1,080 g/L has x = 2 ร— 18.015 รท (1,080 โˆ’ 2 ร— 40.425) = 36.03 รท 999.15 = 0.03606. If the bottom line is zero or negative, the molarity is too high for that density and the calculator stops.

Solution density

ฯ = c ร— [x ร— MB +
(1 โˆ’ x) ร— MA] รท x

A 1 mol/L solution at a solute mole fraction of 0.018 with the same two molar masses needs a density of 1 ร— (0.018 ร— 58.44 + 0.982 ร— 18.015) รท 0.018 = 1,041.26 g/L.

Solvent molar mass

MA = x ร— (ฯ รท c โˆ’ MB) รท
(1 โˆ’ x)

With c = 1 mol/L, x = 0.018, ฯ = 1,041.26 g/L and a solute of 58.44 g/mol, the solvent molar mass is 0.018 ร— (1,041.26 โˆ’ 58.44) รท 0.982 = 18.015 g/mol, which is water. A mole fraction of 1 leaves no solvent, so it has no answer.

Solute molar mass

MB = ฯ รท c โˆ’
(1 โˆ’ x) ร— MA รท x

With c = 1 mol/L, x = 0.018, ฯ = 1,041.26 g/L and water as the solvent, the solute molar mass is 1,041.26 โˆ’ 0.982 ร— 18.015 รท 0.018 = 58.44 g/mol. The three inverse functions need a molarity and a mole fraction above zero.

Solute mass fraction

w = x ร— MB รท
[x ร— MB + (1 โˆ’ x) ร— MA]

The mass fraction is the mass of solute divided by the total mass [1]. For the sodium chloride case above it is 11.688 รท 26.1 = 0.4478, or 44.78% by weight.

Limits of This Estimate

  • The formulas are for a mixture of exactly two components. A third component changes both the total moles and the mass.
  • The density must be the measured density of the solution itself at the working temperature, not the density of the pure solvent. Using 1,000 g/L for a concentrated solution in water gives the wrong molarity.
  • Mole fraction does not change with temperature, but molarity does, because the volume of the solution changes. A result holds only at the temperature of the density used.
  • For a salt, the molar mass is that of the formula unit. The calculation counts formula units and does not account for the ions they separate into.

Sources

  1. NIST Special Publication 811, Guide for the Use of the International System of Units, Chapter 8: definitions of mole fraction, amount-of-substance concentration in mol/L, mass density, molar mass and mass fraction