Dense wavelength division multiplexing (DWDM) is considered as a mainstream solution for 5G optical transmission networks to confront increasing bandwidth demand. In such a dense multiwavelength system, the four wave mixing (FWM) non-linear effect limits the achievable transmission distance and channel capacity. For this reason, and to the best of our knowledge, a new unequal channel allocation (UCA) has been introduced in this paper based on new closed-form equations to reduce the FWM crosstalk in the DWDM optical long-haul network. The proposed channel allocation has been investigated based on several design parameters that affect FWM nonlinear crosstalk, such as total transmission distance, channel frequency spacing, the number of WDM channels, and the input power per channel. The suggested technique has further been compared with a previous model proposed by other authors to prove the effectiveness of this work. The simulation results have been examined and validated by analysing the optical spectrum analyser and the power of the FWM spectral products. Results demonstrate the reliability and the efficiency of the developed method.