Across comparable stats, Gerhard Erasmus leads 1–11.
Test
| Khaled Mahmud | Stat | Gerhard Erasmus |
|---|---|---|
| 12 | Matches | - |
| 23 | Innings | - |
| 266 | Runs | - |
| 12.09 | Average | - |
| 58.46 | Strike rate | - |
| 45 | Highest | - |
| 0 | Hundreds | - |
| 0 | Fifties | - |
| 30 | Fours | - |
| 3 | Sixes | - |
| 13 | Wickets | - |
| 64.00 | Bowling average | - |
| 3.08 | Economy | - |
| 4/37 | Best bowling | - |
| 1 | 5 wickets | - |
ODI
| Khaled Mahmud | Stat | Gerhard Erasmus |
|---|---|---|
| 77 | Matches | 83 |
| 72 | Innings | 80 |
| 991 | Runs | 2840 |
| 14.36 | Average | 39.44 |
| 67.83 | Strike rate | 81.42 |
| 50 | Highest | 156* |
| 0 | Hundreds | 3 |
| 1 | Fifties | 22 |
| 90 | Fours | 230 |
| 7 | Sixes | 66 |
| 67 | Wickets | 62 |
| 42.76 | Bowling average | 27.17 |
| 5.07 | Economy | 4.75 |
| 4/19 | Best bowling | 5/28 |
| 1 | 5 wickets | 1 |
T20I
| Khaled Mahmud | Stat | Gerhard Erasmus |
|---|---|---|
| - | Matches | 92 |
| - | Innings | 88 |
| - | Runs | 2327 |
| - | Average | 33.24 |
| - | Strike rate | 129.92 |
| - | Highest | 100* |
| - | Hundreds | 1 |
| - | Fifties | 16 |
| - | Fours | 177 |
| - | Sixes | 90 |
| - | Wickets | 70 |
| - | Bowling average | 16.41 |
| - | Economy | 6.12 |
| - | Best bowling | 4/20 |
| - | 5 wickets | 1 |