Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4791 pages

Free tool · Health and fitness

Caffeine calculator

Up to 400 mg of caffeine a day is the amount the FDA says is not generally linked to harmful effects in healthy adults, and EFSA puts 200 mg as the limit in pregnancy. Add your drinks and times to see your total, the mg per kg of body weight and how much caffeine is left at bedtime.

  • Free
  • No sign-up
  • Runs in your browser

By Maaz Zindani · Updated

5 hours is an example half-life: it differs between people. Drink figures are FDA values per 12 fl oz, or the middle of the FDA range.
Guide
Caffeine today

431 mg108% of 400 mg: over the 400 mg daily guide

  • 6.2 mg per kg
  • About 94 mg left at bedtime (11:00 PM)
  • Under 100 mg from 10:35 PM
Biggest single drink
180 mg
Daily guide for your weight
399 mg at 5.7 mg/kg
Left at bedtime
94 mg

Formula: left = mg × 0.5^(hours since the drink ÷ half-life), added up over every drink

TimeCaffeineLeft at bedtime
8:00 AM180 mg23 mg
1:00 PM180 mg45 mg
4:00 PM71 mg27 mg
  • The half-life is your own setting: it differs a lot between people, and pregnancy and some medicines change it.
  • A guide for healthy adults, not medical advice. Ask a doctor if you are pregnant, take medicine or have a heart condition.

How to use the Caffeine Calculator

  1. For each drink, pick the type or My own, check the mg against the label, and set the time you had it.
  2. Type your body weight and your usual bedtime.
  3. Leave the half-life at 5 hours or change it, and tick Pregnant to compare with 200 mg.
  4. Read the day's total against the guide, the caffeine left at bedtime and the time your level drops under 100 mg.

How much caffeine is too much in a day?

For healthy adults, the FDA names 400 mg a day as an amount not generally associated with negative effects. The European Food Safety Authority (EFSA) agrees on 400 mg a day, about 5.7 mg per kg of body weight, and adds that single doses up to 200 mg, about 3 mg per kg, raise no safety concerns.

Lower limits apply to some people. EFSA sets 200 mg a day for pregnant women, from all sources, and proposes 3 mg per kg a day for children and teenagers. The FDA advises talking to your health care provider about caffeine if you are pregnant, trying to become pregnant or breastfeeding, and notes that medical experts advise against energy drinks for children and teens.

At the other end, the FDA says toxic effects such as seizures can be seen with rapid intake of around 1,200 mg. The calculator compares your day with the 400 mg guide, or 200 mg when you tick pregnant, and flags any single drink above 200 mg. These are guides for groups of people. Your own tolerance can be lower, and some medicines and health conditions change it.

How much caffeine is in coffee, tea and energy drinks?

It varies more than most people think. The FDA gives these figures for a 12 fluid ounce serving: brewed coffee 113 to 247 mg, black tea 71 mg, green tea 37 mg, caffeinated soft drinks 23 to 83 mg, and energy drinks 41 to 246 mg. A 16 ounce energy drink can hold 54 to 328 mg.

Where the FDA gives a range, the calculator fills in the middle of it as a starting point: 180 mg for 12 ounces of brewed coffee, for example. Change it to the figure on your can or the coffee shop's nutrition page, since a strong coffee can be at the top of the range. Pick My own for anything else and type its mg.

The table shows how many servings of each drink reach the daily guides at those starting figures. Two large mugs of strong coffee can come close to 400 mg on their own.

Serving size matters as much as the drink. Coffee shops sell cups of 8, 12, 16 and 20 ounces, so scale the figure to your cup: at 180 mg per 12 ounces, a 16 ounce cup holds 240 mg and a 20 ounce cup 300 mg. Type the scaled number in the mg box.

Servings (12 fl oz) to reach the guides, at the calculator's starting figures
DrinkCaffeineServings to 400 mgServings to 200 mg
Brewed coffee, 12 fl oz180 mg2.21.1
Black tea, 12 fl oz71 mg5.62.8
Green tea, 12 fl oz37 mg10.85.4
Caffeinated soft drink, 12 fl oz53 mg7.53.8
Energy drink, 12 fl oz144 mg2.81.4

How long does caffeine stay in your system?

Caffeine leaves the body gradually, and the usual way to describe it is the half-life: the hours it takes for half of it to be cleared. With a half-life of 5 hours, a 200 mg coffee leaves 100 mg after 5 hours, 50 mg after 10 hours and 25 mg after 15 hours.

Half-lives differ a lot from person to person, so the calculator lets you set your own. The FDA notes that people vary widely in how quickly they eliminate caffeine, and pregnancy and some medicines slow it down. The table shows the same 200 mg with half-lives of 3, 5 and 7 hours, so you can see how much the setting matters.

To find a setting that fits you, think about how late a coffee can be before it costs you sleep, and adjust the half-life until the bedtime figure matches that experience. A smaller number suits people who clear caffeine fast. A larger one suits those who still feel an afternoon coffee at night.

The calculator adds every drink together. Each one decays from the time you had it, and the totals stack. In the starting example, coffees at 8 am and 1 pm and a black tea at 4 pm leave about 94 mg at 11 pm, even though the last drink was seven hours earlier.

Caffeine left from a 200 mg drink
AfterHalf-life 3 hHalf-life 5 hHalf-life 7 h
0 h200 mg200 mg200 mg
2 h126 mg152 mg164 mg
4 h79 mg115 mg135 mg
6 h50 mg87 mg110 mg
8 h31 mg66 mg91 mg
10 h20 mg50 mg74 mg
12 h13 mg38 mg61 mg
16 h5 mg22 mg41 mg

When should I stop drinking caffeine before bed?

Work back from your bedtime. EFSA says single doses of 100 mg may affect sleep duration and patterns in some adults, particularly close to bedtime. With a 5-hour half-life, a 180 mg coffee takes 4.2 hours to fall under 100 mg and 9.2 hours to fall under 50 mg. For an 11 pm bedtime, that means the last coffee by about 1:46 PM if you want less than 50 mg left.

The result gives you both numbers for your own day: how much is left at the bedtime you typed, and the time your level drops under 100 mg after your last drink. If the bedtime figure is high, move the last drink earlier, make it smaller, or switch it for a drink with less caffeine. Green tea, at 37 mg per 12 ounces in the FDA figures, has about a fifth of a strong coffee.

Decaf is not caffeine-free, and chocolate, some painkillers and pre-workout powders contain caffeine too. Add them as My own drinks if you know the mg. The calculator only does the sums from your inputs. It is not medical advice, so ask a doctor if caffeine affects your heart, sleep or a pregnancy.

Use it with

Questions

Is 400 mg of caffeine a lot?

It is the most the FDA and EFSA name for healthy adults in a day, spread out. The FDA puts it at roughly two to three 12 ounce cups of brewed coffee.

How much caffeine is in a cup of coffee?

The FDA gives 113 to 247 mg for 12 fluid ounces of brewed coffee. Check your café or can label for the exact figure.

How long does caffeine last?

It halves every few hours. With a 5 hour half-life, 200 mg is down to 100 mg after 5 hours and 50 mg after 10.

How much caffeine is safe when pregnant?

EFSA says up to 200 mg a day from all sources. The FDA advises talking to your health care provider.

What time should I stop drinking coffee?

With a 5 hour half-life, about 9.2 hours before bed for a 180 mg coffee to fall under 50 mg.

How much caffeine is too much at once?

EFSA says single doses up to 200 mg, about 3 mg per kg, raise no concerns for healthy adults. The FDA notes toxic effects around 1,200 mg taken quickly.

The tool's results are computed in your browser by the code on this page, using the sources listed above; the explanations are checked against the tool's own output.