Across comparable stats, Mohammad Sami leads 16–7.
Test
| Mohammad Sami | Stat | Dirk Viljoen |
|---|---|---|
| 36 | Matches | 2 |
| 56 | Innings | 4 |
| 487 | Runs | 57 |
| 11.59 | Average | 14.25 |
| 30.78 | Strike rate | 32.75 |
| 49 | Highest | 38 |
| 0 | Hundreds | 0 |
| 0 | Fifties | 0 |
| 53 | Fours | 6 |
| 4 | Sixes | 0 |
| 85 | Wickets | 1 |
| 52.74 | Bowling average | 65.00 |
| 3.58 | Economy | 3.71 |
| 5/36 | Best bowling | 1/14 |
| 3 | 5 wickets | 0 |
ODI
| Mohammad Sami | Stat | Dirk Viljoen |
|---|---|---|
| 87 | Matches | 53 |
| 46 | Innings | 43 |
| 314 | Runs | 512 |
| 11.62 | Average | 14.22 |
| 64.08 | Strike rate | 61.91 |
| 46 | Highest | 63* |
| 0 | Hundreds | 0 |
| 0 | Fifties | 2 |
| 16 | Fours | 26 |
| 10 | Sixes | 5 |
| 121 | Wickets | 44 |
| 29.47 | Bowling average | 37.25 |
| 4.99 | Economy | 4.73 |
| 5/10 | Best bowling | 3/20 |
| 3 | 5 wickets | 0 |
T20I
| Mohammad Sami | Stat | Dirk Viljoen |
|---|---|---|
| 13 | Matches | - |
| 4 | Innings | - |
| 21 | Runs | - |
| 21.00 | Average | - |
| 70.00 | Strike rate | - |
| 8 | Highest | - |
| 0 | Hundreds | - |
| 0 | Fifties | - |
| 2 | Fours | - |
| 0 | Sixes | - |
| 21 | Wickets | - |
| 18.42 | Bowling average | - |
| 8.41 | Economy | - |
| 3/16 | Best bowling | - |
| 0 | 5 wickets | - |