Roughness significantly affects the shear behavior of rock joints, which are widely encountered in geotechnical engineering. Since the existing calculation methods on the joint roughness coefficient (JRC) fail to obtain a sufficiently accurate value of JRC, a new determination method was proposed in this study, where the 3D laser scanning technique and self‐compiled Python code, as well as the statistical parameter methods, were applied. Then, the shear strength of jointed rock was evaluated via Barton′s model, and therefore, a comprehensive comparison between the calculating results and experimental results was executed. Ultimately, the influencing factors of roughness profile extraction on the accuracy of JRC value, such as the measuring point interval, profile number, and measuring direction, were investigated. The results show that (1) equipped with the 3D laser scanning technique, the roughness profiles can be accurately extracted via the self‐compiled Python code, (2) an excellent consistency of shear strength could be observed between the calculating value and experimental results, verifying the validity and accuracy of the proposed method, and (3) a smaller measuring point interval can produce a more accurate digital profile and more accurate JRC value. To a certain extent, the more the sample numbers of profiles, the smaller the value of JRC.