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
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.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Component 1, in mol: enter 0 or more.
- Component 2, in mol: enter 0 or more.
- Component 3, in mol: enter 0 or more.
- Component 4, in mol: enter 0 or more.
- 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
| Symbol | Meaning | Unit |
|---|---|---|
| Component 1 | mol | |
| Component 2 | mol | |
| Component 3 | mol | |
| Component 4 | mol | |
| Total moles | ||
| Mole fraction of component 1 |
Worked example
| Component 1 | 2 mol |
|---|---|
| Component 2 | 3 mol |
| Component 3 | 0 mol |
| Component 4 | 0 mol |
| Total moles | 5 |
|---|---|
| Mole fraction of component 2 | 0.6 |
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.