A little help goes a long way. Find a tool/

Health

Caffeine Half-Life Calculator

Free caffeine half-life calculator: enter a dose and the time you had it to see how much caffeine remains in your system now, a 24-hour decay curve, and the clock time it falls below your threshold.

YOUR WORKSPACEFree to use. No sign-up.
—
Enter your dose and the time you had it, then press Calculate.

Deep dive guides

A LITTLE CONTEXT · 4 MIN READCaffeine Half-Life: Why Your 3 PM Coffee Is Still Awake at Midnight

How caffeine half-life calculator works

Caffeine leaves your body by first-order elimination: every half-life, the circulating amount drops by half. That gives the exponential decay curve remaining(t) = dose × 2^(−t/t½). Drink a 200 mg double espresso and after about 5 hours — the population-average half-life for healthy adults — roughly 100 mg is still on board; after 10 hours, about 50 mg; after 15 hours, about 25 mg.

The tool takes your dose, the clock time you had it, and a half-life (default 5 hours, adjustable — individual values range roughly 3–7 hours and shift with genetics, pregnancy, smoking, and some medications). It computes the milligrams still circulating at your chosen check time, the percentage of the original dose, and the clock time when the level will fall below a threshold you set, such as the 50 mg that many sleep researchers treat as a low-impact level.

The output includes a 24-hour decay table in 3-hour steps, so you can see the whole curve at a glance rather than one snapshot. Because the math is exact exponential decay, the schedule is as accurate as its inputs — the honest uncertainty lives in the half-life you pick and how sensitive you personally are, not in the curve itself.

Frequently asked questions

What is a half-life, in plain terms?
The time it takes your body to clear half of what is circulating. Caffeine decays exponentially rather than linearly, so it fades fast at first and slow later: of a 200 mg dose, half (100 mg) remains after one half-life, a quarter (50 mg) after two, and an eighth (25 mg) after three — roughly 15 hours with a 5-hour half-life.
Why is the default half-life 5 hours?
About 5 hours is the population average for healthy adults, but individual values commonly range from about 3 to 7 hours. Genetics (the CYP1A2 liver enzyme variants), smoking (which roughly halves it), pregnancy (which can stretch it to 10+ hours), and oral contraceptives all shift it. Adjust the field to match you if you know your value.
When should I stop drinking caffeine before bed?
A common rule of thumb is 8–10 hours before bedtime, which matches the math: with a 5-hour half-life, a 200 mg afternoon coffee still has about 50 mg circulating 10 hours later. Enter your bedtime as the check time and a threshold you consider sleep-safe, and the tool tells you the latest clock time a given dose would still be above it.
Does drinking water or exercising flush caffeine out faster?
Not meaningfully. Caffeine is eliminated mainly by liver metabolism, and its clearance rate is set by enzymes, not by hydration or a workout. Water helps with hydration, and exercise has many benefits, but neither appreciably changes the decay curve — only time (or a different half-life) moves it.
Is this medical advice?
No. This is an educational calculator using population-average pharmacokinetics, not guidance for your specific health, medications, or sleep problems. If caffeine is affecting your sleep or heart rhythm, or you are pregnant, discuss your intake with a doctor or pharmacist.