Tinyforge
Caffeine calculator

Caffeine half-life calculator

Add what you drank and when. The chart shows how much caffeine is left hour by hour, and how much will still be there when you go to bed.

Loading the tool…

Not medical advice. This is arithmetic on published averages. If you are pregnant, take medicines, or have a heart or sleep condition, ask your doctor what is right for you.

What half-life means

The half-life is the time it takes your body to get rid of half the caffeine in it. With a 5 hour half-life, 200 mg becomes 100 mg after 5 hours, 50 mg after 10 hours and 25 mg after 15 hours. For each drink the tool works out dose x 0.5 to the power of (hours since the drink divided by 5), then adds the drinks together.

How long does caffeine take to wear off?

Most of it is gone after about two half-lives, 10 hours, when a quarter is left. Some is still there after that. A coffee at 15:00 leaves a quarter of its caffeine in you at 01:00. If caffeine keeps you awake, the chart shows the bedtime figure so you can see what an earlier last drink would change. Try moving the time on your last drink.

Caffeine and sleep

Caffeine can affect sleep duration and patterns, especially when taken close to bedtime. This is stated by EFSA on its caffeine page. There is no single cut-off time that suits everyone, so use the bedtime number as a guide and watch how you sleep.

Why 5 hours is only a guess

5 hours is a commonly cited average for healthy adults. Yours could be shorter or much longer, and it differs a lot from person to person. NIH PubChem says smokers can clear caffeine up to 50% faster, and that pregnant women show a half-life of 15 hours or more, especially in the third trimester. Treat the chart as a rough shape, not a reading of your blood.

Where the numbers come from

More