How it's calculated
The calculator adds up the caffeine in each drink, compares the total with the FDA's figure of 400 mg a day for healthy adults, and then estimates how much is still in your body through the day.
caffeine left at time T = Σ dose × 0.5(hours since that drink ÷ half-life)
The half-life is the time your body takes to clear half the caffeine. EFSA gives an average of about 4 hours for healthy adults, with a range of 2 to 8 hours, and CDC NIOSH material puts it at 5 to 6 hours. The calculator uses 5 hours unless you change it. It treats each drink as absorbed when you drink it, which is a simplification: caffeine actually takes a little time to reach your blood.
Caffeine in common drinks
| Drink | Typical caffeine |
|---|---|
| Brewed coffee, 8 oz | 96 mg |
| Espresso, 1 oz | 63 mg |
| Instant coffee, 8 oz | 62 mg |
| Black tea, 8 oz | 48 mg |
| Green tea, 8 oz | 29 mg |
| Bottled tea, 8 oz | 26 mg |
| Cola, 8 oz | 33 mg |
| Citrus soda with caffeine, 8 oz | 36 mg |
| Energy drink, 8 oz | 79 mg |
| Energy shot, 2 oz | 200 mg |
These are typical amounts from the Mayo Clinic's chart. The citrus soda figure is for caffeinated citrus sodas; most citrus sodas have 0 mg, so check the label. Real drinks vary a lot. The FDA gives 113 to 247 mg for 12 oz of brewed coffee, 23 to 83 mg for 12 oz of caffeinated soda, and 41 to 246 mg for 12 oz of energy drink. If your drink's label lists caffeine, enter it under "Other caffeine".
Worked example
A cup of coffee at 7:00 AM (96 mg), another at noon (96 mg) and a 12 oz cola at 3:00 PM (1.5 × 33 = 49.5 mg):
left at 10:00 PM = 96 × 0.515/5 + 96 × 0.510/5 + 49.5 × 0.57/5
= 12.0 + 24.0 + 18.8 = 54.8 mg
So about 55 mg, more than half a cup of coffee's worth, is still in your body at bedtime. With a 4-hour half-life it would be about 39 mg; with 6 hours, about 69 mg.
Limits and who should be careful
- 400 mg is for healthy adults. The FDA notes that people differ widely in how sensitive they are to caffeine and how fast they clear it.
- Pregnancy and breastfeeding: the FDA advises talking with your health care provider about limiting caffeine.
- Children and teens: medical experts advise against energy drinks for them, and the Dietary Guidelines say children under 2 should avoid caffeinated drinks.
- Large amounts fast are dangerous. The FDA says toxic effects such as seizures can occur with rapid consumption of around 1,200 mg, for example from caffeine powders.
- Smoking speeds up caffeine clearance, and oral contraceptives slow it, according to a 2022 review of caffeine studies, so your own half-life may be shorter or longer.
Sources
- FDA: Spilling the beans: how much caffeine is too much? — 400 mg a day for most adults, and caffeine ranges for common drinks.
- EFSA explains: Caffeine (2015) — average half-life about 4 hours in healthy adults, range 2 to 8 hours.
- CDC NIOSH: Caffeine and long work hours (archived) — a half-life of 5 to 6 hours.
- Mayo Clinic: Caffeine content for coffee, tea, soda and more — the typical amounts used in the drink list.
- Grzegorzewski J, Bartsch F, Köller A, König M. Pharmacokinetics of caffeine: a systematic analysis of reported data for application in metabolic phenotyping and liver function testing. Front Pharmacol 2022;12:752826 — smoking speeds caffeine clearance; oral contraceptives slow it.