Caffeine Half-Life Calculator

See how much caffeine remains in your system hour by hour, and when it will clear below the threshold that affects sleep.

Calculator
Drip Coffee (95 mg)
hours

How Caffeine Decay Works

Caffeine follows first-order elimination kinetics — it decays exponentially, not linearly. This means a fixed percentage (not a fixed amount) is eliminated each hour. The half-life determines how quickly: with a 5-hour half-life, 200mg becomes 100mg at 5h, 50mg at 10h, 25mg at 15h, and so on.

Caffeine and Sleep

Caffeine blocks adenosine receptors, preventing the "sleepy signal" from accumulating. Even when you no longer feel alert, residual caffeine can reduce deep sleep (NREM Stage 3) duration and delay sleep onset. Studies show that caffeine consumed 6 hours before bed can reduce total sleep time by over an hour.

Formula

Remaining caffeine = Initial dose × (0.5)^(hours / half-life)

Common Caffeine Sources

SourceCaffeine (mg)
Espresso (1 shot)63
Drip Coffee (8 oz)95
Cold Brew (16 oz)200
Energy Drink160
Green Tea28
Black Tea47
Pre-Workout200
Soda/Cola40

Tips & Limitations

Stop caffeine 8-10 hours before bedtime for optimal sleep quality
Caffeine takes 30-60 minutes to reach peak blood levels
If you are pregnant, your half-life roughly doubles — consult your doctor about limits
Smoking accelerates caffeine metabolism by ~50%
Pair caffeine with L-theanine (found in tea) for smoother alertness without jitters

Medical Disclaimer

This calculator provides estimates based on average caffeine metabolism. Individual variation is significant. If you are sensitive to caffeine, pregnant, or taking medications that affect liver enzymes, consult your healthcare provider.

Frequently Asked Questions