Caffeine Calculator: Daily Limit & How Long It Stays in Your Body
Add up your coffee, tea and energy drinks, check your daily caffeine limit and see how much is left at bedtime.
What you drank
About you
About this tool
What is the caffeine calculator?
This tool adds up the caffeine in the drinks you have during the day and compares the total with a daily limit. It also uses the caffeine half-life to estimate how much is still active in your body at bedtime and when it falls below 50 mg.
How to use it
- Pick a drink for each row, enter the servings and the time you had it. Choose Custom amount to type the mg from a label.
- Choose your daily limit and how fast your body clears caffeine.
- Set your bedtime and read the result.
How it works
Caffeine is cleared exponentially. After one half-life (about 5 hours for most adults) half of it is gone. The amount left is the dose times 0.5 to the power of hours passed divided by the half-life. Doses are summed for all drinks.
Typical caffeine content
- Espresso shot: about 63 mg
- Brewed coffee, 240 ml: about 95 mg
- Black tea: about 47 mg
- Cola can: about 34 mg
- Energy drink, 250 ml: about 80 mg
FAQ
How much caffeine is safe per day?
Health agencies such as the FDA and EFSA consider up to 400 mg a day safe for most healthy adults, and up to 200 mg during pregnancy.
When should I stop drinking coffee?
Many people sleep better if less than about 50 mg is left at bedtime. Use the bedtime result to test different times.
This is general information and not medical advice.
