Understanding mole fraction
This short guide explains what the mole fraction calculator does, how to get the best result and when another tool is a better fit.
What it is
Mole fraction is the share of all molecules in a mixture that belong to one component. It’s the moles of that component divided by the total moles. Because it counts particles rather than mass or volume, it doesn’t change with temperature and it’s the natural unit for gas mixtures, vapour pressure (Raoult’s law) and many thermodynamic calculations.
Mole percent is the mole fraction × 100.
From grams to moles
Most people weigh components, so the calculator first converts each mass to moles by dividing by its molar mass. Water is 18.015 g/mol and ethanol 46.07 g/mol, so 90 g of water is 4.996 mol while 46 g of ethanol is only 0.998 mol. Even though the masses look similar, water molecules outnumber ethanol about five to one.
Use the molar mass of the exact substance.
A worked example
Mix 90 g of water with 46 g of ethanol. Moles: 4.996 and 0.998, total 5.994. Mole fractions: water 0.833, ethanol 0.167. Adding a third component, say 1 mol of glycerol, changes all the fractions, which still add to 1. Entering moles directly, 2, 1 and 1 mol give 0.5, 0.25 and 0.25.
For gases, mole fraction equals volume fraction for ideal gases.
Where it’s used
Mole fractions appear in Raoult’s and Dalton’s laws, distillation, gas analysis and phase diagrams. They convert easily to partial pressure: partial pressure = mole fraction × total pressure. For solutions you might also need molality or molarity, which depend on the solvent mass or solution volume.
Check results against your lab’s procedures and product data sheets.
Related tools
For molar concentration, use the Molar Calculator. To convert grams and moles, use Moles to Grams.
- xᵢ = nᵢ ÷ Σn
- Fractions add up to 1
- n = mass ÷ molar mass
Further reading: Mole fraction explained. It explains the format behind this mole fraction calculator in more detail.
