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