When should you stop drinking coffee?
Choose your bedtime and your drink. See what the model estimates.
Calculator inputs
Drinks
Your caffeine estimate
Example
Estimated caffeine at bedtime
18.4 mg
Illustrative coffee cutoff
1:00 PM
5-hour half-life · Two-half-life planning model
Showing the default espresso example until you change an input.
Educational estimate, not a guaranteed safe cutoff.
Caffeine over time
Modelled remaining caffeine in mg, with bedtime marked.
Add a complete drink to see the graph.
Share this estimate
Export your current result. The copied website link does not store or recreate your drink schedule.
Enter a valid bedtime and drink time before sharing an image of the estimate.
An ordinary same-day estimate does not need dates. Change them here when a drink was on another day, or when daylight saving makes a time skipped or repeated.
The default is 5 hours. The planning time uses two half-lives and does not move when the drink size changes.
The planning time is two half-lives before bedtime. At the default 5-hour half-life, that is 10 hours. The drink size does not move that time. The bedtime figure adds every drink from the minute you enter. This is not a blood test.
10 hours before your bedtime using the default two-half-life planning model.
This is an educational planning model, not a medical diagnosis or a measurement of caffeine in your blood. It cannot tell you how you will sleep.
Add a complete drink to see the graph.
Research reference
Research example, kept separate from the planning time: in one study of healthy adults, 400 mg of caffeine taken 0, 3, or 6 hours before bed reduced total sleep time even at 6 hours (Drake et al., Journal of Clinical Sleep Medicine 2013;9(11):1195-1200). That study is not a personal cutoff and not a leftover-caffeine target.