Ultra-compact all-optical AND logic gate is realized for optical processing and photonic integrated devices with two-dimensional photonic crystal waveguides based on beam interference principle. The performance of the structure is examined and evaluated by optimized parameters such as refractive index and silicon rod radius. The results obtained from a numerical calculation using the finite-difference time-domain (FDTD) method and plane wave expansion method. The photonic crystal based all-optical AND logic gate has benefits of compact size as 38.88 μ𝑚2, operated at low power levels, high transmission ratio and good time response as 0.124 ps. Associated with conventional semiconductor optical amplifiers, Mach-Zehnder interferometer and photonic crystal ring resonators proposed methodology provides better performance with a high achieved more than 97% transmission ratio, at a wavelength of 1.55 μm.