Across comparable stats, AB de Villiers leads 21–4.
Test
| AB de Villiers | Stat | Dean Elgar |
|---|---|---|
| 114 | Matches | 86 |
| 191 | Innings | 152 |
| 8765 | Runs | 5347 |
| 50.66 | Average | 37.92 |
| 54.51 | Strike rate | 47.78 |
| 278* | Highest | 199 |
| 22 | Hundreds | 14 |
| 46 | Fifties | 23 |
| 1024 | Fours | 684 |
| 64 | Sixes | 26 |
| 2 | Wickets | 15 |
| 52.00 | Bowling average | 44.86 |
| 3.05 | Economy | 3.89 |
| 2/49 | Best bowling | 4/22 |
| 0 | 5 wickets | 1 |
ODI
| AB de Villiers | Stat | Dean Elgar |
|---|---|---|
| 228 | Matches | 8 |
| 218 | Innings | 7 |
| 9577 | Runs | 104 |
| 53.50 | Average | 17.33 |
| 101.09 | Strike rate | 58.75 |
| 176 | Highest | 42 |
| 25 | Hundreds | 0 |
| 53 | Fifties | 0 |
| 840 | Fours | 6 |
| 204 | Sixes | 0 |
| 7 | Wickets | 2 |
| 28.85 | Bowling average | 33.50 |
| 6.31 | Economy | 4.18 |
| 2/15 | Best bowling | 1/11 |
| 0 | 5 wickets | 0 |
T20I
| AB de Villiers | Stat | Dean Elgar |
|---|---|---|
| 78 | Matches | - |
| 75 | Innings | - |
| 1672 | Runs | - |
| 26.12 | Average | - |
| 135.16 | Strike rate | - |
| 79* | Highest | - |
| 0 | Hundreds | - |
| 10 | Fifties | - |
| 140 | Fours | - |
| 60 | Sixes | - |