Across comparable stats, Dirk Viljoen leads 5–15.
Test
| Mohammad Akram | Stat | Dirk Viljoen |
|---|---|---|
| 9 | Matches | 2 |
| 15 | Innings | 4 |
| 24 | Runs | 57 |
| 2.66 | Average | 14.25 |
| 22.85 | Strike rate | 32.75 |
| 10* | Highest | 38 |
| 0 | Hundreds | 0 |
| 0 | Fifties | 0 |
| 2 | Fours | 6 |
| 0 | Sixes | 0 |
| 17 | Wickets | 1 |
| 50.52 | Bowling average | 65.00 |
| 3.48 | Economy | 3.71 |
| 5/138 | Best bowling | 1/14 |
| 0 | 5 wickets | 0 |
ODI
| Mohammad Akram | Stat | Dirk Viljoen |
|---|---|---|
| 23 | Matches | 53 |
| 9 | Innings | 43 |
| 14 | Runs | 512 |
| 7.00 | Average | 14.22 |
| 41.17 | Strike rate | 61.91 |
| 7* | Highest | 63* |
| 0 | Hundreds | 0 |
| 0 | Fifties | 2 |
| 1 | Fours | 26 |
| 0 | Sixes | 5 |
| 19 | Wickets | 44 |
| 41.57 | Bowling average | 37.25 |
| 4.79 | Economy | 4.73 |
| 2/28 | Best bowling | 3/20 |
| 0 | 5 wickets | 0 |