Caffeine Half-Life Calculator — Active Milligrams at Bedtime & Last-Cup Cutoff.
Log your coffee, espresso, tea, or energy drinks across the day to plot your live caffeine decay curve, see how many milligrams remain at bedtime, and find your exact sleep-safe cutoff time.
+ Quick Add:
1. Today's Caffeinated DrinksTotal: 215 mg
2. Personal Metabolism & Bedtime
5.0 hrs
3h (Fast)5h (Average)7–9h (Slow / Sensitive)
Estimated Active Caffeine at BedtimeSleep-Safe
At Bedtime (11:00 PM)
39 mg
Daily total: 215 mg / 400 mg FDA max
Last 100mg Coffee Cutoff
6:00 PM
To stay under 50 mg at sleep
Below your 50 mg bedtime threshold—unlikely to disrupt deep sleep.
CAFFEINE CONTENT BY DRINK
Typical caffeine milligrams across common coffee, tea, and energy drinks.
Beverage
Serving Size
Typical Caffeine
Left After 5h / 10h
Brewed Drip Coffee
8 oz (240 mL)
95 mg
48 mg / 24 mg
Cold Brew Coffee
12 oz (355 mL)
155 – 200 mg
78 mg / 39 mg
Espresso (Single / Double)
1 oz / 2 oz
64 mg / 128 mg
32 mg / 16 mg
Black / Green Tea
8 oz (240 mL)
30 – 50 mg
20 mg / 10 mg
Energy Drink
16 oz (473 mL)
160 – 200 mg
80 mg / 40 mg
1. Worked Example: 140mg at 8 AM + 75mg at 2 PM
With a 5-hour half-life, your 8:00 AM coffee decays through 3 half-lives by 11:00 PM (17.5 mg left), while your 2:00 PM espresso decays through 1.8 half-lives (21.5 mg left)—leaving 39 mg total at bedtime.
2. Why Afternoon Caffeine Cuts Deep Sleep
Caffeine blocks adenosine receptors in the brain. Even if you fall asleep normally, residual evening caffeine measurably lowers restorative slow-wave sleep stages.
What is the average half-life of caffeine in the human body?
For most healthy adults, caffeine has a biological half-life of about 5 hours (ranging roughly from 3 to 7 hours depending on CYP1A2 genetics). That means half of the caffeine from a 200 mg coffee at 2:00 PM is still active at 7:00 PM, and 50 mg remains at midnight.
How many hours before bed should I stop drinking caffeine?
Sleep researchers generally recommend stopping caffeine 8 to 10 hours before bedtime so active levels drop below ~50 mg—avoiding subtle reductions in deep slow-wave sleep even if you can still fall asleep.
What is the FDA daily caffeine limit for healthy adults?
The U.S. FDA cites up to 400 mg of caffeine per day (roughly three to four 8-oz cups of brewed coffee) as generally safe for most healthy, non-pregnant adults.
How is remaining caffeine calculated over time?
Caffeine clears following first-order exponential decay: Remaining(t) = Dose × 0.5^(t / HalfLife). When you drink multiple caffeinated beverages, each drink decays independently and their remaining milligrams sum together.
What factors lengthen or shorten caffeine half-life?
Oral contraceptives, pregnancy, and slower CYP1A2 metabolism can extend half-life to 7–10+ hours, while fast metabolizers and regular smokers often clear caffeine in 3–4 hours.
Is my daily caffeine log stored or sent to a server?
No. All calculations and charts run 100% locally in your browser with no account or tracking.