Caffeine

Caffeine calculator: how much caffeine will be left at bedtime?

Add what you drank and when, and see how much caffeine is still in you at bedtime and when you’ll be under 25 mg. It uses the same math as Beverly: a drink comes on over most of an hour, then caffeine halves about every 5 hours for most adults. For example, a coffee at 8 AM and a 16 oz Monster at 3 PM still leave about 67 mg at 11 PM.

Drinks today
  • Brewed coffee, 8 oz95 mg
  • Monster Energy, 16 oz160 mg

How caffeine hits you

67 mg at bedtime

For a coffee at 8:00 AM and a 16 oz Monster at 3:00 PM: still in you at 11:00 PM, under 25 mg by 6:07 AM. That day’s total is 255 mg of the FDA’s 400 mg a day.

Beverly works this out for any drink you scan, before you open it. Download on the App Store

How the caffeine calculator works

Your body clears caffeine at a steady pace: the same share of what’s left goes each hour. Half-life is the time it takes to clear half of it, about 5 hours for most adults. So the calculator takes each drink’s milligrams, lets them come on over the first hour, halves them for every half-life after that, and adds the drinks up.

For example, 160 mg at 3 PM is about 83 mg at 8 PM and about 55 mg at 11 PM. Add an 8 AM coffee, which is down to about 12 mg by then, and you get the 67 mg above.

It doesn’t count a drink all at once. Your body takes most of an hour to absorb caffeine, so a drink reads low for its first minutes, peaks at about 90% of its label about 50 minutes in, and wears off from there.

Why does it count down to 25 mg?

There’s no official bedtime number. A 2023 review of 24 sleep studies found caffeine cut sleep by about 45 minutes on average, and its suggested cutoffs, run through a 5-hour half-life, land at about 30 to 35 mg left at bedtime. Beverly uses 25 mg, a little stricter, because nobody clears caffeine at exactly the average speed. How long does caffeine stay in your system? walks through the studies and how late to finish each can.

What is your caffeine half-life?

Half-lives vary a lot between people. Europe’s food safety agency puts the range for healthy adults at about 2 to 8 hours, and a few things move it further. The four settings match the ones in Beverly:

  • Wears off fast, about 3 hours. Common for smokers: smoking speeds up how fast the liver clears caffeine.
  • About average, 5 hours. Most adults. Start here if you’re not sure.
  • Lingers, about 8 hours. Common on the birth control pill, which slows clearance.
  • Lingers a long time, 12 hours or more. Common late in pregnancy, when clearance slows the most.

Try the same day on two settings and the gap is big. That coffee and Monster leave about 30 mg at 11 PM on Wears off fast, and about 108 mg on Lingers.

Beverly's Daily Limits: 255 of 400 mg of caffeine today, 188 mg in you now, under 25 mg in 14 hours 33 minutes, and a curve of caffeine falling past an 11 PM bedtime.
Beverly keeps this running for you: the caffeine in you right now, when you’ll drop under 25 mg and how much will be left at bedtime, every time you log a drink.
Download on the App Store

How much caffeine is in coffee and tea?

DrinkSizeCaffeine
Brewed coffee8 oz95 mg
Espresso1 shot (1 oz)63 mg
Black tea8 oz47 mg
Green tea8 oz28 mg
Decaf coffee8 oz2 mg

How we worked this out: USDA FoodData Central lists caffeine per 100 g. We multiplied by 2.37 for an 8 fl oz cup (237 g) and by 0.296 for a 1 fl oz shot (29.6 g), then rounded. Your own cup can differ a lot with the beans, the tea and how long it brews.

Matcha, chai, oolong and the herbal teas with none are in Which teas have caffeine?

Cans vary even more. A 12 oz Coca-Cola has 34 mg, a 16 oz Monster 160 mg and a 16 oz Bang 300 mg. The calculator’s list covers the drinks in Drinks, where each has its own page with sizes and flavors.

Where does 400 mg a day come in?

For most healthy adults, the FDA cites 400 mg a day as an amount not generally associated with negative effects. That’s from everything combined, so the calculator adds up your day against it. Pregnancy, some medicines and some health conditions call for less. How much caffeine can you have in a day? covers who should stay lower, and what 400 mg looks like in cans.

Know before you open the can

Before you open the can, Beverly tells you how much caffeine will still be in you at bedtime. After you log it, a countdown on your Lock Screen shows when you’ll be under 25 mg. Scan the barcode and it’s logged, with nothing to type. You can set how caffeine hits you in Settings.

Now on the App Store for iPhone and iPad.

Download on the App Store

Sources

  1. U.S. Department of Agriculture, FoodData Central: coffee, brewed, espresso, black tea, brewed, green tea, brewed and coffee, brewed, decaffeinated.
  2. Gardiner C. et al. The effect of caffeine on subsequent sleep: a systematic review and meta-analysis. Sleep Medicine Reviews, 2023.
  3. European Food Safety Authority. Scientific Opinion on the safety of caffeine. EFSA Journal, 2015.
  4. Parsons W.D., Neims A.H. Effect of smoking on caffeine clearance. Clinical Pharmacology & Therapeutics, 1978.
  5. Abernethy D.R., Todd E.L. Impairment of caffeine clearance by chronic use of low-dose oestrogen-containing oral contraceptives. European Journal of Clinical Pharmacology, 1985.
  6. Tracy T.S. et al. Temporal changes in drug metabolism (CYP1A2, CYP2D6 and CYP3A activity) during pregnancy. American Journal of Obstetrics and Gynecology, 2005.
  7. U.S. Food and Drug Administration. Spilling the Beans: How Much Caffeine Is Too Much?
  8. Caffeine per can: Beverly’s drink catalog, built from labels and the makers’ published nutrition facts.

More Blogs