A quantum chemical computational scheme for the calculation of isomer shift in Mossbauer spectroscopy is suggested. Within the described scheme, the isomer shift is treated as a derivative of the total electronic energy with respect to the radius of a finite nucleus. The explicit use of a finite nucleus model in the calculations enables one to incorporate straightforwardly the effects of relativity and electron correlation. The results of benchmark calculations carried out for several iron complexes as well as for a number of atoms and atomic ions are presented and compared with the available experimental and theoretical data.