By using Fourier transforms algorithm, the phase difference of the wayeform and the intensity distribution of light beam passing through a pinhole smaller than Airy disk are calculated for first time.