Across comparable stats, AB de Villiers leads 1–30.
Test
| Gavin Hamilton | Stat | AB de Villiers |
|---|---|---|
| 1 | Matches | 114 |
| 2 | Innings | 191 |
| 0 | Runs | 8765 |
| 0.00 | Average | 50.66 |
| 0.00 | Strike rate | 54.51 |
| 0 | Highest | 278* |
| 0 | Hundreds | 22 |
| 0 | Fifties | 46 |
| 0 | Fours | 1024 |
| 0 | Sixes | 64 |
| 0 | Wickets | 2 |
| - | Bowling average | 52.00 |
| 4.20 | Economy | 3.05 |
| - | Best bowling | 2/49 |
| 0 | 5 wickets | 0 |
ODI
| Gavin Hamilton | Stat | AB de Villiers |
|---|---|---|
| 38 | Matches | 228 |
| 38 | Innings | 218 |
| 1231 | Runs | 9577 |
| 35.17 | Average | 53.50 |
| 66.64 | Strike rate | 101.09 |
| 119 | Highest | 176 |
| 2 | Hundreds | 25 |
| 7 | Fifties | 53 |
| 95 | Fours | 840 |
| 11 | Sixes | 204 |
| 3 | Wickets | 7 |
| 53.33 | Bowling average | 28.85 |
| 4.36 | Economy | 6.31 |
| 2/36 | Best bowling | 2/15 |
| 0 | 5 wickets | 0 |
T20I
| Gavin Hamilton | Stat | AB de Villiers |
|---|---|---|
| 12 | Matches | 78 |
| 8 | Innings | 75 |
| 90 | Runs | 1672 |
| 11.25 | Average | 26.12 |
| 81.81 | Strike rate | 135.16 |
| 32 | Highest | 79* |
| 0 | Hundreds | 0 |
| 0 | Fifties | 10 |
| 6 | Fours | 140 |
| 1 | Sixes | 60 |