The conversion to mole fraction  is given by
where  is the average molar mass of the solution,  is the density of the solution.
A simpler relation can be obtained by considering the total molar concentration, namely, the sum of molar concentrations of all the components of the mixture: