Skip to content
FiftyCalc Free calculators for all 50 states

Mole Fraction Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Enter the moles of each component; leave unused rows at 0.

Result

Sample figures

Mole fraction of component 1—

Total moles —

  • Mole fraction of component 2—
  • Mole fraction of component 3—
  • Mole fraction of component 4—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Mole Fraction Calculator

Component 1, in mol: enter 0 or more. Prefilled example: 2.

Component 2, in mol: enter 0 or more. Prefilled example: 3.

Component 3, in mol: enter 0 or more. Prefilled example: 0.

Component 4, in mol: enter 0 or more. Prefilled example: 0.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Component 1, in mol: enter 0 or more.
  2. Component 2, in mol: enter 0 or more.
  3. Component 3, in mol: enter 0 or more.
  4. Component 4, in mol: enter 0 or more.
  5. Read the result: Mole fraction of component 1; the panel also shows Total moles, Mole fraction of component 2, Mole fraction of component 3 and Mole fraction of component 4.

How this calculator works

Mole fraction xᵢ = nᵢ ÷ n_total; the fractions add to 1, and mole percent = xᵢ × 100.

To start from grams, convert each mass to moles first (moles = grams ÷ molar mass). In an ideal gas mixture, the mole fraction also equals the volume fraction and the share of total pressure.

The formula

  1. T=n1+n2+n3+n4
  2. X1=n1T
Symbols used in the formula
SymbolMeaningUnit
n1Component 1mol
n2Component 2mol
n3Component 3mol
n4Component 4mol
TTotal moles
X1Mole fraction of component 1

Worked example

Component 12 mol
Component 23 mol
Component 30 mol
Component 40 mol
Total moles5
Mole fraction of component 20.6
  1. T=2+3+0+0=5
  2. X1=25=0.4

Mole fraction of component 1 0.4

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is the mole fraction of water in 2 mol ethanol and 3 mol water?

3 ÷ 5 = 0.6.

Do mole fractions have units?

No, they are ratios of moles to moles.

Related calculators