Caffeine Half-Life Calculator
Estimate remaining caffeine over time so afternoon coffee does not wreck sleep.
Specialized inputs for Caffeine Half-Life 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
Sleep hygiene often fails in the coffee cup. Model residual caffeine against your target bedtime.
Formula
remaining = dose × (0.5)^(hours / halfLife)
Average half-life ~5 hours; genetics, pregnancy, and meds can change it substantially.
Worked example (US)
US: 200 mg at 2 PM with 5h half-life → ~50 mg still around 10 PM.
Worked example (UK)
UK: Double espresso ~80–100 mg mid-afternoon—check residual before a 10 PM lights-out goal.
MetricTray runs this tool entirely in your browser. Inputs are never uploaded to a server, and you can bookmark /tools/caffeine-half-life/ for one-click reuse. Pair it with related utilities on the tools directory or browse practical write-ups on the blog.
Frequently asked questions
Is 5 hours exact?+
It is a population average. Sensitive people should assume longer.
Multiple coffees?+
Sum overlapping residuals from each dose’s timeline.
Medical advice?+
Educational only—ask a clinician for personal guidance.
Related tools
Supporting guide
How to Reduce LLM API Costs Without Killing Product Quality
A practical US/UK playbook for cutting OpenAI, Anthropic, and Gemini spend using token budgets, caching, routing, and client-side cost modeling.