As a making general system of national safety, the state of protected of man of society, states, determines the problems of ecological safety from unfavorable influence of environment, predefined natural and anthropogenic factors, extraordinarily high technogenic loading on territory of Ukraine. As an expert estimation of ecological risks the computer program of determination of indexes of chemical infection is offered on the basis of the developed mathematical model of distribution of poisonous matters in the ground layer of atmosphere.