Across comparable stats, Gerhard Erasmus leads 3–19.
Test
| Hashmatullah Shahidi | Stat | Gerhard Erasmus |
|---|---|---|
| 15 | Matches | - |
| 28 | Innings | - |
| 903 | Runs | - |
| 39.26 | Average | - |
| 47.98 | Strike rate | - |
| 246 | Highest | - |
| 2 | Hundreds | - |
| 2 | Fifties | - |
| 105 | Fours | - |
| 4 | Sixes | - |
| 2 | Wickets | - |
| 169.50 | Bowling average | - |
| 3.80 | Economy | - |
| 1/31 | Best bowling | - |
| 0 | 5 wickets | - |
ODI
| Hashmatullah Shahidi | Stat | Gerhard Erasmus |
|---|---|---|
| 103 | Matches | 83 |
| 101 | Innings | 80 |
| 2752 | Runs | 2840 |
| 34.40 | Average | 39.44 |
| 68.92 | Strike rate | 81.42 |
| 102 | Highest | 156* |
| 1 | Hundreds | 3 |
| 22 | Fifties | 22 |
| 240 | Fours | 230 |
| 16 | Sixes | 66 |
| 0 | Wickets | 62 |
| - | Bowling average | 27.17 |
| 6.42 | Economy | 4.75 |
| - | Best bowling | 5/28 |
| 0 | 5 wickets | 1 |
T20I
| Hashmatullah Shahidi | Stat | Gerhard Erasmus |
|---|---|---|
| 6 | Matches | 92 |
| 4 | Innings | 88 |
| 48 | Runs | 2327 |
| 24.00 | Average | 33.24 |
| 87.27 | Strike rate | 129.92 |
| 36 | Highest | 100* |
| 0 | Hundreds | 1 |
| 0 | Fifties | 16 |
| 5 | Fours | 177 |
| 0 | Sixes | 90 |
| 0 | Wickets | 70 |
| - | Bowling average | 16.41 |
| - | Economy | 6.12 |
| - | Best bowling | 4/20 |
| 0 | 5 wickets | 1 |