Across comparable stats, Rahmat Shah leads 3–20.
Test
| Dirk Viljoen | Stat | Rahmat Shah |
|---|---|---|
| 2 | Matches | 15 |
| 4 | Innings | 28 |
| 57 | Runs | 1432 |
| 14.25 | Average | 53.03 |
| 32.75 | Strike rate | 52.01 |
| 38 | Highest | 234 |
| 0 | Hundreds | 5 |
| 0 | Fifties | 7 |
| 6 | Fours | 160 |
| 0 | Sixes | 16 |
| 1 | Wickets | 1 |
| 65.00 | Bowling average | 53.00 |
| 3.71 | Economy | 3.78 |
| 1/14 | Best bowling | 1/30 |
| 0 | 5 wickets | 0 |
ODI
| Dirk Viljoen | Stat | Rahmat Shah |
|---|---|---|
| 53 | Matches | 135 |
| 43 | Innings | 130 |
| 512 | Runs | 4417 |
| 14.22 | Average | 36.20 |
| 61.91 | Strike rate | 72.22 |
| 63* | Highest | 143* |
| 0 | Hundreds | 6 |
| 2 | Fifties | 34 |
| 26 | Fours | 380 |
| 5 | Sixes | 43 |
| 44 | Wickets | 15 |
| 37.25 | Bowling average | 35.46 |
| 4.73 | Economy | 5.87 |
| 3/20 | Best bowling | 5/32 |
| 0 | 5 wickets | 0 |
T20I
| Dirk Viljoen | Stat | Rahmat Shah |
|---|---|---|
| - | Matches | 1 |
| - | Innings | 1 |
| - | Runs | 3 |
| - | Average | 3.00 |
| - | Strike rate | 50.00 |
| - | Highest | 3 |
| - | Hundreds | 0 |
| - | Fifties | 0 |
| - | Fours | 0 |
| - | Sixes | 0 |