1. Tap each drink you had today
2. When did you have them?
- Coffee95 mg
3. Bedtime
4. How fast do you clear caffeine?
13 mg still in you at 11:00 PM
About 14% of a cup of coffee, out of 95 mg today.
An estimate, not a lab result: each drink is absorbed over 45 minutes, then halves every 5 hours. Real cups vary by brand and brew; check the label where there is one.
How the calculator works
Caffeine leaves your body at a steady rate: every few hours, half of what's left is gone. That time is the half-life, about 5 hours for a typical adult. So a 95 mg coffee at 3pm still leaves roughly 47 mg at 8pm and about 24 mg at 1am. The calculator adds up every drink this way, assuming each is absorbed over about 45 minutes.
The half-life varies more than most people expect. The FDA notes wide differences in how fast people clear caffeine. Smoking speeds it up; pregnancy, some contraceptive pills and some medicines slow it down a lot. If coffee at lunch keeps you awake at night, pick the slower setting.
Why the bedtime number matters
Caffeine you can't feel can still cost you sleep. In a 2013 study, 400 mg of caffeine taken six hours before bed cut sleep by more than an hour, and the people taking it mostly didn't notice. Less sleep tonight means a harder alarm tomorrow, and more coffee to get through it.
Typical caffeine in common drinks
| Drink | Typical caffeine |
|---|---|
| Brewed coffee, 8 oz | About 95 mg |
| Espresso, one shot | About 64 mg |
| Cold brew, 16 oz | About 200 mg |
| Black tea, 8 oz | About 47 mg |
| Green tea, 8 oz | About 28 mg |
| Cola, 12 oz | About 34 mg |
| Energy drink | 54 to 328 mg per 16 oz, says the FDA |
These are typical figures; real cups vary a lot by bean, brew strength and size. Where there's a label, use it.
How to use the caffeine calculator
- Tap each drink you had today. Something else lets you type an amount in mg.
- Use the − and + buttons to set when you had each one, in 30-minute steps.
- Tap your bedtime, and how fast you clear caffeine. Leave it on Typical unless you know otherwise.
- Read how much caffeine is left at bedtime, and your last call for coffee.
Questions people ask
What is the half-life of caffeine?
About 5 hours for a typical healthy adult, but it varies a lot: shorter in smokers, and much longer in pregnancy and with some medicines. After one half-life, half the caffeine is still in your body.
How long before bed should I stop drinking coffee?
At least six hours. In a 2013 sleep study, caffeine taken six hours before bed still cut sleep by more than an hour, and people mostly didn't notice.
How much caffeine is too much?
The FDA cites 400 mg a day, about two to three 12 oz cups of coffee, as an amount not generally linked with negative effects in most adults. People vary a lot in sensitivity.
How much caffeine is in a cup of coffee?
Typically about 95 mg in an 8 oz cup of brewed coffee and about 64 mg in a shot of espresso, but it ranges widely by bean, brew and cup size.
Read next
- How long after waking up should you drink coffee?
- How to fall asleep fast
- Why am I tired after 8 hours of sleep?
- Sleep debt calculator: Enter last week's sleep and see how much you owe, and how long it takes to pay back.
- Chronotype quiz: Four questions about when you sleep, and whether you're a morning lark or a night owl.
- Sleep calculator: When to go to bed for your alarm, or when to set the alarm for your bedtime.
- Online timer: A countdown timer with a loud alarm at the end. Pick a length or type your own.