Skip to content
LoveToCalc

Definition — what does that mean?

Mole fraction

The mole fraction says what share of the molecules in a mixture belong to one component. The fractions of all the components add up to 1.

In Swedish: Molbråk

Mole fraction

The relation

xᵢ=nᵢntot

The amount of one component divided by the total amount of all of them: the share of the molecules it makes up. The fractions of a mixture add up to 1.

Solve for

xᵢ=0.25

xᵢ equals 2 divided by 8, equals 0.25

Working2 steps

Practice questions

You are given

  • xᵢ=0.25
  • nᵢ=1

The formula

xᵢ = nᵢ / n_tot

xᵢ is the mole fraction of component i, nᵢ its amount in mol and n_tot the total amount of all components in mol. It has no unit. The mole fractions of a mixture add up to 1, so a mixture of two components needs only one of them.

Holds for any mixture, gas, liquid or solid, as long as the amounts are in the same unit.

A gas mixture. A container holds 3 mol of nitrogen and 1 mol of oxygen. The total is 4 mol, so x(N₂) = 3 / 4 = 0.75 and x(O₂) = 1 / 4 = 0.25. The sum is 0.75 + 0.25 = 1.

From a fraction to an amount. A mixture of 5 mol in total has x = 0.4 for one component. Its amount is n = 0.4 · 5 = 2 mol.

What it is used for

The mole fraction is the input of partial pressure and of Raoult’s law. Unlike molar concentration, it does not change with the temperature, since no volume is involved.

Common mistakes

Where next

A mole fraction times the total pressure is the partial pressure, see Dalton’s law.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
nᵢxᵢntot0.25·82
ntotnᵢxᵢ20.258
xᵢnᵢntot280.25

Last reviewed October 13, 2026 ·How pages are reviewed

Solutions and concentrationAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.