Skip to content
Food & Cooking

Coffee Kick Calculator

Enter your drink type, serving count, and the time you drank it to see how much caffeine is in your system right now, when it will peak, and how many hours until it clears to sleep-safe levels. Add up to three drinks to track a full day of coffee, tea, or energy drinks. Switch metabolizer speed for a fast, average, or slow caffeine clearance rate.

Your details

Number of servings (cups, cans, or shots).
Use decimal hours: 7.5 = 7:30 AM, 13 = 1:00 PM.
h
h
The current time, used to calculate how much caffeine is in your system right now. Use decimal hours: 14.5 = 2:30 PM.
h
Caffeine half-life varies by genetics, liver function, and medication. Most people clear about half the caffeine in roughly 5 hours.
Enter when you plan to sleep. The calculator will tell you if caffeine will still be above sleep-safe levels at bedtime. Use values above 24 for after midnight: 25 = 1:00 AM.
h
Total caffeine todayWithin safe limit
217mg

Combined caffeine from all drinks entered

Caffeine in your system now128mg
Peak caffeine level142mg
Percent of daily safe limit1%
Hours until sleep-safe13.4h
Sleep-safe time3:22 AM
Caffeine at bedtime42mg
Your caffeine half-life5h
217 mg
Low<200Moderate200-400High400-500Very high500+
07114261830
Hour of day

Your caffeine looks fine today (217 mg of 400 mg max).

  • Your total caffeine of 217 mg is 54% of the 400 mg daily guideline, leaving you room within the safe limit.
  • Right now you have approximately 128 mg of caffeine in your system. The typical alertness effect of caffeine lasts 4 to 6 hours after peak absorption.
  • Caffeine will drop to sleep-safe levels (below 20 mg) in about 13.4 hours, around 3:22 AM.
  • At bedtime you will have about 42 mg remaining, a low level that is unlikely to cause major disruption for most people.

Next stepYour half-life is 5.0 hours. For the best sleep, stop all caffeine at least 10 hours before bedtime.

How the caffeine kick calculator works

Caffeine is absorbed from the gut within 30 to 60 minutes of drinking, reaching peak blood concentration in about 30 to 45 minutes. Once absorbed, your liver breaks it down via an enzyme called CYP1A2. The process follows first-order kinetics, meaning a fixed fraction is eliminated per unit of time. For most healthy adults, the half-life is roughly 5 hours: if you drink 200 mg of caffeine, about 100 mg remains after 5 hours, 50 mg after 10 hours, and so on. This calculator models each drink with a linear absorption ramp (0 to peak over 30 minutes), then an exponential decay: C(t) = dose x 0.5^(t / half-life). Multiple drinks are summed to give a total caffeine-in-body curve over the day.

What the sleep-safe threshold means

Research from the National Institutes of Health and sleep scientists including Matthew Walker suggests that having more than roughly 20 mg of caffeine in your system at bedtime is enough to reduce slow-wave (deep) sleep, even if you feel like you can fall asleep fine. This calculator marks 20 mg as the sleep-safe cutoff and tells you how many hours until you reach it. A 200 mg espresso drink consumed at 2:00 PM by an average metabolizer (half-life 5 h) still has about 50 mg active at 10:00 PM, enough to fragment deep sleep noticeably. Moving that drink to noon reduces bedtime caffeine to about 25 mg, much closer to the safe zone.

Why caffeine half-life varies so much between people

The CYP1A2 gene controls how fast your liver processes caffeine. Fast metabolizers (roughly 40% of the population) carry a variant that doubles enzyme activity, clearing caffeine in 3 to 4 hours. Slow metabolizers (about 10% of people) can take 7 to 9 hours or longer. Pregnancy slows metabolism dramatically because high estrogen suppresses CYP1A2, extending half-life to 8 to 14 hours. Oral contraceptives have a similar but smaller effect. Smoking speeds elimination by upregulating the enzyme, while some antibiotics and antidepressants compete for the same pathway and slow it down. If you find that an afternoon coffee reliably wrecks your sleep, you are likely a slow metabolizer and should set the calculator to the slow setting.

Daily intake guidelines and who needs a lower limit

Health Canada, the European Food Safety Authority, and the U.S. FDA all broadly endorse 400 mg per day as a safe upper limit for healthy adults. That works out to about 3 to 4 standard mugs of drip coffee or 5 to 6 shots of espresso. The limit drops to 200 to 300 mg for pregnant individuals, people with heart arrhythmias, anxiety disorders, and severe acid reflux. For children and teenagers the guideline is much lower: around 2.5 mg per kilogram of body weight per day, roughly 70 mg for a 28 kg child. Note that many energy drinks deliver 200 mg or more per can, making it easy to exceed these thresholds without realizing it.

Caffeine content by drink

DrinkServing sizeCaffeine (mg)
Filtered / drip coffee8 oz (240 ml)142
Instant coffee8 oz (240 ml)95
Espresso1 shot (30 ml)75
Americano1 shot (30 ml)75
Latte / cappuccino / mocha8 oz (240 ml)63
Flat white5 oz (150 ml)90
Decaf coffee8 oz (240 ml)10
Black tea8 oz (240 ml)47
Green tea8 oz (240 ml)28
Yerba mate8 oz (240 ml)71
Energy drink16 oz (475 ml)110
Energy shot2 oz (60 ml)200
Cola12 oz (355 ml)35

Approximate caffeine per standard serving. Values vary by brand, brew strength, and serving size.

Frequently asked questions

How long does a coffee kick last?

Caffeine starts working about 15 to 30 minutes after drinking, peaks in the blood at around 30 to 60 minutes, and the alertness effect typically lasts 3 to 5 hours. Because caffeine is cleared gradually by exponential decay rather than switching off at a fixed point, the tail of the curve extends much further: half is still in your body after one half-life (5 hours for an average person) and a quarter remains after two half-lives (10 hours). This long tail is what makes an afternoon coffee disruptive to sleep even if you do not feel alert anymore.

How much caffeine is in a cup of coffee?

It varies widely. An 8 oz cup of drip or filtered coffee typically contains 95 to 165 mg of caffeine, with an average around 142 mg. A single espresso shot delivers about 63 to 75 mg. Instant coffee averages 95 mg per cup. Lattes, cappuccinos, and mochas usually have 63 to 90 mg because they contain one shot of espresso in a larger milk-based drink. Specialty chain drinks can be much higher: a large Starbucks blonde roast can have over 400 mg in a single cup.

What happens if I drink too much caffeine?

Mild overconsumption (above 400 mg) commonly causes jitteriness, increased heart rate, anxiety, and headache. Higher amounts can trigger heart palpitations, nausea, and insomnia. Caffeine toxicity at very high doses (above 5 g, roughly 50 cups of coffee) can be life-threatening, though this level is almost impossible to reach from beverages alone. Caffeine pills and pure caffeine powder carry a higher overdose risk. If you regularly feel anxious or have disrupted sleep, try reducing your intake gradually to avoid withdrawal headaches.

When should I stop drinking coffee before bed?

The general rule of thumb is to stop caffeine at least 6 to 8 hours before your target bedtime if you are an average metabolizer. For a 10 PM bedtime this means your last coffee by 2 to 4 PM. Slow metabolizers or people who are very sensitive to caffeine may need to cut off by noon. This calculator gives you a personalized answer: it tells you exactly when your caffeine will drop below 20 mg, which is the level below which most sleep research finds minimal disruption to deep sleep.

Does the type of coffee affect how the caffeine hits?

The total milligrams of caffeine determines how strong the effect is, but the type of drink influences timing. Espresso-based drinks deliver caffeine quickly because the drink is small and concentrated, while a large drip coffee delivers the same or more caffeine but absorbed over a longer sipping period. Cold brew is often twice as concentrated as regular drip coffee, so a 16 oz serving can contain 200 to 300 mg. Food consumed with coffee slows absorption slightly, softening the peak but extending the duration. This calculator assumes full absorption within 30 minutes, which is a reasonable average.

Is caffeine addictive?

Caffeine is a mildly habit-forming substance. Regular drinkers develop tolerance, needing more caffeine to achieve the same alertness boost. Physical dependence develops after as little as 3 to 5 days of daily use: stopping suddenly causes withdrawal symptoms including headache, fatigue, low mood, and difficulty concentrating, typically lasting 2 to 9 days. These symptoms are manageable and far less severe than those of alcohol or nicotine withdrawal. Gradually reducing intake over one to two weeks minimizes withdrawal effects.

Does decaf coffee have any caffeine?

Yes. Despite the name, decaf coffee contains a small but real amount of caffeine: typically 5 to 15 mg per 8 oz cup, compared to 95 to 165 mg in regular coffee. A 10 mg figure is a reliable average. For most people this is negligible, but for very slow metabolizers or those highly sensitive to caffeine, multiple cups of decaf late in the evening can still accumulate to a disruptive level.

Sources

Written by Olivia Grant, MS, RD Registered Dietitian · Toronto, Canada

Registered Dietitian helping individuals and clinicians make sense of nutrition science through evidence-based tools and clear guidance.

Search 3,500+ calculators

Loading search…