A new method was proposed to predict the compressive bearing capacity of driven piles based on the number of hammer strikes in the last one meter of pile penetration (known here as Flap number). To collect the data, a literature review was done on technical publications and pile driving record reports that were accessible to the authors at the time of publication. The data of a hundred driven piles including Flap number, basic properties of the surrounding soil, pile geometry, and pile-soil friction angle was collected. These data were initially used in the artificial neural network to establish a relation for predicting pile capacity. Subsequently, by using genetic programing and linear regression, equations for determining pile bearing capacity with respect to the Flap number, soil parameters, and pile geometries were proposed. Finally, the performance of all applied methods in predicting the pile bearing capacity were compared. The utmost importance was given to the comparison of the accuracy of the three models as well as the error estimation.