The quality of internal air is one of the factors that affect the pace and quality of knowledge acquisition. Therefore, it is important that the classrooms have high air quality. Using computer simulation, the effect of various building ventilation variants on air quality in classrooms was analyzed. As an indicator of air quality, the concentration of carbon dioxide in school halls was assumed.