Yet another option is to take the coach (bus) from any of the Heathrow coach stations into London's Victoria Station area. You will arrive into Victoria Coach Station, just across the street from the train station. You might wish to stay in that area. Convenient area for getting around London--many tube lines run through there.
Then on your day of departure, take the Gatwick Express from Victoria Station to Gatwick airport.
It is an express rail passenger service. Buy your tickets in advance to get a good price.
Or you can take a regular (less expensive, slower) train from Victoria to Gatwick.
Even though you'd check out of your hotel after breakfast, you could leave your bags with the hotel while sightseeing and pick them up later in the afternoon/evening when you make your trip to Gatwick. (Another good reason to select a hotel very near Victoria Station.)
Hotels in the area of Victoria Station include a very nice Best Western, a Doubletree by Hilton, and The Victoria Clermont hotel. Just around the corner is the lovely boutique hotel The Lime Tree, very popular with our forum members.
https://www.limetreehotel.co.uk/