01 / 20

Mass & Mole
Fractions

Learn how to describe mixture composition using mass fractions and mole fractions: the two fundamental ways to quantify what's in a mixture.

Thermodynamics

What Is a Mixture?

In thermodynamics, we rarely work with pure substances alone. Most real systems—such as air, combustion gases, and refrigerant blends—are mixtures of two or more chemical species.

To analyze these systems, we need a precise way to state how much of each component is present. That is where composition measures come in.

Defining Mass Fraction

The mass fraction of component \(i\) in a mixture is the ratio of the mass of that component to the total mass of the mixture:

\( \text{mf}_i \)
Mass fraction of component \(i\). Dimensionless, between 0 and 1.
\( m_i \)
Mass of component \(i\) in kilograms (or any consistent unit).
\( m_{\text{total}} \)
Total mass of the mixture: the sum of all component masses.

Defining Mole Fraction

The mole fraction of component \(i\) is the ratio of the number of moles of that component to the total number of moles in the mixture:

\( y_i \)
Mole fraction of component \(i\). Also dimensionless, between 0 and 1.
\( n_i \)
Number of moles of component \(i\) in the mixture.
\( n_{\text{total}} \)
Total moles in the mixture: the sum of all component moles.

The Sum-to-One Rule

A critical property of both mass fractions and mole fractions: they always sum to exactly 1 for any mixture.

This means if you know the fractions of all but one component, you can calculate the last one by subtraction. For a binary mixture with components A and B:

Visualizing Composition

Consider dry air as a mixture. By mole fraction it is roughly 78% \( \text{N}_2 \), 21% \( \text{O}_2 \), and 1% Ar.

\( \text{N}_2 \)
78%
\( \text{O}_2 \)
21%
\( \text{Ar} \) 1%
Mole-fraction composition of dry air

Converting Between Mass & Mole Fractions

Since \( m_i = n_i \, M_i \), where \( M_i \) is the molar mass of component \(i\), we can derive conversion formulas.

Average Molar Mass of a Mixture

The average (or apparent) molar mass \( M_{\text{mix}} \) is the mole-fraction-weighted average of component molar masses. It relates the total mass and total moles of the mixture.

Knowing \( M_{\text{mix}} \) provides a direct way to convert from mole fractions to mass fractions:

Mass Fraction vs. Mole Fraction

Mass Fraction \(\text{mf}_i\) Mole Fraction \(y_i\)
Based on Mass (kg) Moles (mol)
Formula \( m_i / m_{\text{total}} \) \( n_i / n_{\text{total}} \)
Depends on \(M_i\)? Indirectly Indirectly
Common use Gravimetric analysis, industry labels Ideal-gas mixtures, Dalton's law
Sum \( \sum \text{mf}_i = 1 \) \( \sum y_i = 1 \)
Equal when? Only if all \( M_i \) are equal

Step-by-Step Method

1
Identify given data: masses, moles, or existing fractions for each component.
2
Look up molar masses \(M_i\) for every species from a periodic table or data sheet.
3
Convert to a common basis: if given masses, compute moles via \( n_i = m_i / M_i \); if given moles, compute masses via \( m_i = n_i \, M_i \).
4
Compute totals: sum all masses for \( m_{\text{total}} \) or all moles for \( n_{\text{total}} \).
5
Calculate fractions: divide each component's value by the total. Verify they sum to 1.

Example 1: Mass Fractions from Masses

A gas mixture contains 3 \(\text{kg}\) of \( \text{N}_2 \) and 1 \(\text{kg}\) of \( \text{O}_2 \). Find the mass fraction of each component.

Total mixture
\( \text{N}_2 \)
\( 3 \text{ kg} \)
\( \text{O}_2 \)
\( 1 \text{ kg} \)

Example 2: Mole Fractions from Masses

Using the same mixture (3 \(\text{kg}\) \( \text{N}_2 \), 1 \(\text{kg}\) \( \text{O}_2 \)), find the mole fractions. Molar masses: \( M_{\text{N}_2} = 28 \text{ g/mol} \), \( M_{\text{O}_2} = 32 \text{ g/mol} \).

1
Convert to moles: \( n_{\text{N}_2} = \frac{3000}{28} = 107.14 \text{ mol} \)     \( n_{\text{O}_2} = \frac{1000}{32} = 31.25 \text{ mol} \)
2
Total moles: \( n_{\text{total}} = 107.14 + 31.25 = 138.39 \text{ mol} \)
3
Mole fractions: \( y_{\text{N}_2} = \frac{107.14}{138.39} \approx \) 0.774     \( y_{\text{O}_2} = \frac{31.25}{138.39} \approx \) 0.226

Example 3: Conversion via \(M_{\text{mix}}\)

A gas has mole fractions \( y_{\text{CO}_2} = 0.10 \), \( y_{\text{N}_2} = 0.70 \), \( y_{\text{O}_2} = 0.20 \). Find the mass fractions. Use \( M_{\text{CO}_2} = 44 \text{ g/mol} \), \( M_{\text{N}_2} = 28 \text{ g/mol} \), \( M_{\text{O}_2} = 32 \text{ g/mol} \).

1
Average molar mass: \( M_{\text{mix}} = 0.10(44) + 0.70(28) + 0.20(32) = 4.4 + 19.6 + 6.4 = \) 30.4 \(\text{g/mol}\)
2
Mass fractions:
\( \text{mf}_{\text{CO}_2} = \frac{0.10 \times 44}{30.4} = \) 0.145     \( \text{mf}_{\text{N}_2} = \frac{0.70 \times 28}{30.4} = \) 0.645     \( \text{mf}_{\text{O}_2} = \frac{0.20 \times 32}{30.4} = \) 0.211
3
Check: 0.145 + 0.645 + 0.211 = 1.001 ≈ 1.00 ✓ (rounding)

Conversion Flowchart

Given masses
\( m_1, m_2, \dots \)
Given moles
\( n_1, n_2, \dots \)
Mass fractions
\( \text{mf}_i = \frac{m_i}{m_{\text{total}}} \)
Mole fractions
\( y_i = \frac{n_i}{n_{\text{total}}} \)
Use \(M_i\) to convert
\( M_{\text{mix}} = \sum y_k M_k \)
Bridges both representations

Common Mistakes

✕ Confusing mass & mole fractions
They are not the same unless all species have equal molar masses. Always check which one the problem asks for.
✕ Unit mismatch on \(M_i\)
If masses are in \(\text{kg}\), use \(M_i\) in \(\text{kg/mol}\) (or convert masses to \(\text{g}\)). Mixing \(\text{g}\) and \(\text{kg}\) silently gives wrong answers.
✕ Forgetting the sum-to-one check
Always verify \(\sum \text{mf}_i = 1\) and \(\sum y_i = 1\). If they don't, you have an arithmetic error.

Question 1 of 5

A mixture contains 2 \(\text{kg}\) of gas A and 3 \(\text{kg}\) of gas B. What is the mass fraction of gas A?

Question 2 of 5

In an ideal-gas mixture, the mole fractions of all components must:

Question 3 of 5

A binary mixture has \(\text{mf}_A = 0.35\). The mass fraction of component B is:

Question 4 of 5

You have 2 \(\text{mol}\) of He (\(M = 4 \text{ g/mol}\)) and 3 \(\text{mol}\) of Ar (\(M = 40 \text{ g/mol}\)). What is the mass fraction of He?

Question 5 of 5

To convert mass fractions to mole fractions, you divide each \(\text{mf}_i\) by: