The molar fraction of a component i {\displaystyle i} in a mixture is defined as:
where n i {\displaystyle n_{i}} is the number of moles of component i {\displaystyle i} .