A series of carbazole-based vinyl-benzoxazole derivatives have been synthesized in order to verify whether X-ray diffraction (XRD) simulation can give more information about intermolecular stacking in the gel phase. It was found that their gelation capabilities were strongly dependent on the length of the alkyl chain. The compounds with shorter alkyl chains have lower critical gelation concentrations (CGCs) in nonpolar alkane and alcohols with longer carbon chains. On the other hand, compounds with long alkyl chains presented small CGCs in polar methanol. Powder XRD structure solution gave more information about intermolecular stacking than the traditional way of analyzing diffraction peaks to derive approximate molecular stacking patterns. The results verified that gelators had a similar head-to-tail π-stacking between aromatic groups in gel phases although different slipping angles existed. Moreover, ordered stacking between the alkyl chains was also present.