The distribution of the group compositions in gasoline can be obtained from the molecular composition matrix of gasoline.