Caffeine is the most widely consumed stimulant in the world, and it hides in more places than the morning coffee: tea, cola, energy drinks, chocolate, pre-workout powders and some pain relievers. Because servings and brewing methods vary, most people have no idea whether they drink 150 mg or 600 mg a day.
This caffeine calculator adds up what you had, using typical values per serving from the USDA food composition database, or the figure printed on the label when you type it in. It compares the total with the reference amounts set by food-safety authorities: 400 mg a day for healthy adults (FDA and EFSA), 200 mg a day during pregnancy and breastfeeding (EFSA), and 3 mg per kg of body weight a day for children and teenagers (EFSA).
It also estimates how long your body needs to bring the caffeine below a level you choose, using its half-life — about five hours on average, but anywhere from two to ten hours depending on the person. The result is a general estimate for healthy people, not medical advice.
How to use this calculator
- Add a row for each drink or food and choose it from the list; enter the number of servings (half servings are fine).
- If the label gives a caffeine figure, type it in "mg per serving"; it overrides the typical value. For products not in the list, choose Other and enter the mg.
- Choose the limit to compare with: healthy adult, pregnancy or breastfeeding, or child or teenager.
- Enter your body weight — required for children and teenagers, optional for adults (it adds the mg/kg figure).
- Adjust the half-life if you know yours differs, and the level you want to drop below.
- Read the total caffeine, the share of the daily limit, the dose per kg and the time for the caffeine to fall below your chosen level.
The formula
The total is the sum of each item's caffeine content (mg per serving) times the number of servings :
Caffeine is eliminated by first-order kinetics: the amount left halves every half-life . Starting from , the time to fall below a level is
| Group | Reference daily amount |
|---|---|
| Healthy adults | 400 mg (single doses up to 200 mg) |
| Pregnancy and breastfeeding | 200 mg |
| Children and teenagers | 3 mg per kg of body weight |
Worked example
A 65 kg adult has two 240 mL cups of brewed coffee (95 mg each) and one 250 mL energy drink (80 mg).
- Total: 2 × 95 + 80 = 270 mg
- Share of the 400 mg limit: 67.5%
- Per kg: 270 ÷ 65 = 4.2 mg/kg
- Time to fall below 50 mg with a 5-hour half-life: 5 × log₂(270 ÷ 50) ≈ 12.2 hours, assuming everything was drunk at once.
The day's total is within the adult limit, but if the last drink was at 4 p.m., a good part of it would still be circulating at bedtime.
Typical caffeine content per serving
| Drink or food | Typical caffeine |
|---|---|
| Brewed coffee, 240 mL | 95 mg |
| Espresso, single shot | 64 mg |
| Instant coffee, 240 mL | 62 mg |
| Decaf coffee, 240 mL | 2 mg |
| Black tea, 240 mL | 47 mg |
| Green tea, 240 mL | 29 mg |
| Cola, 355 mL can | 34 mg |
| Energy drink, 250 mL | 80 mg |
| Energy drink, 473 mL | 151 mg |
| Dark chocolate 70–85%, 28 g | 22 mg |
Real products differ a lot: the FDA reports 113 to 247 mg in 12 fl oz of coffee and 54 to 328 mg in 16 fl oz energy drinks. Coffee-shop servings are often larger than 240 mL. When a label gives a figure, use it.
How much caffeine is too much?
For healthy adults, the FDA considers 400 mg a day an amount not generally associated with negative effects, and EFSA reached the same figure in 2015, adding that single doses up to 200 mg raise no safety concern. Above those amounts, people report jitteriness, a racing heart, anxiety, stomach upset and poor sleep. The FDA notes that rapid intake of about 1,200 mg — easy to reach with pure caffeine powder — can cause seizures. Sensitivity varies: some people sleep badly after a single cup in the afternoon.
Frequently asked questions
How much caffeine is safe during pregnancy?
EFSA considers habitual intakes up to 200 mg a day during pregnancy and breastfeeding free of safety concerns for the baby. That is about two cups of brewed coffee. Caffeine is cleared more slowly in late pregnancy, so it lingers longer.
What is the half-life of caffeine?
In healthy adults it is around 5 hours on average, with individual values from about 2 to 10 hours. Smoking shortens it; pregnancy, oral contraceptives and liver disease lengthen it.
How much caffeine can a teenager have?
EFSA uses 3 mg per kg of body weight per day for children and adolescents: about 150 mg for a 50 kg teenager. Paediatric bodies advise against energy drinks for this age group, and the US Dietary Guidelines advise no caffeinated drinks before age 2.
Does decaf contain caffeine?
A little. Decaffeinated coffee usually has 2 to 15 mg per 240 mL according to the FDA, so several cups can add up for very sensitive people.
Is the time to wear off exact?
No. It assumes everything was taken at once and an average half-life. Real caffeine levels peak 30 to 60 minutes after a drink and depend on genetics, medicines and health.
Sources
- U.S. Food and Drug Administration. Spilling the Beans: How Much Caffeine Is Too Much?
- EFSA Panel on Dietetic Products, Nutrition and Allergies. Scientific Opinion on the safety of caffeine. EFSA Journal 2015;13(5):4102
- USDA Agricultural Research Service. FoodData Central (SR Legacy caffeine values)
Last updated: