Cementation factor is a critical parameter, which affects water saturation calculation. In carbonate rocks, due to the sensitivity of this parameter to pore type, water saturation estimation has associated with high inaccuracy. Hence developing a reliable mathematical strategy to determine these properties accurately is of crucial importance. To this end, genetic algorithm pattern search is employed to find accurate cementation factor by using formation resistivity factor and the porosity obtained from laboratory core analyses with considering the assumption that tortuosity factor is not unity. Subsequently, particle swarm optimization (PSO) fuzzy inference system (FIS) was used for the classification of cementation factor according to the predominated rock pore type by using the input variables such as cementation factor, porosity, and permeability to classify the core samples in three groups, namely fractured, interparticle, and vuggy pore system. Then, the experimental data which was collected from Sarvak formation located in one of the Iran southwestern oil fields was applied to the proposed model. Next, for each class, a cementation factor-porosity correlation was created and the results were used to calculate cementation factor and water saturation profile for the studied well. The results showed that the constructed model could predict cementation factor with high accuracy. The comparison between the model presented herein and the conventional method demonstrated that the proposed model provided a more accurate result with a mean square error (MSE) of around 0.024 and led to an R2 value of 0.603 in calculating the water saturation.