How addicted are you to coffee? Let's find out.
Your diagnosis...
A caffeine tracker that estimates how much is in your system based on what you have drunk and when. Caffeine has a half-life of roughly five to six hours in most adults, which means an afternoon coffee is still measurably present at midnight. This page visualises that decay.
Caffeine is metabolised by an enzyme whose activity varies substantially between people. Five hours is an average; the range runs from about two to nine. That variability is why one person drinks espresso at 9pm and sleeps fine while another cannot drink coffee after noon. Genetics and some medications shift the rate considerably.
A coffee at 4pm leaves roughly a quarter of its caffeine at 4am. A quarter of 100 milligrams is 25 — enough to measurably reduce deep sleep even when falling asleep feels normal. People often blame stress for poor sleep while drinking the cause at 3pm.
Regular consumption increases the number of adenosine receptors, which reduces the effect of a given dose. That is tolerance: the same coffee does less. It does not change the half-life, so the caffeine is still present at night even when you no longer feel it.
It assumes an average half-life. Individual variation is large, so treat the number as a rough model rather than a measurement of your body.
Yes, in small amounts. Decaf typically retains one to two percent of the original caffeine, which matters only at high volumes.
Eight to ten hours before bed is a reasonable rule, which for most people means early afternoon. Sensitive individuals need longer.