Estimate total caffeine in mg from brewed coffee, tea, soda, energy drinks, or shots by selecting a drink and entering servings.

Caffeine Calculator

Select a drink and enter the number of servings to calculate total caffeine.

Safety note: Many health authorities advise most healthy adults to limit caffeine to about 400 mg/day. Some people (including those who are pregnant, adolescents/children, people with certain heart conditions/anxiety, or those taking certain medications) may need a lower limit. For official guidance, check a trusted public health source (for example FDA or your national health authority) or ask a clinician.

Caffeine Formula

The caffeine calculator estimates total caffeine by multiplying the caffeine in one selected serving by the number of servings you enter.

TC = C * S
  • TC = total caffeine, in milligrams (mg)
  • C = caffeine per serving for the selected drink, in milligrams (mg)
  • S = number of servings

The drink selection supplies the assumed caffeine amount per serving. The serving entry tells the calculator how many of those servings to count. The result is an estimate of total caffeine in milligrams.

Common Caffeine Amounts by Drink

Caffeine varies by brand, brew strength, serving size, and preparation method. The calculator uses the assumed values below.

Drink Serving size Calculator value Typical range
Brewed coffee 8 oz cup 130 mg 95 to 165 mg
Espresso 1 oz shot 56 mg 47 to 64 mg
Black tea 8 oz cup 37 mg 25 to 48 mg
Green tea 8 oz cup 27 mg 25 to 29 mg
Cola soda 8 oz serving 35 mg 24 to 46 mg
Energy drink 8 oz serving 96 mg 27 to 164 mg
Energy shot 1 oz shot 70 mg 40 to 100 mg

Caffeine Intake Reference Points

Daily caffeine total How to read the result
0 to 100 mg Low to moderate for many adults.
100 to 400 mg Within commonly referenced daily guidance for many healthy adults.
More than 400 mg High for many adults. Consider reducing intake, especially if you feel jittery, anxious, or have trouble sleeping.
Pregnancy or caffeine sensitivity Lower limits may apply. Ask a clinician if you are pregnant, breastfeeding, have a medical condition, or take medication affected by caffeine.

Example Calculations

Example 1: Brewed coffee

You drink 2 cups of brewed coffee. The calculator uses 130 mg per 8 oz cup.

TC = 130 * 2 = 260 mg

Your estimated total caffeine is 260 mg.

Example 2: Energy drink

You drink 1.5 servings of an energy drink. The calculator uses 96 mg per 8 oz serving.

TC = 96 * 1.5 = 144 mg

Your estimated total caffeine is 144 mg.

FAQ

Why is the result only an estimate?

Caffeine content can change a lot from one product to another. Coffee strength, tea steeping time, serving size, brand, and recipe all affect the final amount. Use the number as a practical estimate, not an exact lab measurement.

What counts as one serving?

One serving is the serving size shown next to the selected drink. For example, brewed coffee is counted as an 8 oz cup, espresso is counted as a 1 oz shot, and an energy drink is counted as an 8 oz serving. If your drink is larger, enter the matching number of servings. A 16 oz energy drink equals 2 servings if the listed serving size is 8 oz.

Is 400 mg of caffeine too much?

For many healthy adults, up to about 400 mg per day is commonly used as a general reference point. Some people need less. You may need to limit caffeine if you are pregnant, breastfeeding, sensitive to caffeine, have heart rhythm issues, anxiety, high blood pressure, sleep problems, or take medications that interact with caffeine.