Caffeine half-life and sleep cutoff calculator
Stack morning coffee, espresso, and caffeinated race gels to visualize hourly exponential clearance and check how many milligrams remain active at bedtime.
Daily coffee, gel, and pre-workout doses
Active caffeine decay curve
First-order exponential caffeine clearance equation
Each dose decays independently from its ingestion timestamp. Total circulating caffeine at any hour equals the sum of all prior doses, compared against the 400 mg FDA daily adult reference limit and a 50 mg bedtime sleep-quality threshold.
Frequently asked questions
How long is the average half-life of caffeine in healthy adults?
The average elimination half-life of caffeine is approximately 5 hours, meaning half of a 200mg coffee remains active 5 hours later and 50mg still circulates 10 hours later. Genetic CYP1A2 variation can shift individual half-life roughly between 3.5 and 6.5 hours.
Why use 50 mg as a bedtime sleep-friendly reference line?
Sleep architecture studies show that elevated circulating caffeine near bedtime reduces slow-wave deep sleep even when you still fall asleep quickly. Keeping residual caffeine under ~50 mg by lights-out helps preserve overnight athletic recovery.
How do caffeinated race gels affect afternoon workouts and sleep?
High-caffeine endurance gels carry 50 to 100 mg per packet. Taking two 100 mg caffeinated gels at 2:00 PM can still leave over 65 mg active at 10:00 PM (with a standard 5-hour half-life), so add them into the dose timeline above to plan recovery sleep.