This repository contains a jupyter notebook and data for the statistical subgrid clumping model presented in Buck et al. 2021b. Section "Theoretical model" contains the equations to calculate the cloud scale covering fraction as derived in section 2 and 3 of Buck et al. 2021. We accompany this with a little example how to sample valid clumping factors for a given ISM density following Fig. 4 of Buck et al. 2021. With this it should be straight forward to employ this model. Additionally it contains the plotting routines to recreate all figures from that paper. If you are using this model or parts of the code or data provided with jupyter notebook wekindly ask youto cite the corresponding paper as well as acknowledging the original source of the simulation data, the SILCC project (Walch et al. 2015, http://silcc.mpa-garching.mpg.de)