How to use the Caffeine Calculator
- Add each drink you have had or plan to have today, choose it from the list and set the time and number of servings.
- Check the mg per serving — it is pre-filled with a typical value; replace it with the figure on your can or pack if you have it.
- Choose your situation (healthy adult, pregnant or breastfeeding, under 18) and enter your body weight.
- Set your bedtime and read how much caffeine is likely left in your body, and see the curve on the chart.
How much caffeine is safe per day?
Most health authorities agree on similar limits for healthy people. The US Food and Drug Administration (FDA) and the European Food Safety Authority (EFSA), in its 2015 scientific opinion on caffeine safety, both put the daily amount not generally linked with harmful effects in healthy adults at up to 400 mg.
| Group | Guideline | Source |
|---|---|---|
| Healthy adults | Up to 400 mg a day | FDA; EFSA (2015) |
| Single dose, adults | Up to about 200 mg, roughly 3 mg per kg of body weight | EFSA (2015) |
| Pregnant or breastfeeding | Up to 200 mg a day | EFSA (2015); ACOG |
| Children and adolescents | About 3 mg per kg of body weight a day | EFSA (2015) |
These are not targets. Some people feel jittery, anxious or get palpitations at much lower amounts, and people with heart conditions or anxiety disorders, or who take certain medicines, may be advised to have less.
Caffeine in common drinks
The values below are approximate and are what the calculator pre-fills. Real amounts vary widely with the brand, bean or leaf, strength and brewing time — so where a label gives a figure, use that.
| Drink (serving) | Typical caffeine |
|---|---|
| Indian filter coffee (~150 ml, from decoction) | ~100 mg — very variable with decoction strength; chicory adds none |
| Instant coffee (1 teaspoon) | ~60 mg |
| Brewed / drip coffee (240 ml) | ~95 mg |
| Espresso (single shot, ~30 ml) | ~63 mg |
| Chai / masala tea (~150 ml) | ~40 mg — more if boiled longer or made strong |
| Black tea (240 ml) | ~47 mg |
| Green tea (240 ml) | ~28 mg |
| Cola (330 ml can) | ~32 mg |
| Red Bull (250 ml can) | 80 mg per the international label (32 mg/100 ml) |
| Energy drink (500 ml can at 32 mg/100 ml) | ~160 mg |
| Dark chocolate, 70–85% cocoa (25 g) | ~20 mg |
The coffee, tea, espresso and chocolate figures are typical values from the USDA FoodData Central database. The filter coffee and chai figures are rough estimates for a typical home cup, since no single standard exists. Energy drinks list caffeine on the can, usually per 100 ml.
How long caffeine stays in your body
Caffeine is absorbed quickly — blood levels typically peak within about an hour — and is then cleared mainly by the liver. Clearance follows a half-life: the time it takes for half of the caffeine to be removed. In healthy adults the half-life averages around 5 hours but commonly ranges from about 3 to 7 hours. It is longer during pregnancy, with some oral contraceptives and in liver disease, and shorter in smokers. The chart uses the standard first-order elimination formula:
To keep things simple, the calculator treats each drink as absorbed immediately, so the real peak is slightly later and a little lower than shown.
Worked example
Say you have chai (40 mg) at 07:30, a filter coffee (100 mg) at 11:00 and another chai (40 mg) at 17:00, and go to bed at 22:30. Your total is 180 mg, 45% of the 400 mg adult limit. With a 5-hour half-life, at bedtime:
- Morning chai, 15 hours earlier: 40 × 0.5^3 = 5.0 mg
- Filter coffee, 11.5 hours earlier: 100 × 0.5^2.3 ≈ 20.3 mg
- Evening chai, 5.5 hours earlier: 40 × 0.5^1.1 ≈ 18.7 mg
That adds up to about 44 mg still in your body at bedtime — more than a cup of chai — and almost half of it comes from the 5 pm cup.
Caffeine and sleep
Caffeine blocks adenosine, a chemical that builds up during the day and makes you sleepy. In a 2013 study in the Journal of Clinical Sleep Medicine, Drake and colleagues found that 400 mg of caffeine taken even 6 hours before bedtime measurably reduced sleep. If you sleep poorly, moving your last caffeinated drink earlier in the day is a simple experiment to try.
Tips
- Check labels. Energy drinks and many soft drinks state caffeine per 100 ml.
- Watch the size of the cup. A large café coffee can contain two or three espresso shots.
- Decaf is not zero. Decaffeinated coffee still contains a small amount.
- Stay hydrated. Use the water intake calculator to plan fluids, and the sleep calculator to plan bedtimes.
Frequently asked questions
How much caffeine is too much in a day?
How much caffeine is in a cup of chai?
How much caffeine is in Indian filter coffee?
How long does caffeine stay in your system?
How much caffeine can I have when pregnant?
Is the Red Bull caffeine content the same everywhere?
Can children have caffeine?
Last reviewed November 2026. Results are estimates for information only — see our disclaimer.