Step 1: Definition.
Mole fraction is a way to express the concentration of a component in a mixture. It is defined as the ratio of the number of moles of a component to the total number of moles of all components in the mixture.
\[
\text{Mole fraction of component} = \frac{\text{Number of moles of component}}{\text{Total number of moles in mixture}}
\]
Step 2: Calculation.
For a solution containing two components, A and B, the mole fraction of A, \( X_A \), is given by:
\[
X_A = \frac{n_A}{n_A + n_B}
\]
where \( n_A \) and \( n_B \) are the number of moles of A and B, respectively.