Nanopore structure and its multiscale feature significantly affect the shale-gas permeability. This paper employs fractal theory to build a shale-gas permeability model, particularly considering the effects of multiscale flow within a multiscale pore space. Contrary to previous studies which assume a bundle of capillary tubes with equal size, in this research, this model reflects various flow regimes that occur in multiscale pores and takes the measured pore-size distribution into account. The flow regime within different scales is individually determined by the Knudsen number. The gas permeability is an integral value of individual permeabilities contributed from pores of different scales. Through comparing the results of five shale samples, it is confirmed that the gas permeability varies with the pore-size distribution of the samples, even though their intrinsic permeabilities are the same. Due to consideration of multiscale flow, the change of gas permeability with pore pressure becomes more complex. Consequently, it is necessary to cover the effects of multiscale flow while determining shale-gas permeability.