As of July 3, 2023, in competitions covered by FBref, Cristiano Ronaldo had 779 goals and Lionel Messi had 735. Messi had scored 0.89 goals per 90 minutes while Ronaldo had 0.82. You can see up-to-date goal totals for Messi and Ronaldo with FBref's Player Comparison.