Understanding the behavior of the borehole temperature recovery process, which influences drilling operations, requires an adequate estimation of fluid temperature. The presence of salt in a saline formation changes the composition of the annular fluid and has a significant impact on the fluid temperature distribution during drilling operations. As a result, while drilling a saline formation, it is vital to examine the key parameter that determines an accurate estimate of fluid temperature. Using python software and statistical quantitative methods, this study proposes a simplified user-friendly computational system that analyzes the drilling fluid systems performance evaluation and selection optimization.The fluid temperature distribution of X Field in China was analyzed using Shan mathematical model as a base model. When compared to MWD data from the field, the model predicted the temperature distribution of the field with less than 10% error. An adjustment factor was introduced to the base model to accommodate for changes in annular fluid composition while drilling a saline formation. The findings show that salt concentration has an impact on fluid temperature distribution during drilling. The fluid temperature at the wellbore condition changes by at least 7% with both high and low adjustment factors. Because the salt in the formation inflow dissolves in the drilling fluid near the annulus, the rheology of the fluid combination changes.