Tap your day of drinks onto the timeline. The curve shows what is left in your body at lights out, and the table gives the latest time for each drink.
0mg left at 23:00
0% of what you drank today0 mg drunk
1. Pick a drink, then tap the timeline
The chosen drink is added at the time you tap (snaps to 15 minutes). Tap again for more.
2. Your bedtime and your body
3 to 7 h in healthy adults, up to 15 h late in pregnancy.
This is your own setting, not a medical limit.
3. Latest time for one drink
Drink
Caffeine
Last sip by
Your day
Sources
Per-serving caffeine and the 200 mg pregnancy limit: NHS, foods to avoid in pregnancy (instant coffee 100 mg, tea 75 mg, cola can 40 mg, 250 ml energy drink 80 mg).
Espresso shot 80 to 100 mg per 30 ml and drip coffee 100 to 125 mg per 120 ml (midpoints used, the mug is 240 ml), half-life 3 to 7 h, up to 15 h in pregnancy, 400 mg a day (EFSA, Health Canada): Wikipedia, Caffeine.
400 mg of caffeine taken 6 hours before bed cut measured sleep by more than an hour in 12 sleepers (Drake et al., J Clin Sleep Med 2013): AASM Sleep Education.
Simple model: the whole drink counts at the moment you tap and then halves every half-life. Real absorption takes a while, labels vary, and this is not medical advice.