Mole Fraction Calculator (Mole Percent and Mass Fraction)

The mole fraction of a component is its share of all the molecules in a mixture. It is the measure used in Raoult’s law, Dalton’s law and phase diagrams. Enter the masses of up to three components to get mole fractions, mole percent, mass fractions and the mixture’s average molar mass.

Inputs

g/mol
g/mol

Results

Mole fraction of component 1
0.25
Mole fraction of component 2
0.75
Mole fraction of component 3
–
Mass fraction of component 1
46.017
%
Average molar mass of the mixture
25.03
g/mol
Total amount
4

    RefCHM-SOL-004
    Methodxᵢ = nᵢ/Σn, nᵢ = mᵢ/Mᵢ
    UnitsSI
    Date2026-11-24

    Working

    Calculated in SI base units; inputs are converted from the units you choose.

    1. Moles of each componentnᵢ = mᵢ/Mᵢn1 = 46.07 / 46.07 = 1 mol; n2 = 54.05 / 18.02 = 3 mol
    2. Mole fractionsxᵢ = nᵢ/ΣnΣn = 4 mol; x1 = 0.25, x2 = 0.75
    3. Average molar massM̄ = Σm/Σn100.1 g / 4 mol = 25.03 g/mol

    Composition

    ComponentMass (g)MolesMole fractionMole %Mass %
    146.06910.252546.017
    254.04530.757553.983

    Mole fraction is not mass fraction

    Light molecules count for more by mole than by mass. A mixture of 46 g of ethanol and 54 g of water is 46 % ethanol by mass but only 25 % by mole, because the 54 g of water contains three times as many molecules. Mole fractions always add up to one and, unlike molarity, do not depend on temperature or volume changes on mixing.

    Assumptions and limits

    • Molar masses from CIAAW standard atomic weights.
    • Ionic compounds counted as formula units, not as separate ions.

    References

    • IUPAC, Compendium of Chemical Terminology (the Gold Book), entry for amount fraction (mole fraction).
    • Atkins, P. and de Paula, J., Atkins’ Physical Chemistry, 11th ed., Oxford University Press, 2018, topic on the measures of concentration.

    Questions

    What are the mole fractions of 46.069 g of ethanol and 54.045 g of water?
    Ethanol 0.2500 and water 0.7500 (1.000 mol and 3.000 mol), although ethanol is 46.02 % of the mass.
    What is the average molar mass of that mixture?
    25.03 g/mol.

    This calculator is a design aid. Check results against the governing code or standard and have critical work verified by a qualified engineer. Read the disclaimer.