Calculate mole fraction of each component in a mixture using Xi = ni / ntotal. Enter moles directly or convert from mass with molar mass. Supports complex formulas (Ca(OH)₂, Al₂(SO₄)₃), hydrates (CuSO₄·5H₂O), and multiple components. Features step-by-step solutions and percentage conversion. Perfect for chemistry students.
About Mole Fraction: Mole fraction (Xi) = moles of component / total moles. The sum of all mole fractions in a mixture equals 1.
Mole Fraction Calculator
Calculate mole fractions, percentages, and total moles in mixtures with step-by-step solutions
X
Mole Fraction
n_i / n_total
ΣX
Sum = 1
Verification
%
Percentage
X × 100%
n
Total Moles
Σ n_i
What is Mole Fraction?
Mole fraction (X_i) is the ratio of moles of a component to the total moles in a mixture. It's the universal language of composition that works for gases, liquids, and solids! The sum of all mole fractions in any mixture always equals 1 (or 100%), making it a powerful tool for thermodynamics, gas laws, and colligative properties.
X_i
Mole Fraction
n_i / n_total
n_i
Component Moles
Moles of each
n_total
Total Moles
Sum of all
ΣX = 1
Validation
Always true
How the Mole Fraction Calculator Works
1
Choose Input Method
Moles or Mass
2
Add Components
Enter formulas and values
3
Calculate
Get mole fractions
4
View Analysis
Table and verification
Mole Fraction Examples
Salt Water
NaCl + H₂O
X_NaCl = 0.333, X_H₂O = 0.667
Sugar Solution
C₆H₁₂O₆ + H₂O
X_Glucose = 0.2, X_H₂O = 0.8
Ethanol-Water
C₂H₅OH + H₂O
X_Ethanol = 0.25, X_H₂O = 0.75
Air Mixture
N₂ + O₂
X_N₂ = 0.79, X_O₂ = 0.21
Mole Fraction Formulas
Mole Fraction
X_i = n_i / n_total
Ratio of component moles to total moles
Moles from Mass
n = m / M
Convert mass to moles using molar mass
Total Moles
n_total = Σ n_i
Sum of all component moles
Percentage
% = X_i × 100%
Mole fraction as percentage
Common Components
NaCl
Salt
58.44 g/mol
H₂O
Solvent
18.015 g/mol
C₆H₁₂O₆
Organic
180.156 g/mol
C₂H₅OH
Alcohol
46.068 g/mol
NaOH
Base
40.00 g/mol
H₂SO₄
Acid
98.079 g/mol
Real-World Applications
Thermodynamics
Gas laws and entropy calculations
Solution Chemistry
Colligative properties
Chemical Engineering
Process design and separation
Environmental Science
Air and water composition
Education
Teaching stoichiometry
Research
Mixture characterization
Frequently Asked Questions About Mole Fraction
Pro Tips for Mole Fraction Calculations
Sum = 1 Always
All mole fractions must sum to 1 - verify your results!
Use Correct Molar Mass
Molar mass is essential for converting mass to moles
Check Your Formulas
Formula validation prevents calculation errors
Use Consistent Units
All masses must be in the same unit for accurate results
Ready to Calculate Mole Fraction?
Whether you're studying thermodynamics, preparing solutions, or analyzing mixtures - get instant mole fraction calculations with step-by-step solutions.