PHP: 8.1.31 | MySQL: 8.0.34

Messi and Ronaldo in national leagues while both played in Spain

Totals Per game
Team Games Goals Assists Goals Assists Contrib.
FC Barcelona 309 329 122 1.06 0.39 1.46
Totals 309 329 122 1.06 0.39 1.46
Lionel Messi
Lionel Messi 37 years, 5 months, 28 days
Totals Per game
Team Games Goals Assists Goals Assists Contrib.
Real Madrid 292 311 87 1.07 0.30 1.36
Totals 292 311 87 1.07 0.30 1.36
Cristiano Ronaldo
Cristiano Ronaldo 39 years, 10 months, 17 days

Last games:

La Liga ·
FC Barcelona vs Real Sociedad
FC Barcelona 1-0 Real Sociedad
Messi, 23′
 
 
20-05-2018
La Liga ·
Villarreal CF vs Real Madrid
Villarreal CF 2-2 Real Madrid
 
C. Ronaldo, 62′
Goal
19-05-2018
Timeframe
Lionel Messi
Cristiano Ronaldo
37 years, 5 months, 28 days+-869 days
39 years, 10 months, 17 days+869 days
9 seasons 0
309 games played +17
292-17
Goals
Lionel Messi
Cristiano Ronaldo
1.06 +-1%
 1.07 goals per game+1%
87.54% goals without penalties +7%
80.39%+-7%
Scores every 79′ -2%
81′–2%
Goal contribution
Lionel Messi
Cristiano Ronaldo
451 total contributions -53
398-53
122 assists (Opta™ criteria) -35
87-35
151 assists (Transfermarkt™ criteria) -56
95-56
Assists every 213′ -35%
289′–26%
Goal contribution every 58′ -9%
63′–8%
In finals
Lionel Messi
Cristiano Ronaldo
0 finals played 0
0 finals won 0
0 finals lost 0
0 goals in finals +0%
0 assists in finals +0%
0.00 goals per game in finals +0%
Scores in finals every 0′ 
Assists in finals every 0′ 
Goal contribution in finals every 0′ 
Titles
Lionel Messi
Cristiano Ronaldo
6/9 titles won +4
2/9-4