Spatial variability of soil parameter distribution is crucial to calculating the pile foundation failure probability. Traditional reliability design methods describe the dispersion degree of soil parameters with their point variance without considering the influence of correlation distance. In this paper, static cone penetration test data of a project site are used, and random field theory is introduced to describe the average spatial characteristics of soil parameters. Then, the method of spatial average is used to calculate the correlation distance of soil parameters in each foundation soil layer. Given the influence of the correlation distance, a variance reduction function is determined to convert point variance to spatial mean-variance and further calculate the failure probability of pile foundation with the Monte Carlo method to study the influence of correlation distance on pile foundation failure probability. Results show that the spatial variability of parameters can be better reflected, and project cost can be reduced by considering the influence of correlation distance during the pile foundation design process. These results lay a foundation for further research on the pile foundation reliability design method.