How this works
Your body clears caffeine gradually. The time it takes to clear half of it, the half-life, is about 5 hours for many healthy adults but ranges widely, from under 2 hours to over 9, depending on genetics, pregnancy, smoking, liver function and some medications. The calculator applies that half-life to each drink from the time you had it.
A widely cited study (Drake et al., 2013) found that 400mg of caffeine taken 6 hours before bed still reduced sleep by more than an hour. The FDA says up to 400mg a day is generally not associated with negative effects in healthy adults.
Typical caffeine amounts
- Brewed coffee, 8 oz: about 95mg
- Espresso, single shot: about 63mg
- Black tea, 8 oz: about 47mg · Green tea, 8 oz: about 28mg
- Cola, 12 oz: about 34mg
- Energy drink, 16 oz: 160–300mg (check the can)
- MindStrips Energy strip: 50mg
Amounts vary by brand and brew, so use the label where you can. This is an estimate, not medical advice. If you're pregnant, nursing, under 18 or have a heart condition, ask your doctor about caffeine.
Frequently asked questions
What time should I stop drinking coffee?
For many people, around 8 hours before bed is a practical rule. Enter your drinks above for an estimate based on your own day.
How long does caffeine stay in your system?
With a 5-hour half-life, about half is left after 5 hours and a quarter after 10 hours.
Sources
- Drake C, Roehrs T, Shambroom J, Roth T. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. Journal of Clinical Sleep Medicine. 2013;9(11):1195–1200.
- U.S. Food and Drug Administration. Spilling the Beans: How Much Caffeine is Too Much? Consumer update.