Optical communication systems provide high data rates to fulfil users’ demands. In addition, the modulation format is essential to the system’s transmission quality and spectral efficiency. Furthermore, the effects of chromatic dispersion, which impair the performance and quality of transmitted signals, are mitigated using dispersion compensation techniques. In optical communication systems, dispersion compensation techniques are essential for preserving signal quality, increasing transmission distances, improving system performance, and offering network designers flexibility. These methods seek to improve signal quality and enable transmission at longer distances by reducing or eliminating the distortion brought on by dispersion. This paper uses a symmetrical compensation technique to analyze the performance of the CSRZ modulation format-based optical communication system. The research is conducted within a communication range of 150–350 km. The system is evaluated in terms of input power, filter order, and filter depth. The results indicate that the proposed system performed better at an input power of 4 dBm using a third-order filter and 60 dB filter depth.