About Caffeine Calculator
Caffeine Calculator: Daily Intake, Safe Limits, and Half-Life by Age Group
TL;DR: Select your beverages and quantities — filter coffee (96mg), espresso (64mg), instant coffee (62mg), black tea (47mg), green tea (29mg), cola (34mg), energy drink (80mg), dark chocolate (12mg), decaf (2mg) — and your age group. The calculator totals your intake and compares it against EFSA safe daily limits: Adult 400mg | Pregnant 200mg | Teen 100mg | Child 75mg.
Table of Contents
- Caffeine Per Serving: The Reference Database
- Safe Daily Limits by Age Group
- How the Calculator Works
- Caffeine Half-Life: How Long Does Caffeine Last?
- Caffeine Clearance Time by Age Group
- What Happens When You Exceed the Safe Limit
- Caffeine and Sleep: The Cut-Off Time Rule
- Five Worked Examples
- Caffeine Sensitivity: Why the Same Dose Hits Differently
- Caffeine in Context: Performance, Dependence, and Withdrawal
- FAQ
- Assumptions and Notes
- Further Reading
Caffeine Per Serving: The Reference Database
The calculator uses standardised caffeine-per-serving values based on EFSA dietary exposure data and published beverage analysis. Real-world caffeine content varies — filter coffee from different roasts and brew strengths can range from 60mg to 200mg per cup — but the values below represent reliable population-average reference points.
| Beverage / Food | Serving | Caffeine (mg) |
|---|---|---|
| Filter coffee | 1 mug (~250ml) | 96 |
| Espresso | 1 shot (~30ml) | 64 |
| Instant coffee | 1 cup (~200ml) | 62 |
| Decaf coffee | 1 cup (~200ml) | 2 |
| Black tea | 1 cup (~200ml) | 47 |
| Green tea | 1 cup (~200ml) | 29 |
| Cola | 1 can (330ml) | 34 |
| Energy drink | 1 can (250ml) | 80 |
| Dark chocolate | 1 bar (40g) | 12 |
Source: European Food Safety Authority (EFSA). Scientific Opinion on the Safety of Caffeine. EFSA Journal, 2015;13(5):4102. DOI: 10.2903/j.efsa.2015.4102.
A note on real-world variation:
Filter coffee is the highest-variance item in this list. A standard drip machine produces approximately 80–120mg per cup depending on coffee quantity and contact time. A strong cafetière brew or a dark-roast pour-over can reach 150–200mg. Espresso shows less variation per shot (50–75mg is typical) but stacked drinks — a double espresso latte contains two shots (128mg) before counting the milk. Energy drinks vary enormously by brand: standard 250ml cans typically contain 80mg, but larger-format drinks (500ml, or products like Bang or Celsius at 300mg+) can contain 3–4× the reference value. When in doubt, check the label — caffeine content is required to be declared on packaging in the EU and many other markets.
Safe Daily Limits by Age Group
The calculator compares your total against age-group-specific daily limits derived from the EFSA 2015 scientific opinion — the most rigorous population-level caffeine safety assessment available.
| Age group | Daily limit | Key rationale |
|---|---|---|
| Adult (18+) | 400 mg | Single habitual doses of 200mg and daily intakes of 400mg do not raise safety concerns for healthy non-pregnant adults |
| Pregnant | 200 mg | Caffeine crosses the placenta; the foetus metabolises it far more slowly than adults; associated with increased risk of fetal growth restriction above 200mg/day |
| Teen (13–17) | 100 mg | Growing body mass, developing nervous system, and greater sensitivity to stimulant effects relative to body weight |
| Child (0–12) | 75 mg | Very high sensitivity relative to body mass; caffeine has pronounced effects on sleep architecture, anxiety, and cardiovascular function in children |
The 200mg single-dose rule: EFSA also identifies 200mg as the safe upper limit for a single dose for adults — regardless of daily total. Consuming 400mg in one sitting is not equivalent to two 200mg doses spread across the day; the acute peak blood concentration from a single large dose produces more pronounced cardiovascular and central nervous system effects than the same total spread over hours.
Pregnancy and caffeine: The 200mg limit for pregnant women is supported by EFSA, NHS, and WHO guidance. It applies across all trimesters. Caffeine is not zero-risk in pregnancy — the evidence links intakes above 200mg/day with statistically significant increases in risk of fetal growth restriction and, at higher intakes, miscarriage. The limit is not a comfortable margin; it is the threshold below which current evidence does not demonstrate increased risk.
Why children's limits are so low: Children metabolise caffeine via the same CYP1A2 liver enzyme as adults, but their lower body mass means a given beverage dose produces a much higher mg-per-kg exposure. A 330ml cola containing 34mg of caffeine is roughly equivalent (on a per-kg basis) to a 70kg adult consuming approximately 170–200mg — two to three cups of coffee. Regular cola consumption in children is not pharmacologically trivial.
How the Calculator Works
Total caffeine (mg) = Σ (serving_count × caffeine_per_serving)
Assessment:
If total ≤ daily_limit: "Within safe range"
If total > daily_limit: "Exceeds recommended daily limit"
If total > 2 × daily_limit: "Significantly exceeds limit — reduce intake"
Example: Adult, typical coffee-heavy day
- 2 mugs filter coffee: 2 × 96 = 192mg
- 1 shot espresso in afternoon latte: 64mg
- 1 can cola at lunch: 34mg
- Total: 290mg
- Adult limit: 400mg
- Assessment: Within safe range (73% of daily limit)
Example: Teenager, energy drink day
- 1 can energy drink (250ml): 80mg
- 1 cup black tea: 47mg
- 1 cola: 34mg
- Total: 161mg
- Teen limit: 100mg
- Assessment: Exceeds limit by 61% — significantly above the recommended maximum for a 13–17-year-old
The teenage example illustrates why energy drink consumption in under-18s is a genuine public health concern: a single 250ml energy drink already brings a teenager to 80% of their daily limit before any other caffeinated beverage.
Caffeine Half-Life: How Long Does Caffeine Last?
Caffeine is metabolised primarily by the CYP1A2 enzyme in the liver. Its plasma half-life in healthy adults is approximately 5–7 hours — meaning that 5–7 hours after consumption, half the caffeine remains active in your bloodstream.
What half-life means in practice:
| Time after consumption | Caffeine remaining (5h half-life) | Caffeine remaining (7h half-life) |
|---|---|---|
| 0h | 200mg (100%) | 200mg (100%) |
| 5h | 100mg (50%) | 127mg (63%) |
| 7h | 79mg (39%) | 100mg (50%) |
| 10h | 50mg (25%) | 69mg (34%) |
| 12h | 37mg (19%) | 54mg (27%) |
| 14h | 28mg (14%) | 43mg (21%) |
A 200mg dose of caffeine consumed at 2:00 PM still leaves 50–100mg active in your system at 9:00 PM — easily enough to delay sleep onset and reduce slow-wave sleep depth. This is why the "last caffeine before X PM" rule is physiologically grounded, not arbitrary.
The half-life formula:
Caffeine remaining = initial_dose × (0.5)^(hours_elapsed / half_life)
Example: 200mg at 2:00 PM, checking 10:00 PM (8 hours later), half-life = 6 hours:
Remaining = 200 × (0.5)^(8/6) = 200 × (0.5)^1.333 = 200 × 0.397 = 79mg
Caffeine Clearance Time by Age Group
Half-life is not uniform across populations. CYP1A2 enzyme activity varies significantly based on genetics, age, hormonal status, and medications — producing large individual differences in how quickly caffeine clears.
| Population group | Typical half-life | Notes |
|---|---|---|
| Healthy non-smoking adults | 3–5 hours | Fast metabolisers; CYP1A2 most active |
| Average adults | 5–7 hours | Population median |
| Slow metabolisers (genetic variant) | 9–11 hours | ~50% of population has reduced CYP1A2 activity |
| Pregnant women (third trimester) | Up to 15 hours | CYP1A2 activity significantly suppressed by oestrogen |
| Newborns | 65–130 hours | Near-absent CYP1A2; almost entirely renal excretion |
| Oral contraceptive users | Extended by ~30% | Oestrogen components inhibit CYP1A2 |
| Smokers | Shortened by ~30–50% | Tobacco induces CYP1A2 |
| Liver disease | Significantly extended | CYP1A2 is a hepatic enzyme |
The genetic factor: The CYP1A2 gene has a well-characterised polymorphism (CYP1A2*1F) that divides the population into "fast metabolisers" (roughly 50%) and "slow metabolisers" (roughly 50%). Fast metabolisers clear caffeine quickly and tend to tolerate higher intakes without negative effects. Slow metabolisers retain caffeine significantly longer — a single afternoon coffee can still be measurably affecting sleep for a slow metaboliser 10–12 hours later. Genome testing services (23andMe, etc.) can identify CYP1A2 genotype; alternatively, if you notice that afternoon caffeine consistently disrupts your sleep, you are likely a slow metaboliser.
Pregnant women and extended half-life: By the third trimester, caffeine half-life can extend to 15 hours or more, meaning a single cup of coffee in the morning is still partially active at bedtime. This extended clearance is the pharmacokinetic basis for the 200mg pregnancy limit: not only does caffeine cross the placenta, but the foetal half-life is orders of magnitude longer than the maternal half-life, as the foetal liver lacks significant CYP1A2 activity.
What Happens When You Exceed the Safe Limit
Exceeding the daily safe limit does not produce an immediate health crisis for most healthy adults — 401mg is not medically significant. The risks of exceeding safe limits are primarily cumulative and dose-dependent.
At 400–600mg/day (mild excess for adults):
- Increased anxiety, restlessness, or irritability in sensitive individuals
- More pronounced difficulty sleeping, particularly if late afternoon doses
- Elevated resting heart rate; mild diuretic effect
- Possible headache on days when intake is lower than usual (early withdrawal)
At 600–1,000mg/day (significant excess):
- Palpitations and irregular heartbeat (more frequent in those with underlying cardiac arrhythmia)
- Pronounced anxiety; panic attacks in predisposed individuals
- Significant sleep disruption across all age groups
- Gastrointestinal distress: nausea, acid reflux
- Fine tremor (caffeine-induced tremor is a recognised clinical presentation)
Above 1,000mg/day (severe excess):
- Cardiovascular effects including tachycardia and hypertension
- Seizures in rare cases, particularly with rapid consumption of very high doses
- Caffeine toxicity is a clinical emergency at very high acute doses — EFSA identifies 10mg/kg body weight as the threshold for adverse cardiovascular effects in adults (700mg for a 70kg person as a single acute dose)
Note on supplements and pre-workout: Pre-workout supplements are the most common source of unexpectedly high single-dose caffeine. Many contain 200–400mg per serving — at or above the adult single-dose safe limit in a single scoop. Combined with other caffeine sources consumed the same day, these products regularly push users well above 600mg/day without awareness.
Caffeine and Sleep: The Cut-Off Time Rule
The interaction between caffeine and sleep is one of the most well-evidenced and most routinely ignored findings in sleep research. Caffeine suppresses the effects of adenosine — the molecule that accumulates during waking hours and creates the homeostatic drive to sleep. By blocking adenosine receptors, caffeine delays sleep onset, reduces total sleep time, and specifically reduces slow-wave (Stage 3) sleep even when it does not prevent sleep onset.
The key insight is that caffeine impairs sleep even when you can still fall asleep. A person who consumes 200mg at 4:00 PM and falls asleep normally at 11:00 PM may still experience reduced slow-wave sleep and lighter overall sleep architecture — effects they may attribute to stress or age rather than the afternoon coffee.
The half-life-based cut-off rule:
Last caffeine time = target_bedtime − (half_life × 2)
At two half-lives, approximately 75% of caffeine has been cleared. At three half-lives (approximately 80–85% clearance), sleep disruption risk is substantially reduced. Using two half-lives as the minimum provides a practical planning threshold.
Cut-off times by half-life and bedtime:
| Bedtime | Half-life 5h (last caffeine by) | Half-life 7h (last caffeine by) |
|---|---|---|
| 9:00 PM | 11:00 AM | 7:00 AM |
| 10:00 PM | 12:00 PM | 8:00 AM |
| 10:30 PM | 12:30 PM | 8:30 AM |
| 11:00 PM | 1:00 PM | 9:00 AM |
| 11:30 PM | 1:30 PM | 9:30 AM |
| 12:00 AM | 2:00 PM | 10:00 AM |
The cut-off times for slow metabolisers (7h half-life) may seem extreme — no caffeine after 9:00 AM for a 10:30 PM bedtime — but reflect the genuine pharmacokinetics for this substantial portion of the population. If afternoon caffeine consistently affects your sleep, shifting to a 1:00 PM cut-off and observing the result over 2–4 weeks is a straightforward and diagnostic self-experiment.
Five Worked Examples
Example 1: Typical Adult Office Worker
Daily intake: 2 mugs filter coffee (morning) + 1 instant coffee (afternoon) + 1 cola (lunch)
2 × 96mg = 192mg
1 × 62mg = 62mg
1 × 34mg = 34mg
Total = 288mg
Adult limit: 400mg → 72% of limit → Assessment: Within safe range
Last caffeine (afternoon instant coffee): 3:00 PM. Bedtime: 11:00 PM. Time elapsed: 8 hours. At 6-hour half-life: remaining = 62 × (0.5)^(8/6) = 62 × 0.397 = 24.6mg. Sleep impact: minimal.
Example 2: Fitness Enthusiast, Pre-Workout Added
Daily intake: 1 mug filter coffee + pre-workout supplement (300mg caffeine) + 1 energy drink (post-gym)
1 × 96mg = 96mg
1 × 300mg = 300mg
1 × 80mg = 80mg
Total = 476mg
Adult limit: 400mg → 119% of limit → Assessment: Exceeds recommended daily limit by 76mg
The pre-workout alone (300mg) exceeds the single-dose safe limit of 200mg. Total of 476mg is 19% above the daily adult limit. Common pattern in gym-going adults who do not consider pre-workout supplements as "caffeine" — they are, often at very high concentrations.
Example 3: Pregnant Woman, Careful Monitoring
Daily intake: 1 instant coffee (morning) + 1 cup black tea (afternoon) + 1 square dark chocolate
1 × 62mg = 62mg
1 × 47mg = 47mg
1 × 12mg (1 bar ÷ ~3 servings) ≈ 4mg
Total = 113mg
Pregnancy limit: 200mg → 57% of limit → Assessment: Well within safe range
This intake level is appropriate and manageable during pregnancy. Note that switching from filter coffee (96mg/mug) to instant coffee (62mg/cup) is a practical, low-friction strategy for reducing caffeine during pregnancy without eliminating coffee entirely — saving 34mg per cup.
Example 4: Teenager, Energy Drink Habit
Daily intake: 1 energy drink (500ml, large format — 160mg) + 1 cola at lunch + 1 cup green tea
1 × 160mg = 160mg
1 × 34mg = 34mg
1 × 29mg = 29mg
Total = 223mg
Teen limit: 100mg → 223% of limit → Assessment: Significantly exceeds recommended limit
The large-format energy drink alone (160mg) already exceeds the 100mg teen limit by 60%. This intake pattern — common among 15–17-year-olds — delivers more than twice the safe daily caffeine for teenagers, with associated risks of anxiety, sleep disruption, elevated heart rate, and potential interaction with cardiovascular conditions that may be undiagnosed.
Example 5: Coffee Lover, Optimising Without Reducing
Daily intake: 3 mugs filter coffee + 1 shot espresso (afternoon) + wanting to keep all of it
3 × 96mg = 288mg
1 × 64mg = 64mg
Total = 352mg
Adult limit: 400mg → 88% of limit → Assessment: Within safe range
At 352mg, this person is within the adult limit but should be conscious of timing. If espresso is consumed after 1:30 PM and bedtime is 11:00 PM, and they are a slow metaboliser (6–7h half-life), approximately 40–50mg is still active at bedtime. Recommendation: move the espresso to before 1:00 PM without reducing quantity — this keeps daily intake unchanged while substantially improving sleep quality. The total reaches the adult limit only if they add a fourth coffee; the current pattern is sustainable.
Caffeine Sensitivity: Why the Same Dose Hits Differently
Two people can consume identical caffeine doses and have dramatically different responses. This is not psychological — it reflects genuine pharmacokinetic and pharmacodynamic variation.
Genetic factors (CYP1A2): As discussed in the clearance section, fast metabolisers clear caffeine rapidly and tend to experience milder, shorter-duration effects. Slow metabolisers experience more prolonged stimulation and are more likely to experience anxiety, palpitations, and sleep disruption from the same dose.
Adenosine receptor density: Some individuals have higher baseline adenosine receptor density, making them more sensitive to caffeine's receptor-blocking action. This genetic variation contributes to the wide range in individual caffeine tolerance independently of metabolism rate.
Tolerance and habituation: Regular caffeine consumers upregulate adenosine receptors over time, partially compensating for caffeine's blocking effect. A habitual drinker of 300mg/day will experience less stimulant effect from a 100mg dose than a caffeine-naive person — but this tolerance also means that stopping caffeine causes withdrawal (headache, fatigue, irritability) as the upregulated receptors experience excess adenosine signalling.
Body weight: Caffeine's effects scale with body weight on a mg/kg basis. A 50kg person consuming 300mg receives 6mg/kg — the same dose as a 100kg person consuming 600mg. Safe limit guidance that does not account for body weight (such as the flat 400mg adult limit) is inherently conservative for heavier individuals and potentially tight for lighter ones.
Medications: Multiple drug classes interact with CYP1A2 and alter caffeine metabolism. Fluvoxamine (an SSRI) dramatically inhibits CYP1A2, extending caffeine half-life to 10+ hours. Fluoroquinolone antibiotics (ciprofloxacin) similarly inhibit CYP1A2. If you have started a new medication and noticed that caffeine's effects have intensified or its duration has extended, CYP1A2 inhibition is a likely mechanism.
Caffeine in Context: Performance, Dependence, and Withdrawal
Performance benefits: Caffeine is one of the most thoroughly studied ergogenic aids. At doses of 3–6mg/kg body weight, caffeine consistently improves endurance performance (time to exhaustion), time-trial performance, reaction time, and resistance training performance across a wide range of exercise modalities. The mechanism is primarily adenosine antagonism — reducing perceived exertion — combined with increased catecholamine (adrenaline/noradrenaline) release. These performance benefits occur within the safe daily limit for most adults.
The tolerance problem for performance: Regular caffeine users develop tolerance that reduces the ergogenic effect. Many athletes strategically avoid caffeine for 5–7 days before a key competition to restore receptor sensitivity and maximise the performance benefit of a pre-race dose. This approach is supported by research and is more effective than relying on daily high-dose consumption.
Dependence and withdrawal: Caffeine produces physical dependence reliably — consistent daily consumption of as little as 100mg per day can produce withdrawal symptoms upon cessation. Classic withdrawal symptoms begin within 12–24 hours of last dose (as adenosine receptors remain upregulated with no caffeine to block them), peak at 20–51 hours, and typically resolve within 2–9 days. Symptoms include: headache (most common, caused by cerebral vasodilation), fatigue, depressed mood, reduced concentration, and flu-like symptoms in some individuals. Tapering intake over 1–2 weeks rather than abrupt cessation is the most effective strategy for minimising withdrawal severity.
Assumptions and Notes
- Caffeine values per serving. Based on EFSA (2015) dietary exposure data. Values represent population averages; actual content varies by brand, preparation, and serving size.
- Daily safe limits. Adult 400mg | Pregnant 200mg | Teen (13–17) 100mg | Child (0–12) 75mg. Source: EFSA Scientific Opinion on the Safety of Caffeine (2015). EFSA Journal, 13(5):4102. DOI: 10.2903/j.efsa.2015.4102.
- Single-dose limit. 200mg for adults, per EFSA recommendation.
- Half-life. Population average 5–7 hours; individual variation 3–15+ hours depending on genetics, hormonal status, medications, and smoking status.
- Pre-workout supplements not in beverage database. Caffeine content varies enormously (50–400mg per serving); users should enter pre-workout caffeine manually using the Manual input mode.
- This calculator is not medical advice. Individuals with cardiac conditions, anxiety disorders, sleep disorders, or who are taking medications that interact with CYP1A2 should discuss caffeine intake with a physician.