Advertisement

Caffeine half-life calculator

That 4 pm coffee is still in you at midnight. Caffeine's half-life of 3 to 8 hours decides how much remains at bedtime; this calculator shows the leftover milligrams and when it clears.

Caffeine half-life

How much is left at bedtime.

Caffeine left at bedtime
-

Enter dose, timing, and half-life.

Remaining
-
Below 50 mg in
-
Formula: Remaining = dose x 0.5^(hours / half-life). A brewed coffee has ~95 mg, an espresso ~65 mg.
Advertisement

Half-life basics

Every half-life, half the caffeine clears: 200 mg becomes 100 mg after one half-life, 50 after two. Average is about 5 hours, but genetics spread it from 3 to 8, which is why the same coffee wrecks one person's sleep and not another's.

Caffeine and sleep quality

Even 100 mg at bedtime fragments deep sleep you will not remember losing. If sleep matters, set a caffeine curfew 8 to 10 hours before bed, earlier if you are a slow metabolizer.

Caffeine Half-Life FAQs

How long does caffeine stay in your system?
Roughly 5 half-lives for near full clearance: 15 to 40 hours depending on your metabolism. Effects on sleep fade sooner, usually within 8 to 12 hours.
How much caffeine is in coffee?
Brewed coffee ~95 mg per cup, espresso ~65 mg per shot, black tea ~50 mg, cola ~35 mg, energy drinks 80 to 300 mg. This calculator takes any milligram dose.
Why does caffeine affect me more than my friend?
Genes control the CYP1A2 liver enzyme that clears caffeine. Slow metabolizers feel one cup for 8+ hours; fast ones clear it in 3.
Does caffeine half-life change with age or pills?
Yes. Pregnancy, oral contraceptives, and some medications slow clearance; smoking speeds it up. Half-life is personal, not fixed.
What is a safe daily caffeine limit?
Up to 400 mg suits most healthy adults. Above that, anxiety, jitters, and sleep damage climb fast, especially late in the day.
Advertisement