Sleep & Caffeine Timeline

Add your drinks for the day to see an estimate of how caffeine builds up and wears off, and how much is left at bedtime.

Your Drinks

Your Caffeine Curve

Want this for every drink, with your bedtime? Get Unbuzz

Caffeine amounts from: USDA FoodData Central: brewed coffee, espresso, instant coffee, prepared, decaf brewed coffee, black tea, brewed, green tea, brewed; Starbucks: Cold Brew nutrition, Nitro Cold Brew nutrition, Caffè Latte nutrition, Caffè Americano nutrition; Red Bull: Red Bull Energy Drink (US); Monster Energy: Original Green (US); CELSIUS: Essential Facts; Coca-Cola: Coca-Cola Original (US), Diet Coke (US); PepsiCo Product Facts: Mountain Dew 12 fl oz. Checked November 4, 2026.

Frequently Asked Questions

How does caffeine accumulate throughout the day? ▼
Every drink you add counts on top of what is still counted from earlier ones. This timeline halves each drink's caffeine once per half-life (5 hours unless you change it), so a morning coffee still counts for something when you have an afternoon drink. The amounts add up, which is why the total can climb higher than any single drink. This tool adds the drinks up so you can see the estimated total at any time. Half-lives differ between people: the Institute of Medicine (2001) reports a mean of about 5 hours in healthy individuals and a range of 1.5 to 9.5 hours, which is why the half-life is a setting.
What is caffeine stacking? ▼
Stacking is when caffeine from an earlier drink is still counted when you have the next one. With a 5-hour half-life, a coffee at 8 AM still counts as about 57% of its caffeine at noon, so a second coffee then starts on top of it. The combined total then takes longer to fall under your bedtime level.
What bedtime level does this timeline use? ▼
25 mg, the bedtime level the Unbuzz app starts with. In the app it is a target you choose, not a medical threshold or a prediction of how you will sleep. The dashed line marks it, and the result says whether your estimate at bedtime fits under it, is close to it (up to 10 mg over) or is over it.
Does the time you drink coffee matter? ▼
For the estimate, yes: the same drink leaves a different amount at bedtime depending on how long it has to halve. With a 5-hour half-life and a 10 PM bedtime, a 95 mg drip coffee at 7 AM has 15 hours and counts as about 12 mg at bedtime. The same coffee at 3 PM has 7 hours and counts as about 36 mg. Use the timeline to try different times.
How long before bed should you stop caffeine? ▼
There is no single number of hours. It depends on how much the drink contains, the half-life and the bedtime level you aim for. In this model, a 95 mg drip coffee takes about 6 hours 45 minutes to fall to 25 mg with a 3.5-hour half-life, about 9 hours 38 minutes with 5 hours, and about 13 hours 29 minutes with 7 hours. The timeline lets you try your own drinks.

Know before you drink

See how this drink lines up with your bedtime, estimated in the Unbuzz app.

No account needed

Get This Timeline on Your Phone

The Unbuzz app draws this curve from the drinks you log, with the same half-life rule, and can remind you when your estimate is under your bedtime level.

Download on the App Store

Know before you drink

See how this drink lines up with your bedtime, estimated in the Unbuzz app.

No account needed