An algorithm for calculating the defect structure of semiconductor silicon crystals was proposed. The proposed approach makes it possible to calculate the sizes, distribution densities of grown-in microdefects at any point of the crystal. Calculations are performed by using and analyzing the thermal conditions of crystal growth in the temperature range from 1683 K to 300 K. The algorithm flowchart is given.