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.

Switch to Creatine Dosage Calculator →

Daily coffee, gel, and pre-workout doses


Active caffeine decay curve

Remaining at bedtime
51 mg
Sleep-friendly reference: ≤ 50 mg
Total daily intake
280 mg
FDA adult ceiling: 400 mg/day
Latest 150mg cutoff
2:35 PM
To clear below 50 mg by bed
50 mg sleep threshold6:009:0012:0015:0018:0021:000:00

First-order exponential caffeine clearance equation

C(t) = Sum over each dose i of [ Dose_i (mg) x 0.5 ^ ( (t - t_i) / HalfLife ) ]

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.