In order to investigate in greater detail the two methods based on Hertz model for analyzing force-distance curve obtained by atomic force microscopy, we acquired the force-distance curves of Hela and MCF-7 cells by atomic force microscopy (AFM) indentation in this study. After the determination of contact point, Young's modulus in different indentation depth were calculated with two analysis methods of "two point" and "slope fitting". The results showed that the Young's modulus of Hela cell was higher than that of MCF-7 cell,which is in accordance with the F-actin distribution of the two types of cell. We found that the Young's modulus of the cells was decreased with increasing indentation depth and the curve trends by "slope fitting". This indicated that the "slope fitting" method could reduce the error caused by the miscalculation of contact point. The purpose of this study was to provide a guidance for researcher to choose an appropriate method for analyzing AFM indentation force-distance curve.