Caffeine Calculator

Add up the coffee, tea, soda and energy drinks you have in a day to see your total caffeine in milligrams, how it compares with recommended limits, and roughly how much will still be in your system at bedtime.

Why track your caffeine

Caffeine turns up in coffee, tea, colas and energy drinks, and the FDA notes it can also be added to energy and protein bars, ice cream, chewing gum, dietary supplements and over-the-counter medicines. In moderate amounts it sharpens alertness, but too much can cause an increased heart rate, palpitations, high blood pressure, sleep disruption, anxiety, jitters, an upset stomach, nausea and headaches.

The catch is that few people know how much they actually take in. Content swings widely between products: the FDA lists 113–247 mg for a 12 fl oz cup of regular brewed coffee and 41–246 mg for the same volume of energy drink. People also differ, in the FDA’s words, “in both how sensitive people are to the effects of caffeine and how fast they eliminate it from the body.” The same two cups that one person barely notices can keep another awake at midnight. Adding up a typical day — and seeing how long it lingers — is the first step to finding an amount that suits you.

How to use this calculator

Enter how many of each drink you have on a typical day; half servings are fine. The sizes are standard servings, and an 8 fl oz cup is smaller than many mugs and most coffee-shop cups, so count a 16 fl oz mug of brewed coffee as two. For anything else — pre-workout powder, caffeine tablets, a specialty coffee or a brand that isn’t listed — type the total milligrams from the label into Pre-workout / other.

Add your body weight to see your intake per kilogram, and tick Pregnant or trying to conceive to compare your total against the lower 200 mg limit. If sleep is a concern, enter the hours from your last caffeine to bedtime for an estimate of what is still circulating when you turn in. A breakdown table under the results shows how much each drink contributes.

How it's calculated

Your total is each serving multiplied by its caffeine content, plus any milligrams you add yourself. The per-serving values come from USDA FoodData Central for coffee, tea and cola, and from manufacturers for energy drinks:

DrinkServingCaffeine
Brewed coffee8 fl oz (237 mL)95 mg
Espresso1 shot, 1 fl oz (30 mL)63 mg
Black tea, brewed8 fl oz47 mg
Green tea, brewed8 fl oz28 mg
Cola12 fl oz can33 mg
Energy drink (Red Bull)8.4 fl oz can80 mg
Energy drink (e.g. Monster)16 fl oz can160 mg
USDA FoodData Central per-100 g values (coffee 40 mg, espresso 212 mg, black tea 20 mg, green tea 12 mg, cola 9 mg) scaled to the serving; energy drinks from manufacturer figures. Brands and brewing vary — Red Bull’s own 16 fl oz can lists 151 mg.

Your total is then compared with three benchmarks:

For bedtime, caffeine is assumed to leave your body exponentially with a 5-hour half-life, the mean reported by the Institute of Medicine, which also notes a range of about 1.5 to 9.5 hours: caffeine left = total × 0.5(hours ÷ 5). The low and high figures in the results apply the same formula with 1.5- and 9.5-hour half-lives.

Hours after caffeineLeft of 100 mg (5 h average)Fast (1.5 h half-life)Slow (9.5 h half-life)
2 hours76 mg40 mg86 mg
4 hours57 mg16 mg75 mg
6 hours44 mg6 mg65 mg
8 hours33 mg2 mg56 mg
10 hours25 mg1 mg48 mg
12 hours19 mg0 mg42 mg

Worked example

Jordan weighs 150 lb (68 kg). A typical day is two 8 fl oz cups of brewed coffee at 8 am, a can of cola with lunch at noon and an 8.4 fl oz energy drink at 4 pm, with bedtime at 11 pm.

Key takeaway: Most healthy adults can have up to about 400 mg of caffeine a day — roughly four 8 fl oz cups of brewed coffee. Keep single doses to about 3 mg per kg (200 mg at most), stay under 200 mg a day in pregnancy, and remember that half of an afternoon coffee may still be in your system five hours later.

Limitations & tips

Labels beat averages. Brand, bean, brewing method and serving size can easily double or halve the figures above, and coffee-shop drinks often come in 16–20 fl oz sizes. Where a label or company website lists milligrams, enter that number directly.

Half-life is personal. Smoking roughly doubles the rate at which caffeine is cleared, oral contraceptives can double its half-life, and pregnancy slows clearance further, to around 15 hours late in pregnancy. Liver disease and some medicines also prolong it, so treat the bedtime estimate as a guide rather than a measurement.

Beware concentrated caffeine. The FDA estimates that toxic effects such as seizures can occur with rapid consumption of around 1,200 mg of caffeine — less than half a teaspoon of the pure powder — which is why pure and highly concentrated caffeine products are so risky.

Cut back gradually. If you want to drink less, the FDA recommends reducing your intake gradually; withdrawal isn’t considered dangerous but can be unpleasant. This calculator is for healthy adults and is not medical advice. If you have a heart condition, high blood pressure or anxiety, take regular medication, or are pregnant or breastfeeding, ask your doctor what amount is right for you.

Frequently asked questions

How much caffeine is too much in a day?

For most healthy adults, the FDA cites 400 mg a day as an amount not generally associated with negative effects — about four 8 fl oz cups of brewed coffee. The European Food Safety Authority uses the same 400 mg figure. People vary widely in sensitivity, so jitters, a racing heart or poor sleep at lower intakes are a sign to cut back.

How much caffeine is in a cup of coffee?

USDA data put an 8 fl oz cup of brewed coffee at about 95 mg and a 1 fl oz espresso shot at about 63 mg. Real cups vary a lot with beans, brewing and size: the FDA lists 113–247 mg for a 12 fl oz cup of regular brewed coffee.

How long does caffeine stay in your system?

The average half-life is about 5 hours, so roughly half of a dose is still in your body 5 hours later, but it ranges from about 1.5 to 9.5 hours between people. After five half-lives — about a day for the average person — around 3% remains. Smoking speeds clearance, while pregnancy and oral contraceptives slow it.

How much caffeine is safe during pregnancy?

ACOG advises that moderate caffeine intake of less than 200 mg a day does not appear to be a major contributing factor in miscarriage or preterm birth, and EFSA also uses 200 mg a day in pregnancy. That is roughly two 8 fl oz cups of brewed coffee. If you are pregnant, trying to conceive or breastfeeding, the FDA recommends talking to your healthcare provider about caffeine.

Is caffeine safe for children and teens?

Adult limits don’t apply to children. The Dietary Guidelines for Americans say caffeinated drinks should be avoided for children under 2, the American Academy of Pediatrics advises against energy drinks for children and teens, and EFSA considers up to about 3 mg per kg of body weight a day to be of no safety concern for children and adolescents.

When should I stop drinking caffeine before bed?

It depends on how much you have and how sensitive you are. With a 5-hour average half-life, 200 mg of caffeine at 3 pm still leaves about 66 mg in your body at 11 pm, and a slow metabolizer could have over 100 mg. EFSA notes that 100 mg close to bedtime can disturb sleep in some adults, so if you sleep badly, try moving your last caffeine earlier in the day.

Sources & references

Last updated: September 2026 · How we calculate

BriskToolbox provides estimates for general information only and is not medical advice. Talk to a healthcare professional about your individual health.