Statement of the problem. The existing methods do not always allow one to estimate the allocation of harmful substances in the production of building materials, therefore the problem of the development of mathematical models of the concentration patterns of hazardous substances and its use for environmental safety assessment is important. The approach to numerical modelling of processes of ventilation consists of construction and numerical analysis of a set of equations based on the equations of a mechanics of continuous environments and the algorithms for their solution using the modern information technology is proposed. Results. The mathematical model of transfer processes of the harmful substances, including the continuity equations, Navier-Stokes, the equations of k-epsilon turbulence models, a transfer equation of heat and a transfer equation of a hazardous substance with applicable initial and boundary conditions is elaborated. The mathematical model is implemented in the form of programs in the environment of package MatLab in a combination with a programming language C ++. Conclusions. The outcomes obtained by means of the mathematical models of processes of ventilation, allow one to estimate the effect of various factors on the process of forming of fields of velocities, temperatures of air streams and concentration of hazardous substances and based on that, to improve the effectiveness of the systems of organizing a microclimate. The outcomes obtained using the model will enable a choice of the effective scheme and magnitude of an air exchange for facilities with outtake streams and convection streams and with the emission of hazardous substances lighter and heavier than air.