Lewis Hamilton is set to become the best-paid sportsperson in British history after signing a two-year contract extension with F1 champions Mercedes.Hamilton’s new deal is worth up to £40million-a-year, and ensures he will remain at Mercedes until the end of 2020.His future has been in doubt for the past several months, with no indication on whether he would be staying put or not.There were rumours he could jump ship and join Ferrari, with the famous red car improving drastically this season, but there was also talk of a shock retirement given his interests away from the sport.It's well known that Hamilton loves his fashion and extreme sports, so there were fears inside Mercedes that he could leave Formula One altogether to focus on his personal life and other hobbies.However, those rumours have now been put to bed as he's extended his stay for a further two years.Earlier this week, Toto Wolff admitted that he'd love to see Hamilton retire at Mercedes and sign a five-year deal, but for now, it's just a further two years, which is likely to be long enough to see him remain at the team until he does call time on his illustrious career.Here, Press Association Sport have taken a look at the remarkable numbers behind Hamilton’s extraordinary new contract.Warning, it's pretty incredible.£1,900,000 – how much Hamilton will earn per-race based on a 21-Grand Prix calendar.£3,300,000 – Hamilton is due to pocket more than £3m every month.£769,230 – The Englishman will earn close to three-quarters-of-a-million pounds every week.£109,589 – He will also take home in excess of £100,000 a day.

£4,566; Hamilton’s earnings per hour and £76.10; his earnings per minute.

Hamilton could also buy:

1,600 A-Class Mercedes

998,751 Mercedes F1 baseball caps

727,404 England World Cup shirts

2 Private Jets

So, as you can see, there's reason to be cheerful for both parties.

Mercedes keep their star asset and multi-time world champion, and Hamilton himself is taking home a fair sum of money.