Skip to content

Caffeine Half-Life Calculator

Half-life ranges from two hours to twelve.

Work out Caffeine Half-Life. Half-life ranges from two hours to twelve. Free, with no account and nothing to install.

Written and maintained by Mohit PatelLast checked August 4, 2026How we build these
mg
hours
mg

Still in your system

100 mg

50% of 200 mg · 1 half-lives elapsed

Remaining now100 mg
Percentage remaining50%
At bedtime43.5 mg
Half-lives elapsed1
Hours until trace levels20
Effect on sleepApproaching the level that begins to affect sleep for sensitive people.

Caffeine's half-life averages about five hours and ranges from two to twelve between individuals, driven mostly by the CYP1A2 enzyme. That range is why the same afternoon coffee ruins one person's sleep and leaves another unaffected — and it is why the half-life here is an input rather than a constant. A 200 mg coffee at 2pm still leaves around 50 mg circulating at 11pm for an average metaboliser. That is enough to reduce deep sleep measurably even where falling asleep still feels easy, which is the part people miss. Several things shift it substantially. Pregnancy and oral contraceptives roughly double the half-life; smoking roughly halves it. Regular use builds tolerance to the alertness effect faster than to the sleep disruption.

How the Caffeine Half-Life Calculator works

How much caffeine is still circulating now and at bedtime, from a dose, the hours since, and your own half-life. The half-life is an input because it varies between people by a factor of six.

Also known as: how much caffeine is left in my system · latest time to drink coffee · caffeine before bed calculator · how long does caffeine last

Not medical advice. This calculator gives a general estimate, not medical advice. It cannot account for your individual health, medical history, or medication. Talk to a qualified healthcare professional before acting on any result.

Frequently asked questions

How long does caffeine stay in your system?

The average half-life is about five hours, with a range from two to twelve. After five half-lives roughly 3% remains, so an average metaboliser needs around 25 hours to fully clear a dose.

Why is the half-life an input rather than a fixed number?

Because the CYP1A2 enzyme that clears caffeine varies enormously between people. That range is the whole reason an afternoon coffee ruins one person's sleep and leaves another unaffected.

What changes my half-life?

Pregnancy and oral contraceptives roughly double it. Smoking roughly halves it. Some medications, including certain antibiotics and antidepressants, extend it substantially.

How late is too late for coffee?

Work backwards from your threshold. For an average metaboliser, a 200 mg coffee at 2pm leaves about 50 mg at 11pm — enough to reduce deep sleep measurably even if falling asleep still feels easy.

Does tolerance mean it stops affecting sleep?

Tolerance builds to the alertness effect faster than to the sleep disruption. Regular drinkers often stop feeling the lift while still losing sleep quality.

Put this calculator on your own site

Free to use, on any site, commercial or not. Paste this where you want it to appear. It is a plain iframe, so it works in WordPress, Squarespace, Wix, Webflow, Ghost and anything else that accepts HTML.

The one-line version
<iframe src="https://www.thecalclibrary.com/embed/caffeine-half-life-calculator" width="100%" height="640" style="border:1px solid #e2e8f0;border-radius:12px" loading="lazy" title="Caffeine Half-Life Calculator"></iframe>
<p style="font:13px/1.5 system-ui,sans-serif;margin:6px 0 0;color:#64748b">Powered by <a href="https://www.thecalclibrary.com/caffeine-half-life-calculator" style="color:#64748b">Caffeine Half-Life Calculator</a> from The Calc Library</p>

The only condition is that the credit line below the frame stays in place. That one line is what pays for the tool being free — it is how anyone else finds it.

Related calculators