See exactly how caffeine decays in your body over time. Track multiple drinks and find out when it's safe to sleep.
When you consume caffeine, it is absorbed through the gastrointestinal tract and reaches peak blood concentration within 30 to 60 minutes. From there, it is metabolized primarily by the liver enzyme CYP1A2, following first-order elimination kinetics — meaning a constant fraction is removed per unit of time.
The standard half-life of caffeine in healthy adults is approximately 5 hours, though it can range from 1.5 to 9.5 hours depending on genetics, age, liver function, pregnancy status, and concurrent medications. This means that if you drink a coffee with 200 mg of caffeine at noon, you still have approximately 100 mg circulating at 5 PM and 50 mg at 10 PM.
Research consistently shows that caffeine levels above 50 mg can significantly disrupt sleep onset latency and reduce total sleep time, even if you do not feel "wired." This calculator uses the exponential decay formula C(t) = C₀ × 0.5^(t/t½) to model your caffeine levels over 24 hours.
Caffeine reaches peak plasma concentration 30-60 minutes after ingestion. Effects begin within 15 minutes. This calculator models from the time of consumption for simplicity.
Variants of the CYP1A2 gene determine whether you are a "fast" or "slow" metabolizer. About 50% of people carry the fast variant. Use the metabolism selector above to adjust.
Pregnancy (half-life up to 15 hrs), oral contraceptives (doubles half-life), liver disease, grapefruit juice, and certain medications like fluvoxamine.
Smoking (reduces half-life by ~50%), cruciferous vegetables, regular exercise, and being male (on average slightly faster clearance).