Novak Djokovic – Wikipedia

Novak Djokovic and Roger Federer have faced each other 50 times (not including one occasion when there was a walkover in favour of Djokovic), and Djokovic currently leads 27–23. Djokovic leads on hard courts 20–18 as well as grass 3–1, whereas they are split 4–4 on clay.

https://en.wikipedia.org/wiki/Novak_Djokovic