Across comparable stats, AB de Villiers leads 28–7.
Test
| AB de Villiers | Stat | Kasun Rajitha |
|---|---|---|
| 114 | Matches | 19 |
| 191 | Innings | 26 |
| 8765 | Runs | 145 |
| 50.66 | Average | 6.90 |
| 54.51 | Strike rate | 24.91 |
| 278* | Highest | 22 |
| 22 | Hundreds | 0 |
| 46 | Fifties | 0 |
| 1024 | Fours | 16 |
| 64 | Sixes | 0 |
| 2 | Wickets | 55 |
| 52.00 | Bowling average | 31.43 |
| 3.05 | Economy | 3.29 |
| 2/49 | Best bowling | 5/56 |
| 0 | 5 wickets | 1 |
ODI
| AB de Villiers | Stat | Kasun Rajitha |
|---|---|---|
| 228 | Matches | 34 |
| 218 | Innings | 19 |
| 9577 | Runs | 117 |
| 53.50 | Average | 9.75 |
| 101.09 | Strike rate | 63.58 |
| 176 | Highest | 33 |
| 25 | Hundreds | 0 |
| 53 | Fifties | 0 |
| 840 | Fours | 14 |
| 204 | Sixes | 1 |
| 7 | Wickets | 43 |
| 28.85 | Bowling average | 36.11 |
| 6.31 | Economy | 6.10 |
| 2/15 | Best bowling | 4/50 |
| 0 | 5 wickets | 2 |
T20I
| AB de Villiers | Stat | Kasun Rajitha |
|---|---|---|
| 78 | Matches | 18 |
| 75 | Innings | 8 |
| 1672 | Runs | 31 |
| 26.12 | Average | 10.33 |
| 135.16 | Strike rate | 58.49 |
| 79* | Highest | 9* |
| 0 | Hundreds | 0 |
| 10 | Fifties | 0 |
| 140 | Fours | 2 |
| 60 | Sixes | 0 |
| 0 | Wickets | 17 |
| - | Bowling average | 36.17 |
| - | Economy | 9.31 |
| - | Best bowling | 3/29 |
| 0 | 5 wickets | 0 |