Across comparable stats, Trent Boult leads 5–19.
Test
| Dirk Viljoen | Stat | Trent Boult |
|---|---|---|
| 2 | Matches | 78 |
| 4 | Innings | 94 |
| 57 | Runs | 759 |
| 14.25 | Average | 15.81 |
| 32.75 | Strike rate | 60.00 |
| 38 | Highest | 52* |
| 0 | Hundreds | 0 |
| 0 | Fifties | 1 |
| 6 | Fours | 82 |
| 0 | Sixes | 30 |
| 1 | Wickets | 317 |
| 65.00 | Bowling average | 27.49 |
| 3.71 | Economy | 3.00 |
| 1/14 | Best bowling | 6/30 |
| 0 | 5 wickets | 18 |
ODI
| Dirk Viljoen | Stat | Trent Boult |
|---|---|---|
| 53 | Matches | 114 |
| 43 | Innings | 52 |
| 512 | Runs | 216 |
| 14.22 | Average | 9.00 |
| 61.91 | Strike rate | 77.41 |
| 63* | Highest | 21* |
| 0 | Hundreds | 0 |
| 2 | Fifties | 0 |
| 26 | Fours | 20 |
| 5 | Sixes | 7 |
| 44 | Wickets | 211 |
| 37.25 | Bowling average | 24.38 |
| 4.73 | Economy | 4.99 |
| 3/20 | Best bowling | 7/34 |
| 0 | 5 wickets | 10 |
T20I
| Dirk Viljoen | Stat | Trent Boult |
|---|---|---|
| - | Matches | 61 |
| - | Innings | 15 |
| - | Runs | 58 |
| - | Average | 8.28 |
| - | Strike rate | 90.62 |
| - | Highest | 16 |
| - | Hundreds | 0 |
| - | Fifties | 0 |
| - | Fours | 3 |
| - | Sixes | 2 |
| - | Wickets | 83 |
| - | Bowling average | 21.43 |
| - | Economy | 7.68 |
| - | Best bowling | 4/13 |
| - | 5 wickets | 2 |