Skip to content
MasterMath

Caffeine Half-Life Calculator

How much caffeine is still in your body after a few hours. A healthy adult's half-life is around five hours, which is why a mid-afternoon coffee is still awake at bedtime.

Caffeine remaining

—

Caffeine remaining—
Of the total taken—
Already cleared—
Until it drops below 50 mg—
Half-life applied—
What is left is about—

How this was worked out

    The formula

    remaining = dose × 0.5^(hours / half-life)

    Where it comes from

    Caffeine clears by exponential decay: every half-life, half of what was left disappears. With a five-hour half-life, 200 milligrams becomes 100 after five hours, 50 after ten and 25 after fifteen. That carry-over is why a five o'clock coffee is still working at midnight, even though whoever drank it no longer feels a thing: the effect on sleep architecture does not require feeling it.

    How to work it out by hand

    1. Note the milligrams of caffeine you took
    2. Count the hours since
    3. Divide those hours by the half-life
    4. Multiply the dose by one half raised to that number

    What is worth knowing

    Half-life varies enormously, which is why it is a field rather than a constant: pregnancy can triple it, oral contraceptives lengthen it and smoking nearly halves it, on top of genetic variation in the enzyme that metabolises it. For reference, an espresso is around 60 to 80 milligrams, a large filter coffee about 150, a can of cola about 35 and an energy drink about 80. The daily amount considered safe in a healthy adult is 400 milligrams.

    Frequently asked questions

    How much caffeine is in a coffee?

    An espresso is around 60 to 80 mg and a large filter coffee about 150. It varies a lot with the bean and the brew.

    Why does it affect me more than other people?

    Genetics of the enzyme that metabolises it, plus smoking, pregnancy or certain medicines, which all change the half-life.

    When should I stop drinking coffee?

    It depends on your half-life, but with the typical five hours, a coffee after four in the afternoon reaches bedtime half intact.

    How much caffeine a day is safe?

    In healthy adults 400 mg a day is the usual ceiling. In pregnancy the figure drops to around 200.

    Can clearance be sped up?

    Not in any practical way. Drinking water does not clear it faster: only time does.