Caffeine Half-Life Calculator
Calculate how much caffeine remains in your system at bedtime and when to stop drinking coffee.
Inputs
Results
Caffeine at Bedtime
57 mg
How to Use This Calculator
- Enter the total milligrams of caffeine consumed today.
- Set your consumption time using the hour and minute fields.
- Input your target bedtime hour.
- Review Caffeine at Bedtime in mg to see how much will still be in your system when you sleep.
- Adjust your last caffeine cutoff time until the bedtime level drops below 50 mg for minimal sleep disruption.
How the result changes with Bedtime (24h)
| Bedtime (24h) | Caffeine at Bedtime |
|---|---|
| 21 | 76 mg |
| 22 | 66 mg |
| 24 | 50 mg |
| 25 | 44 mg |
What each input means
- Caffeine Amount
- Caffeine consumed (coffee ~95mg, espresso ~63mg, tea ~47mg)
- Consumption Time (24h)
- Hour you consumed caffeine (24-hour)
- Bedtime (24h)
- Hour you plan to sleep (24-hour)
- Caffeine Metabolism
- How quickly your body processes caffeine
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersCaffeine Amount = 200, Consumption Time (24h) = 14, Bedtime (24h) = 23, Caffeine Metabolism = 2 = 4 input(s) provided
- Calculate Caffeine at BedtimeCaffeine at Bedtime57 = 57
- Calculate Sleep Disruption RiskYes — Above threshold = Yes — Above threshold
- Calculate Latest Safe Coffee TimeLatest Safe Coffee Time = formatTime(safeHour11:23 = 11:23
Engine last updated . Checked against 3 independently-derived tests — how we verify calculators.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Sleep Cycle Calculator
Calculate optimal bedtime and wake time based on 90-minute sleep cycles to wake between cycles.
Sleep ScienceSleep Debt Calculator
Calculate your accumulated sleep deficit and estimate how long recovery will take.
Coffee & TeaCaffeine Content Estimator
Estimate total caffeine intake from coffee, tea, espresso, and energy drinks. See how your intake compares to the FDA daily maximum and how long it takes to metabolize.
Cooking & NutritionCaffeine Intake Calculator
Track your daily caffeine intake from coffee, tea, soda, and energy drinks. Compare against FDA recommendations.
Sleep ScienceCircadian Rhythm Planner
Create a chronotype-based daily schedule for optimal sleep, focus, meals, and exercise.
More in Health & Fitness.