Question: how long from lhr to lgw?
Answer: The absolute minimum time between flights without contingency that you should contemplate making a transfer between Heathrow and Gatwick is 3 hours - and that is with a through flight ticket using Terminal 5 at Heathrow. You really need to allow 4 hours.