Skip to content
Get the app

Caffeine Calculator

Enter how many servings of coffee, espresso, tea, cola and dark chocolate you have in a day, plus any caffeine from a label, and see the total in milligrams beside the 400 mg reference for healthy adults.

2 x 1 cup (8 fl oz) brewed coffee, 1 x 1 cup (8 fl oz) black tea, brewed, 1 x 1 can (12 fl oz) cola add up to about 270 mg of caffeine, which is 68% of the 400 mg a day that the FDA and EFSA give for healthy adults.

Add up your caffeine

The result below starts from the example's numbers. Change any field and it updates as you type.

Caffeine
Of 400 mg
68%
130 mg under
In cups of coffee
2.8
brewed, 8 fl oz

2 × brewed coffee 190 mg + 1 × black tea, brewed 47 mg + 1 × cola 33 mg = 270 mg.

Track this target every day

Use the number above as your daily goal in CalorTracker, then log meals by photo, voice or text and see where your day stands against it. Free to start, no card needed to explore.

Results are estimates from published formulas, not medical advice. Your own body can sit above or below them.

Where the formulas come from, and how we check them: how we calculate.

How the total is worked out

For each source the calculator multiplies the number of servings by the milligrams of caffeine in one serving, then adds the caffeine you typed from a label. The milligrams in a serving are the USDA FoodData Central value per 100 g times the grams in the serving, rounded to a whole milligram. The table below the calculator shows each figure. For example, a cup of brewed coffee comes to 95 mg.

The 400 mg reference

Both the US Food and Drug Administration and the European Food Safety Authority give 400 mg a day as an amount of caffeine that is not generally associated with negative effects in healthy adults. EFSA's 2015 scientific opinion also says that single doses of up to 200 mg do not raise safety concerns in healthy adults. The calculator shows your total as a percentage of the 400 mg and the milligrams under or over it. It is a reference point from those two bodies, not a personal limit, and the calculator does not tell you what to drink.

Who this page is for

This page is for healthy adults. It does not cover pregnancy or breastfeeding, children or teenagers, or anyone with a medical condition or taking medication, for whom the figures differ or the question is a medical one. If any of that applies, a doctor or pharmacist is the right person to ask. People also differ a lot in how they respond to caffeine, and the same total can feel different from one person to the next.

What the calculator cannot know

  • The caffeine in a real cup varies with the beans or leaves, how strongly it is brewed and the size of the cup.
  • Energy drinks, pre-workout powders, tablets and decaffeinated drinks are not in the USDA data used here. Take their caffeine from the label and type it in the last field.
  • It counts a day. It does not look at when you have caffeine or how much comes at once.

Caffeine in common sources, from USDA data

The values the calculator uses: caffeine per 100 g from the USDA FoodData Central entry, a household serving from the same entry, and the milligrams in that serving. The amount in a real cup depends on the beans or leaves, the brewing and the size, so treat each row as an average.

Caffeine per 100 g and per serving in the USDA data
SourceServingGramsmg per 100 gmg per serving
Brewed coffee1 cup (8 fl oz)2374095
Espresso1 shot (1 fl oz)29.621263
Black tea, brewed1 cup (8 fl oz)2372047
Green tea, brewed1 cup2451229
Cola1 can (12 fl oz)372933
Dark chocolate, 60-69% cacao1 oz28.358624

Frequently asked questions

How much caffeine is in a cup of coffee?
About 95 mg for an 8 fl oz cup of brewed coffee by USDA's average value. A shot of espresso (1 fl oz) is about 63 mg. Real cups vary widely.
How much caffeine is 400 mg?
About 4.2 cups of brewed coffee at the USDA average. The FDA and EFSA both give 400 mg a day for healthy adults.
Where does the 400 mg figure come from?
From the US FDA and from EFSA's 2015 scientific opinion on the safety of caffeine, both for healthy adults. Both sources are linked in the methodology below.
Is this for pregnancy or children?
No. The page covers healthy adults only. For pregnancy, breastfeeding, children or a medical condition, ask a doctor or pharmacist.
Why is my energy drink not on the list?
Energy drinks are not in the USDA data this calculator reads. Use the number on the can in the last field and it is added to the total.