Calcylator
Mole fraction

Mole fraction:
the share of molecules each substance contributes

Convert grams to moles first, divide by the total, and the fractions of any mixture must add up to exactly 1.

Calcylator Editorial Team

Updated · 4 min read

What a mole fraction actually counts

A mole fraction answers a head-count question: out of every molecule in the mixture, what share belongs to one particular substance? A mixture in which a third of the molecules are ethanol has an ethanol share of one third, whether the sample is a thimbleful or a tankful.

Because it is a ratio of two amounts in the same unit, the result has no unit at all. It lies between 0 and 1, where 0 means the substance is absent and 1 means it is the only thing there. Chemists usually write it with the Greek letter chi, as in χ for the component, or with a plain x and the substance as a subscript.

This ratio is popular because it does not depend on temperature or on how much the liquid has expanded. Concentrations quoted per litre drift as a solution warms, since the volume changes while the number of molecules does not. A ratio of moles stays put, which is why it appears in vapour pressure laws, gas mixtures and phase diagrams.

The formula and its one rule

Mole fraction of component i =nᵢn₁ + n₂ + … + nₖ
nᵢ:
moles of the component you care about
n₁ … nₖ:
moles of every component, including nᵢ
χᵢ:
the resulting mole fraction, between 0 and 1
Add the fractions of all components and you must get 1.

The one rule that trips people up is that the bottom line is the total for the entire mixture, solute and solvent together. Writing moles of solute over moles of solvent gives a mole ratio, which is a different number and can exceed 1.

The inputs must be in moles. If you were given grams, divide each mass by the molar mass of that substance first. Skipping this step and dividing masses directly gives mass fraction, which is also a legitimate quantity but is not the same thing.

  1. Convert every mass to moles with mass ÷ molar mass.
  2. Add the moles of all components to get the total.
  3. Divide each component's moles by that total.
  4. Check that your fractions sum to 1 within rounding.

Worked example: 36 g of water with 46 g of ethanol

Suppose a drink-like mixture is prepared from 36 g of water and 46 g of ethanol. Using rounded molar masses of 18 g/mol for water and 46 g/mol for ethanol keeps the arithmetic visible.

  • Water

    36 g ÷ 18 g/mol = 2.00 mol

  • Ethanol

    46 g ÷ 46 g/mol = 1.00 mol

  • Total

    2.00 + 1.00 = 3.00 mol

Mole fractions

Water 0.667, ethanol 0.333

Check: 0.667 + 0.333 = 1.000.

Notice how far the two measures sit apart. Ethanol makes up 46 out of 82 grams, which is about 56% of the mass, yet only one third of the molecules. Water molecules are so much lighter that they dominate the count. This gap between the mass basis and the mole basis is the reason the conversion step is not optional.

Using it for gases and partial pressure

In gas mixtures the ratio has a very direct physical meaning. Dalton's law says the partial pressure of a gas equals its share of the molecules multiplied by the total pressure, which for an ideal mixture is the same as saying each gas pushes in proportion to how many molecules it supplies.

Partial pressure =pᵢ = χᵢ × p(total)
pᵢ:
partial pressure of gas i
χᵢ:
its mole fraction
p(total):
total pressure of the mixture

Dry air is a handy reference. Roughly 78% of its molecules are nitrogen, 21% oxygen and about 0.9% argon, so at a total pressure of 100 kPa oxygen contributes close to 21 kPa. Because gas volumes at the same temperature and pressure are proportional to moles, the volume fractions of an ideal gas mixture equal its molecule shares, which is a shortcut worth knowing.

For liquid solutions, Raoult's law uses the same quantity: the vapour pressure of the solvent above an ideal solution is the pure solvent's vapour pressure multiplied by the fraction of solvent molecules. Adding solute lowers that fraction below 1, and so lowers the vapour pressure.

A mixture with three components

The same bookkeeping scales to any number of species. Take a synthetic gas blend of 0.50 mol nitrogen, 0.15 mol oxygen and 0.05 mol argon. The total is 0.70 mol, so the fractions are 0.714, 0.214 and 0.071.

Three-component blend
ComponentMolesMole fraction
Nitrogen0.500.714
Oxygen0.150.214
Argon0.050.071
Total0.700.999 (rounding; exactly 1)

The small shortfall in the last row is purely a rounding effect of keeping three decimals. Carrying the unrounded fractions, 5/7 + 3/14 + 1/14, adds to exactly 1. In reports, state how many decimals you kept so that a reader who adds the column is not surprised.

How it differs from molarity, molality and mass percent

Four common ways to describe a mixture
MeasureWhat it dividesDepends on temperature?
Mole fractionmoles of one component ÷ total molesNo
Molaritymoles of solute ÷ litres of solutionYes, volume changes
Molalitymoles of solute ÷ kg of solventNo
Mass percentmass of component ÷ total mass × 100No

Pick the measure that matches the question. Molarity suits titrations and reagent bottles because you measure out volume. Molality is preferred in boiling and freezing point work since mass does not change with temperature. It is the natural choice when molecules compete for something, such as vapour space or reactive sites.

Mistakes that distort the answer

  • Dividing by the solvent amount alone instead of the mixture total, which overstates the fraction.
  • Using mass instead of moles, or forgetting to convert grams with the correct molar mass.
  • Treating a dissociating salt as one particle: sodium chloride in water supplies two particles per formula unit once dissolved, which matters when counting total moles of species.
  • Quoting a fraction above 1 or fractions that do not sum to 1, which signals an arithmetic or unit slip.

If a result looks odd, rebuild the table of moles and sum it. A general-purpose chemistry calculator can help with the arithmetic around a problem like this, but the choice of which species to count and how the totals are defined still has to come from you.

Common questions

What is the formula for mole fraction?

Mole fraction equals the moles of one component divided by the total moles of all components in the mixture. For 2.00 mol of water and 1.00 mol of ethanol, water is 2.00 ÷ 3.00 = 0.667. The result is unitless and lies between 0 and 1.

Do mole fractions have to add up to 1?

Yes. When every component is counted, the fractions must sum to 1, or 100% if expressed as a percentage. In the water and ethanol example, 0.667 plus 0.333 gives 1.000. A different total usually means a missed component or a rounding slip.

What is the difference between mole fraction and molarity?

It divides by total moles and has no unit, while molarity divides moles of solute by litres of solution. Molarity changes slightly with temperature because volume expands. The ratio is unaffected since it only counts molecules.

Can mole fraction be negative or greater than 1?

No. Each component's moles are part of the total, so the fraction is always between 0 and 1. A value above 1 means you divided by the wrong quantity, for example moles of solvent alone, which would give a mole ratio instead.

How do I convert mole fraction to mole percent?

Multiply the decimal value by 100. A fraction of 0.333 becomes 33.3 mole percent. Mole percent is useful in reports, but use the decimal form in equations such as Raoult's or Dalton's law.

Was this guide helpful?

Continue reading

View all blogs