How much to eat during a race
Under about 75 minutes you don't need to eat while racing. From 1 to 2.5 hours, aim for 30 to 60 g of carbohydrate an hour. Beyond 2.5 hours, 60 to 90 g an hour works if your gut is trained for it, using products that mix glucose and fructose. Start after 30 to 45 minutes and space the rest evenly, finishing about 15 minutes from the end.
These ranges come from the joint position of the American College of Sports Medicine, the Academy of Nutrition and Dietetics and Dietitians of Canada (2016), and Asker Jeukendrup's review in Sports Medicine (2014). Fluid and salt needs vary a lot from person to person, so we give ranges, not targets.
Practise it
Use your race gels on long runs, at race pace, for the last few weeks. A gut that has never had 60 g an hour will complain on race day. Check the race's drinks stations and gel brand on its website, and carry what you need between them.
Hot day forecast? Slow your pace with the heat pace calculator, then print a pace band at the new time.