Caffeine Half-Life Calculator

Caffeine Half-Life Calculator

Growing AI Skill PRO

Enter Calculation

Formula

C=Caffeine (mg)×(12)Hours SinceHalf-Life (h)C = \text{Caffeine (mg)} \times \left(\frac{1}{2}\right)^{\frac{\text{Hours Since}}{\text{Half-Life (h)}}}

Example

C=200×(12)65≈87.06C = 200 \times \left(\frac{1}{2}\right)^{\frac{6}{5}} \approx 87.06
Usage stats

Advertisement

Results

Caffeine Remaining
87.06
mg still in your system
Caffeine eliminated 112.94 mg
Percent remaining 43.53%
Half-life used 5 hours

Report an error on this page

What is the caffeine half-life calculator?

This tool estimates how much caffeine is still circulating in your body a given number of hours after you drank coffee, tea, soda, or an energy drink. Caffeine is cleared from the bloodstream following exponential decay, and the average adult's caffeine half-life is roughly 5 hours — meaning half of the dose is gone every 5 hours. By entering your dose and how long ago you had it, you can see whether enough remains to disturb your sleep at bedtime.

How to use it

Enter the caffeine consumed in milligrams (a typical 8 oz brewed coffee ≈ 95 mg, an espresso shot ≈ 64 mg, a 12 oz cola ≈ 35 mg). Enter how many hours have passed since you drank it. The half-life defaults to 5 hours; you can change it to model fast or slow metabolizers — smokers clear caffeine faster (≈3 hours) while pregnancy or some medications slow it dramatically (up to 9+ hours).

The formula explained

The calculator uses $$\text{remaining} = \text{initial} \times 0.5^{\frac{\text{hours}}{\text{half-life}}}$$ Each time the elapsed hours equal one half-life, the exponent increases by 1 and the remaining amount halves. The percent remaining is simply the remaining amount divided by the initial dose.

Advertisement
Exponential decay curve showing caffeine halving at equal time intervals
Each half-life period cuts the remaining caffeine in half.

Worked example

Suppose you drink a 200 mg coffee and want to know what's left after 6 hours, using a 5-hour half-life: $$200 \times 0.5^{6/5} = 200 \times 0.5^{1.2} \approx 200 \times 0.43528 \approx 87.06 \text{ mg}$$ That's about 43.5% of the original dose — still enough to affect sleep in caffeine-sensitive people.

Timeline from a morning coffee cup to bedtime with shrinking caffeine amount
Caffeine consumed in the morning can still linger by bedtime.

FAQ

What is a normal caffeine half-life? About 5 hours in healthy adults, but it ranges from 1.5 to 9.5 hours depending on genetics, smoking, pregnancy, and medications.

How much caffeine is safe before bed? Research suggests keeping caffeine under about 100 mg in the 6 hours before sleep, though sensitivity varies widely.

Is this medical advice? No. This is an educational estimate based on average pharmacokinetics and should not replace professional guidance.

Sources & References

  • EFSA explains risk assessment: Caffeine — European Food Safety Authority (EFSA), 2015. Caffeine half-life in healthy adults about 4 h (range 2-8 h); up to 400 mg a day and 200 mg single doses are safe for healthy adults; 200 mg a day in pregnancy. · Verified 2026-11-07

Checked against these sources on . Not reviewed by a clinician. For general information only, not medical advice or a diagnosis. Talk to a doctor about any health concern.

Last updated:

Most popular in Wellness and Mindfulness

View all Wellness and Mindfulness calculators