How long caffeine lasts
Caffeine is absorbed within about an hour and then broken down by the liver at a steady rate. The time it takes your body to clear half of it is its half-life. For most healthy adults that's around 5 hours, but it ranges widely, from roughly 1.5 to 9.5 hours.
So if you drink 200 mg at 2 PM, about 100 mg is left at 7 PM and about 57 mg at 11 PM. Every drink follows its own curve, and they stack: an afternoon coffee lands on top of whatever's left from the morning.
What changes your half-life
- Smoking: speeds clearance up, roughly halving the half-life.
- Pregnancy: slows it down sharply, to as long as 15 hours late in pregnancy.
- Oral contraceptives and some medications: can roughly double it.
- Liver conditions: slow it down.
- Genetics: some people are naturally fast or slow metabolizers.
How much is too much
The US FDA and the European Food Safety Authority both say up to 400 mg a day is not generally associated with harmful effects for healthy adults. EFSA adds that single doses up to 200 mg are fine, and advises up to 200 mg a day during pregnancy. Sensitivity varies a lot, so if caffeine makes you anxious or keeps you up, less is the right amount for you.
This calculator is an estimate for planning, not medical advice.
Caffeine in common drinks
Typical amounts, from USDA data and manufacturers' labels. Coffee in particular varies a lot by bean, brew and cup size.
- Brewed coffee, 8 fl oz (240 ml): about 95 mg
- Espresso, single shot: about 63 mg
- Instant coffee, 8 fl oz: about 60 to 80 mg
- Decaf coffee, 8 fl oz: about 2 to 15 mg
- Black tea, 8 fl oz: about 47 mg
- Green tea, 8 fl oz: about 28 mg
- Cola, 12 fl oz can: about 30 to 40 mg
- Red Bull, 8.4 fl oz can: 80 mg
- Large energy drinks, 16 fl oz: often 150 to 300 mg
- Dark chocolate, 1 oz: about 12 to 25 mg
Caffeine and sleep
You don't have to feel wired for caffeine to hurt your sleep. In a 2013 study in the Journal of Clinical Sleep Medicine, 400 mg of caffeine taken six hours before bed cut total sleep by more than an hour, even though many participants didn't notice the difference.
Caffeine works by blocking adenosine, the chemical that builds up during the day and makes you sleepy. While it's still in your blood, you tend to fall asleep later and get less deep sleep. That's why this calculator looks at what's left at bedtime, not just when you had your last cup.