A computer program for recognizing and counting the track of ions that are detected with polycarbonate detector has been written using MATLAB software. There are different programs for counting the track of ions in different detectors. Algorithm of this program specially has been written for polycarbonate detector and also for low magnification of optical microscope. Thus, with this method as per image of optical microscope, greater numbers of ions are visible and general distribution of ions can be better known. However, the accuracy of counting program is very high.