The invention relates to a while-drilling well logging curve real-time comparison method and belongs to the technical field of horizontal well drilling. According to the technical scheme, the comparison method comprises the steps that firstly, the depths from measurement depth to vertical depth are calculated; secondly, the target layer is selected as a datum plane, the RSD (Relative Strata Depth) of a target point is calculated according to the vertical depth of the target point and the vertical depth of the datum plane, and accordingly the RSD calibration standard is built; and thirdly, a stratigraphic section is horizontally moved or rotated, and when the shape of an RSD curve of a horizontal segment is consistent with the shape of an RSD curve of a guide eye well under RSD coordinates, the stratum adjusting work is completed. The comparison method is related to the stratum shape in the correction process, so the method can be used for inspecting whether the understanding of a stratum dip angle is correct or not and used for stratum identification in the tracking process of horizontal well drilling; and by means of the comparison method, the obtained curve of the horizontal segment can be projected on a perpendicular path, the RSD calibration serves as the standard, the shape of a well logging curve of the horizontal segment and the shape of a well logging curve of the guide eye well are made to be the same, direct comparison between the curves is achieved, and the real-time performance and the accuracy of the tracking work are improved advantageously.