Large diameter pipes are an economic solution for traorting fluids such as oil, gas and water. The topography of the earth requires that these pipes get cold field bended during installation. In cold field bending, imperfections such as ovality, wall thinning, flattening and wrinkling may accure, depending on the angle of bending. If the defect is less than the proposed values in the standard, girth welding will be carried out with proper quality. The main objective of this project is to determine the bending capacity of the spirally welded pipes in cold field bending and to investigate the effect of the pipe production process. In this project, in order to study the effect of the manufacturing process on the bending angle, the process of forming the spirally welded pipe X65 in ANSYS software was performed on a three-dimensional scale and the corresponding residual stresses were calculated. A model for simulating guide rollers in pipe forming process has been proposed and its effect on the distribution of residual stresses in the tube has been investigated. In the next step, an attempt was made to produce a sub-program for transferring the residual stresses of the forming and welding of the process of the spiral welded pipe manufacturing to the pipe in order to examine the bending behavior of the pipe. The sub-program presents the ability to transfer residual stress and strain to the model as well as spiral meshing of the pipe. At the end, the cold field bending of the pipe is simulated and the effect of the residual stresses of the forming and welding of the spirally welded pipe production process on the cold field bending and its geometric defects, especially ovality, is investigated.The results of the simulation of the strip forming process show that the residual stresses in the whole pipe are constant and uniform which change only in the direction of its thickness. The results of the simulation of the cold field bending process also show that, if the inclining of the spirally welded with the bending plane is not compliant, the ovality of spirally welded pipe changes slightly (1.4%) relative to the seamless pipe. Keywords: Spirally welded pipe, Residual stress, Cold field bending, ovality