This paper presents an algorithm for the calculation of internal and external doses as an integral part of the mathematical model of atmospheric dispersion. The air pollution dispersion model is used on average annual activity concentration in the air, deposition on soil and field of total annual dose to a hypothetical resident contaminated by air in the vicinity of a nuclear reactor. The results of modeling were compared with values from an IAEA publication for a given scenario of radionuclide emission to the atmospheric boundary layer. Due to small differences in the results, compared to the IAEA recommended model, the model presented in the paper can be used as a basis for this type of analysis. [Projekat Ministarstva nauke Republike Srbije, br. III 45003, br. III 43009 i br. 171007]