Last meal or snack
20:00
Bedtime
23:00
Calories in your day (an example, not a target)
2000 kcal
Share of the day eaten after 20:00
30%
3 h
between your last meal and bed
Your evening, 18:00 to 02:00
18:00
20:00
22:00
00:00
02:00
after 20:00
gap before bed
Gap = bedtime minus last meal. Calories after 20:00 = day total × share. Plain arithmetic to make the idea concrete, not a prediction of what you will weigh. The 20:00 line is only a reference point.