For the study of the laterally loaded pile under axial load, most of the past research always confined the surrounding soil of pile in the linear elastic and elastic-plastic. In order to consider the nonlinear property of soil around the pile more realistically and improve the design of single piles under combined vertical and lateral loads, a nonlinear analysis method based on the hyperbola p-y curve model is applied to calculate the lateral response of pile. The relevant computer program is developed by MATLAB language, and the relevant solving algorithm is presented. The reliability of this approach was verified through comparisons with the measured data from model tests. The calculation results indicate that the approach was more convenient and accurate than the existing methods. The proposed method is applicable for laterally loaded pile under axial load in preliminary engineering design.