This mole fraction calculator finds each component’s share of a mixture on a mole basis — the concentration unit that never changes with temperature — with mole percents and the partial-pressure connection.

χ A–
χ B–
χ C–
Partial Pressures–

The sanity law: all χ sum to exactly 1 (100 mol%). Mole fraction is the natural currency of gas mixtures (partial pressure = χ × P — see the Dalton’s Law Calculator), Raoult’s law, and entropy-of-mixing calculations — and unlike molarity it doesn’t drift when the mixture warms and expands.

χᵢ = nᵢ ÷ Σ n — Counting Particles, Not Grams

Mole fraction answers “of all the molecules present, what share is this species?” — a counting share, indifferent to molecular weight. That’s why 2 mol of a light gas and 2 mol of a heavy one claim equal χ despite wildly different masses (mass fraction is the other lens; converting between them runs through our Molar Mass Calculator). Part of our Chemistry Calculators collection.

Worked Examples (Verified)

  • 2 mol A + 8 mol B (defaults): χA = 0.200, χB = 0.800 — sum exactly 1 ✔; at 5 atm total, partial pressures 1.0 and 4.0 atm
  • Air, honestly: N₂ 78.08 mol%, O₂ 20.95%, Ar 0.93%, CO₂ ~0.04% — the composition tables are mole fractions wearing a percent sign
  • From masses: 18 g water (1 mol) + 46 g ethanol (1 mol) → χ = 0.50/0.50, though mass fractions are 28%/72% — the classic exam trap, defused
  • Solvent for Raoult: 0.9 χ water over its pure vapor pressure 23.8 torr gives 21.4 torr — the vapor-pressure lowering our Raoult’s Law Calculator develops

Where Mole Fraction Earns Its Keep

  • Gas laws: partial pressures, Dalton, mixing entropy ΔS = −R Σ nᵢ ln χᵢ.
  • Colligative properties: Raoult vapor pressure and, via molality conversion, freezing/boiling shifts.
  • Thermodynamics of solutions: activity ≈ χ in ideal solutions — the reference state itself.
  • Its weakness: χ says nothing about volume, so reaction kinetics still want molarity.

Related Tools

Frequently Asked Questions

How do you calculate mole fraction?

Divide the component’s moles by total moles of all components: χᵢ = nᵢ ÷ (n₁ + n₂ + …). 2 mol among 10 total gives χ = 0.200 (20 mol%). All components’ fractions sum to exactly 1.

Mole fraction vs mole percent vs mass fraction?

Mole percent is just χ × 100. Mass fraction divides masses instead of moles — equal for identical species, wildly different when molar masses differ (1 mol water + 1 mol ethanol: 50 mol% each, but 28/72 by mass). Choose by the physics: counting phenomena (pressure, entropy) want mole; weighing phenomena want mass.

How do I get moles from grams?

Moles = mass ÷ molar mass. Our Grams to Moles Calculator and Molar Mass Calculator chain that conversion; then bring the moles here for fractions.

Why doesn’t mole fraction change with temperature?

It’s a pure count ratio — heating changes volumes and densities (so molarity and density drift), but molecule counts stay put. That’s why thermodynamics states solution compositions in χ or molality, the two temperature-proof units.

What’s the mole fraction of oxygen in air?

≈ 0.2095 (20.95 mol%) in dry air, with nitrogen 0.7808 and argon 0.0093. At sea-level pressure (101.325 kPa) that makes oxygen’s partial pressure ≈ 21.2 kPa — the physiologically operative number for lungs and engines alike.

Is this mole fraction calculator free?

Yes — free, instant, no sign-up.