Skip to main content

Caffeine half-life calculator

A 95 mg coffee at 3pm still leaves about 31 mg at 11pm. See how much is left at your own bedtime, hour by hour.

Runs in your browser. Nothing is sent or saved.By Nabeel MustafaUpdated
mg

95 mg is a typical 8-ounce drip coffee

8 hrs

From the last sip

5 hrs

Typical is 5. Usual range is 3 to 7

Still in your system

31 mg

Dose times one-half to the power of hours over half-life

Last sip, 95 mgBedtime, 31 mg
Starting dose
95 mg
Half-lives elapsed
1.6
Halfway point
5 hrs

About 48 mg left by then

Under 25 mg after
9.6 hrs

Roughly a quarter of a cup

Remaining milligrams are not a verdict on whether you will sleep. Sensitivity varies enough that the same leftover keeps one person up and leaves another person fine. Use last week of sleep as the check, not this number alone.

A timer runs the session. Whether the sessions happen most days is a different record: a free habit tracker that shows today, the month and the year.

Track it free

The number this uses, and the range it hides

Typical half-life in healthy adults is about 5 hours. That is the figure most references quote, and it is the default here. The range is roughly 3 to 7 hours, which is why the field is editable. A 3-hour half-life and a 7-hour half-life on the same 200 mg dose are not the same evening.

Pregnancy, smoking, and some medications change the clearance a lot. This page cannot see any of that. If you are in one of those groups, treat the result as a sketch and talk to a doctor before you use it to time a last cup.

What remaining milligrams actually mean

Half-life means the amount halves every N hours, not that it vanishes at N. Two half-lives leave a quarter. Four leave a sixteenth. A 200 mg coffee at 2pm, with a 5-hour half-life, still has about 50 mg in you at midnight. That is not nothing.

The page will not tell you a remaining amount that is 'fine to sleep on'. Sensitivity varies enough that a number which leaves one person asleep keeps another person counting ceiling tiles. Read the milligrams, then use your own last week of sleep as the check.

A 95 mg default, and why yours may differ

The starting dose is 95 mg, a typical 8-ounce drip coffee. Espresso, energy drinks, and tea sit somewhere else, and a large mug is not 8 ounces. Type the serving you actually drank. Stacking two cups means adding the milligrams, not running the tool twice and hoping.

Estimate what is left at bedtime

  1. Enter the milligrams

    95 is a typical 8-ounce drip coffee. Check the can or the shop if you can; guesses compound.

  2. Enter hours until you want to sleep

    From the last sip, not from when you sat down with the cup.

  3. Leave half-life at 5 unless you have a reason

    The usual range is 3 to 7 hours. Move it only if you already know you clear caffeine unusually fast or slowly.

  4. Read remaining milligrams, not a verdict

    The tool will not tell you whether you will sleep. It tells you what is still there.

Questions people ask

How much caffeine is left after 12 hours?

With a 5-hour half-life, about 19% of the dose. A 95 mg coffee leaves roughly 18 mg after 12 hours. With a 7-hour half-life it is closer to 30%, or about 29 mg.

What is the half-life of caffeine?

About 5 hours in healthy adults, with a usual range of roughly 3 to 7 hours. Pregnancy and some medications can push it well outside that range.

How much caffeine is left after 8 hours?

On a 5-hour half-life, a bit more than a quarter of the original dose. 200 mg at noon is still about 66 mg at 8pm.

When should I stop drinking coffee?

Work backwards from bedtime using this page. If 50 mg still keeps you up, you need more hours than someone who sleeps through 80. The cutoff is personal; the remaining milligrams are not.

Does this count tea and energy drinks?

Yes, if you type their milligrams. The half-life is a property of caffeine, not of coffee. A 150 mg energy drink and a 150 mg coffee leave the same amount behind.

Start with three habits and one month.

You will know by the end of it whether this is the tracker that sticks. That is a shorter test than most things you have tried.