A method has been developed for the activation analysis of boron and cadmium, taking into account neutron absorption of the sample. The concept of the screening coefficient, expressing the self-screening of the matrix on the contamination is introduced. A formula is proposed for calculation of the screening coefficient, based on the boron or cadmium ratios for the contaminating elements being determined. Good agreement between experimental and calculated values was obtained.