Caffeine Calculator

Log your coffee, chai, soft drinks and energy drinks to see your daily caffeine total against official limits and how much is likely still in your system when you go to bed.

Free, no sign-upRuns in your browserUpdated November 2026
Today's drinks
DrinkServingsmg per servingTimeCaffeineRemove

mg values are approximate typical amounts and are pre-filled when you pick a drink. Edit them to match a label. Times before 06:00 count as after midnight.

kg
hours
About 5 hours on average for healthy adults; commonly 3–7 hours. Longer in pregnancy, with some oral contraceptives and in liver disease; shorter in smokers.
Total caffeine today
—
Left in body at bedtime
—
Peak level
—
Single-dose guide (3 mg/kg)
—
Remaining allowance
—

Estimated caffeine in your body (mg), 06:00 to 06:00

An estimate for general information, not medical advice. Sensitivity to caffeine varies a lot between people. If you are pregnant, have a heart condition, anxiety or sleep problems, or take regular medication, ask a doctor or pharmacist what is right for you.

How to use the Caffeine Calculator

  1. Add each drink you have had or plan to have today, choose it from the list and set the time and number of servings.
  2. 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.
  3. Choose your situation (healthy adult, pregnant or breastfeeding, under 18) and enter your body weight.
  4. 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.

GroupGuidelineSource
Healthy adultsUp to 400 mg a dayFDA; EFSA (2015)
Single dose, adultsUp to about 200 mg, roughly 3 mg per kg of body weightEFSA (2015)
Pregnant or breastfeedingUp to 200 mg a dayEFSA (2015); ACOG
Children and adolescentsAbout 3 mg per kg of body weight a dayEFSA (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:

Remaining = dose × 0.5 ^ (hours since drink ÷ half-life) Level at time t = sum of the remaining amount from every drink taken before t

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?
For healthy adults, the FDA and EFSA both say up to 400 mg a day is not generally associated with harmful effects. That is roughly four cups of brewed coffee. During pregnancy or breastfeeding the guideline is 200 mg a day.
How much caffeine is in a cup of chai?
A typical 150 ml cup of Indian chai has very roughly 30–60 mg, depending on how much tea is used and how long it is boiled. The calculator uses about 40 mg as a starting value, which you can edit.
How much caffeine is in Indian filter coffee?
It varies a lot with the strength of the decoction and the coffee-to-chicory ratio, because chicory contains no caffeine. A typical tumbler is often around 100 mg, but a strong cup can be noticeably more.
How long does caffeine stay in your system?
Its half-life averages about 5 hours in healthy adults, usually between 3 and 7 hours. After two half-lives, about a quarter of a dose remains, so an afternoon coffee can still be active at bedtime.
How much caffeine can I have when pregnant?
EFSA and the American College of Obstetricians and Gynecologists (ACOG) advise limiting caffeine to 200 mg a day during pregnancy. Caffeine is also cleared more slowly in pregnancy, so it stays in the body longer. Ask your doctor or midwife for personal advice.
Is the Red Bull caffeine content the same everywhere?
The standard 250 ml can is labelled with 80 mg in many countries (32 mg per 100 ml), but formulations can differ by market. Always check the figure printed on your can.
Can children have caffeine?
EFSA suggests children and adolescents keep caffeine to about 3 mg per kg of body weight a day. Many energy drinks carry warnings that they are not recommended for children.

Last reviewed November 2026. Results are estimates for information only — see our disclaimer.