← All tools/Calculators/Health/Caffeine Calculator
Caffeine Calculator
How much caffeine is still in your system — and when it wears off.
Informational only, not medical advice. Caffeine half-life varies by person, so treat the result as a rough guide. 400 mg a day is the commonly cited guideline for healthy adults.
Caffeine still in your system
Caffeine left over time
How it works
Remaining caffeine = initial caffeine × 0.5^(hours since first drink ÷ half-life) Time to fall below a level = half-life × log₂(initial caffeine ÷ that level) Default half-life is 5 hours (adjustable from 4 to 7 hours).
Worked example: 200 mg taken 5 hours ago with a 5-hour half-life: 200 × 0.5^(5 ÷ 5) = 200 × 0.5 = 100 mg still in your system. It falls below 50 mg after 10 hours from the first drink — about 5 more hours.
Frequently asked questions
How long does caffeine stay in your system?
With a 5-hour half-life, half is gone after 5 hours and a quarter remains after 10 hours. It varies by person — 4 to 7 hours is typical.
How much caffeine is too much in a day?
400 mg a day is the commonly cited guideline for healthy adults — about four cups of filter coffee. This is general information, not medical advice.
Why can I still feel coffee at bedtime?
If you had 200 mg at 3 pm, about 100 mg is still there at 8 pm and 50 mg at 1 am with a 5-hour half-life.
Does the half-life change?
Yes — it is shorter in smokers and longer in pregnancy, with some medicines, and in liver conditions. Use the slider to match your own experience.
More tools
Tell us what you think
Loving this tool, or stuck on something? Tell us — it takes a minute.
We’ll only use your name and email to reply if needed. The tool and page are filled in for you.