what is the difference between composition and mole fraction?
Whereas mole fraction is a ratio of moles to moles, molar concentration is a quotient of moles to volume. The mole fraction is one way of expressing the composition of a mixture with a dimensionless quantity; mass fraction (percentage by weight, wt%) and volume fraction (percentage by volume, vol%) are others.