Considering the trade-off between the computational consumption and quality of diffusion constant calculations, the time-averaging of MSD is performed every 10 or 40 ps through a ten-thousand-record time series in the thermal equilibration state for gas molecules diffusing within GO and graphene membranes, which is validated by yielding an almost linear relation between the MSD and t.