The method of composite stiffness principle and biparameter for laterally loaded pile was used in this paper to calculate the amplitude of deflection and rotation of pile on the ground when the vibration frequency of dynamic load is equal to or close to the natural frequency of pile, i.e. when the pile is in the state of resonance. And the amplitude of the maximum bending moment and its location was also calculated. Then the finite difference method which is simple in principle and easy to program was used to calculate the displacement, soil side resistance and internal forces of pile under horizontal dynamic load. By choosing reasonable parameters, rotation, displacement, and the maximum bending moment of hollow concrete pile and solid pile under the same dynamic loads at pile top in the same geological conditions were calculated respectively. On this basis, the performance differences between hollow pile and solid pile were analyzed. Some advantages of hollow pile were obtained. This research provides a theoretical guidance for the using of hollow pile in engineering.