Composite materials such as fiber-reinforced composites (FRP) are extensively used in today's industries such as aerospace, automotive, and shipping because of their high specific strength and high specific stiffness. In addition, they have good thermal resistance, corrosion resistance, damping resistance, and dimensional stability. But, due to the inhomogeneous composition of these materials, machining of composite materials becomes a major concern in the industry. For the present study, machining was carried out at a CFRP composite pipe with bidirectional carbon fiber. Based on the experimental results, regression analysis was conducted to determine the input-output relationships of the process. A mathematical model was developed to predict the responses, and correlation graphs were plotted. The regression equations were then plotted and the effects of each process parameter on the response were analyzed using the response surface methodology. The process parameters were then optimized using genetic algorithm to yield minimum cutting force and minimum surface roughness.