Roger Federer will become the oldest world number one in tennis history after winning his quarter-final in Rotterdam.

Federer beat Robin Haase 4-6 6-1 6-1 at the ABN AMRO World Tennis Tournament to ensure he will surpass Rafael Nadal at number one in next Monday’s rankings update.

Here, Press Association Sport picks out some key numbers from Federer’s remarkable career.

36 – Federer is three years older than the previous record holder, Andre Agassi, who was 33 when he last topped the rankings in September 2003.

303 – he will extend his record for time spent at number one with a 303rd week.

20 – Federer holds the men’s record for grand slam singles titles. He is four ahead of Rafael Nadal and only four behind Margaret Court’s overall record.

9 – Wimbledon has been his most successful slam as he is just one short of reaching double figures at SW19.

96 – Federer is closing in on a century of tour-level titles. Only Jimmy Connors (109) has more.

5 – it will be five years and 106 days since Federer was last at the top of the rankings, the longest ever gap between stints.

2 – he has brought Switzerland two Olympic medals in his career – gold in the doubles in 2008, partnering Stan Wawrinka, and silver in the singles at London 2012.

£81.66million – Federer’s record career earnings, which will be boosted further by his prize money in Rotterdam.

14 – The Swiss first climbed to the top of the pile 14 years and 17 days ago, the longest gap between first and most recent spells.