☕ Decay Curve · Metabolizer Type · Sleep Cutoff

Caffeine Half-Life Calculator

Enter your caffeine dose and metabolizer type to see exactly how much remains in your system, hour by hour, and when it's likely to stop affecting your sleep.

Reviewed: 
Your Caffeine Intake
This models population-average pharmacokinetics. It is an educational estimate, not a personalized measurement or medical guidance.
Free to use
No signup required
Regularly updated
100% private — no data stored

Why caffeine lingers longer than people expect

Caffeine doesn't leave your system at a fixed rate per hour — it follows first-order elimination kinetics, meaning your body clears a percentage of what's currently present, not a flat amount. That distinction explains a pattern almost everyone has noticed: caffeine seems to wear off quickly at first, then lingers in a long, stubborn tail for hours afterward. This calculator models that exponential decay properly, using the same pharmacokinetic formula referenced in clinical sleep research, rather than a rough linear guess.

This is an educational estimate based on population-average data, not a personalized measurement of your own metabolism. Genetics, liver function, medications, and other individual factors can shift your real half-life meaningfully in either direction.

The caffeine elimination formula

Remaining = Dose × 0.5^(Hours Elapsed ÷ Half-Life)

At a 5-hour half-life, you lose roughly 13% of whatever caffeine is currently in your system per hour. So a 200mg dose drops to 100mg after 5 hours, 50mg after 10 hours, and 25mg after 15 hours — each step removing half of what remained, not a fixed 40mg per 5-hour block.

Example: 200mg dose, 5-hour half-life

At 5 hours: 200 × 0.5^1 = 100mg. At 10 hours: 200 × 0.5^2 = 50mg. At 15 hours: 200 × 0.5^3 = 25mg. Each half-life cuts the remaining amount in half again.

Reaching "essentially cleared"

After 5 half-lives, roughly 97% of the original dose is eliminated — the generally accepted threshold for considering a substance "cleared." For a 5-hour half-life, that's about 25 hours after consumption.

Why your half-life isn't the same as everyone else's

The CYP1A2 liver enzyme handles most caffeine breakdown, and a well-studied genetic variation in that enzyme splits the population into two broad groups. Roughly 60% of people carry the "fast metabolizer" AA variant, clearing caffeine with a half-life closer to 3-4 hours. The remaining 40% carry a "slow metabolizer" variant, with a half-life closer to 7-10 hours — meaning the exact same cup of coffee can affect two people's sleep very differently, purely from genetics.

Profile Typical Half-Life Notes
Fast metabolizer (CYP1A2 AA)3-4 hours~60% of people; smoking shifts this faster still
Average adult~5 hoursMost commonly cited population reference value
Slow metabolizer (CYP1A2 AC/CC)7-10 hours~40% of people; linked to higher cardiovascular risk at high intake
Pregnancy (third trimester)11-15 hoursEstrogen/progesterone inhibit CYP1A2 activity significantly

Smoking measurably speeds up CYP1A2 activity and can shorten caffeine's half-life by close to half. Certain medications, including some antidepressants and oral contraceptives, can slow it considerably by inhibiting the same enzyme — which is part of why a "standard" caffeine cutoff time doesn't apply equally to everyone.

Worked examples

200mg coffee at 8 AM, average metabolizer

At 2 PM (6 hrs): 200 × 0.5^1.2 ≈ 87mg remaining. At 4 PM (8 hrs): 200 × 0.5^1.6 ≈ 66mg remaining — still enough to noticeably affect sleep onset for many people if bedtime is around 10-11 PM.

95mg coffee at 7 AM, fast metabolizer (3.5 hr half-life)

By 1 PM (6 hrs): 95 × 0.5^1.71 ≈ 29mg remaining. By 7 PM (12 hrs): 95 × 0.5^3.43 ≈ 9mg — largely cleared well before a typical bedtime.

150mg energy drink at 4 PM, slow metabolizer (8 hr half-life)

By 10 PM (6 hrs): 150 × 0.5^0.75 ≈ 89mg remaining — a substantial amount still circulating at a typical bedtime, illustrating why slow metabolizers are advised to cut off caffeine much earlier in the day.

100mg tea at 2 PM during pregnancy (13 hr half-life)

By 8 PM (6 hrs): 100 × 0.5^0.46 ≈ 72mg remaining. Even by 2 AM (12 hrs), roughly 52mg would still be present — showing why pregnancy guidelines recommend earlier and more conservative caffeine cutoffs.

Choosing a realistic caffeine cutoff time

A commonly cited rule of thumb is to stop caffeine at least 6 hours before bedtime, which covers a little over one full half-life for an average metabolizer. For slow metabolizers, pregnant individuals, or anyone particularly sensitive to caffeine's effect on sleep architecture, an 8 to 10-hour cutoff is considerably more realistic. It's worth noting that even a relatively small residual amount of caffeine can measurably reduce deep sleep quality without necessarily preventing you from falling asleep at all — meaning "I fell asleep fine" isn't proof that caffeine had no effect on your night's rest.

More health calculators on CalcMora

Caffeine intake is just one piece of a broader health and nutrition picture, and a few related tools on CalcMora cover adjacent ground. If you're tracking overall daily intake alongside your caffeine habits, the calorie calculator applies the same kind of intake-tracking logic to food energy that this tool applies to caffeine decay. For anyone monitoring body composition changes alongside lifestyle habits like caffeine and sleep, the body fat calculator and body shape calculator offer complementary metrics worth checking alongside this one. And if your caffeine comes from a coffee-shop order rather than home brewing, the CAVA nutrition calculator can help you track what else is in a typical order beyond just the caffeine content.

Caffeine half-life calculator — FAQ

What is caffeine's half-life?

Caffeine's half-life — the time it takes your body to eliminate half of it — averages about 5 hours in healthy adults, though research shows it can range anywhere from 1.5 to 9.5 hours depending on genetics, liver function, pregnancy, smoking status, and certain medications. This wide range is exactly why two people drinking the same coffee at the same time can feel very differently affected by bedtime.

How is caffeine elimination actually calculated?

Caffeine follows first-order elimination kinetics, meaning your body clears a fixed percentage of what's present per hour, not a fixed amount. The formula is Remaining = Dose × 0.5^(hours elapsed ÷ half-life). At a 5-hour half-life, you lose roughly 13% of what's currently in your system per hour — which is why caffeine drops quickly at first but lingers for a surprisingly long time in the tail end of elimination.

Why do some people metabolize caffeine so much faster than others?

The CYP1A2 liver enzyme is primarily responsible for breaking down caffeine, and a common genetic variation affects how active that enzyme is. Roughly 40% of people carry a 'slow metabolizer' variant with a half-life closer to 7-10 hours, while the remaining 60% are 'fast metabolizers' with a half-life closer to 3-4 hours. Smoking actually speeds up CYP1A2 activity and can cut caffeine's half-life by close to half, while pregnancy dramatically slows it.

Why does caffeine's half-life increase so much during pregnancy?

Rising estrogen and progesterone during pregnancy inhibit CYP1A2 enzyme activity, the same enzyme responsible for most caffeine breakdown. By the third trimester, caffeine's half-life can extend to 11-15 hours, roughly double to triple the non-pregnant average. This slower clearance is part of why most pregnancy guidelines recommend capping caffeine intake at 200mg per day rather than using the same limits as the general population.

What's a good cutoff time to stop drinking caffeine before bed?

A widely cited rule of thumb is to stop caffeine intake at least 6 hours before bedtime, since that covers a little over one full half-life for an average metabolizer. For slow metabolizers, pregnant individuals, or anyone particularly sensitive to caffeine's effect on sleep, an 8 to 10-hour cutoff is more realistic, since even a relatively small residual amount can measurably reduce deep sleep quality even if it doesn't prevent falling asleep.

Does caffeine tolerance mean less caffeine is actually in my body?

No. Tolerance is a downregulation of adenosine receptor sensitivity in the brain, not a change in how much caffeine is circulating in your bloodstream. A regular daily coffee drinker may feel less subjectively jittery from the same dose as a non-regular user, but the actual caffeine concentration in their blood follows the identical elimination curve. This matters because sleep architecture disruption from caffeine doesn't reliably decrease with tolerance, even when the subjective alertness effect does.

Does drinking water or exercising help clear caffeine faster?

No reliable evidence supports either claim. Caffeine elimination is governed almost entirely by liver enzyme activity, which isn't meaningfully sped up by hydration or physical activity. Water can help offset caffeine's mild dehydrating effect, and exercise has its own independent benefits, but neither shortens caffeine's half-life. Time, genetics, and liver function are the real drivers — there's no reliable shortcut.

⚕️
Medical Disclaimer

This calculator is for educational purposes only. It is not medical advice. Always consult a qualified doctor or health professional before making health decisions.

Mizan — Founder, CalcMora
Founder, CalcMora

Built 3000+ free calculators to help people make smarter everyday decisions.

About