Head to head
0
Hard
1
2
Clay
1
0
Grass
1
Ernests Gulbis's wins on the left · Roger Federer's on the right · bar lengths share one scale
All meetings (5)
| 2015 | Halle | Grass | R16 | Roger Federer | 6-3 7-5 |
| 2014 | Roland Garros | Clay | R16 | Ernests Gulbis | 6-7(5) 7-6(3) 6-2 4-6 6-3 |
| 2010 | Madrid Masters | Clay | QF | Roger Federer | 3-6 6-1 6-4 |
| 2010 | Rome Masters | Clay | R32 | Ernests Gulbis | 2-6 6-1 7-5 |
| 2010 | Doha | Hard | QF | Roger Federer | 6-2 4-6 6-4 |
Methodology
Head-to-head totals and surface splits exclude walkovers (no match was played), which follows ATP convention — walkover meetings still appear in the match list. The momentum chart plots the running lead across all counted meetings, oldest to newest.