Caffeine Half-Life & Bedtime Cutoff Calculator
Estimate remaining caffeine at bedtime and the cutoff time to hit your sleep target.
Specialized inputs for Caffeine Half-Life & Bedtime Cutoff Calculator follow the published formula. Use these fields to explore sensitivity; the guide below has US & UK worked examples.
Working estimate
115
How this calculator works
Caffeine decays exponentially, not linearly. This calculator maps dose and timing to bedtime residual so you pick a cutoff that protects sleep latency.
Formula
remaining = dose × 0.5^(hoursElapsed / halfLifeHours)
Adult half-life is often ~5 hours (range ~3–7). Pregnancy, oral contraceptives, and smoking alter clearance.
Worked example (US)
US: 200 mg coffee at 2pm, 5h half-life → ~100 mg at 7pm; if bedtime is 10pm, residual may still disrupt sleep.
Worked example (UK)
UK: double espresso (~126 mg) at 3pm with 11pm bedtime—cutoff often needs to be late morning for sensitive sleepers.
MetricTray runs this tool entirely in your browser. Inputs are never uploaded to a server, and you can bookmark /tools/caffeine-cutoff/ for one-click reuse. Pair it with related utilities on the tools directory or browse practical write-ups on the blog.
Frequently asked questions
What residual is “safe”?+
Many sleepers aim for under ~50 mg at lights-out; sensitive people prefer near zero. Experiment for a week.
Does tea count?+
Yes—include all sources (coffee, tea, energy drinks, pre-workout, dark chocolate).
Afternoon crash?+
A second dose can stack on residual from morning coffee. Model total body load, not just the last cup.