Health

Caffeine Calculator

Track your caffeine intake throughout the day and see how it affects your sleep.

Quick Answer

Caffeine has a 5-hour half-life. A coffee at 7 AM still leaves ~24 mg in your system at 5 PM. For good sleep, stop caffeine 6-8 hours before bed. Safe daily limit: 400 mg (about 4 cups of coffee).

Your Drinks Today

Drip Coffee (8 oz)
07:00 - 95 mg
Disclaimer: Caffeine metabolism varies significantly between individuals based on genetics, age, liver function, medications, and other factors. The 5-hour half-life is an average. This tool provides estimates only and is not medical advice. Consult a healthcare provider with caffeine-related health concerns.

About This Tool

The Caffeine Calculator tracks your caffeine intake throughout the day using the 5-hour half-life model. It shows your current caffeine level, projects how much will be in your system at bedtime, and tells you when caffeine drops to sleep-safe levels (under 50 mg).

Most people underestimate how long caffeine lingers. That afternoon coffee at 2 PM still has about 47 mg in your system at 7 PM and 24 mg at midnight. For sleep-sensitive individuals, this can be enough to reduce deep sleep quality even if you fall asleep normally. The tool helps you make informed decisions about when to have your last caffeinated drink.

Frequently Asked Questions

How long does caffeine stay in your system?
Caffeine has a half-life of about 5-6 hours in most adults, meaning half the caffeine is eliminated every 5-6 hours. A cup of coffee at 8 AM (95 mg) leaves about 47 mg at 1 PM, 24 mg at 6 PM, and 12 mg at 11 PM. It takes roughly 10-12 hours for caffeine to be almost completely eliminated. Genetics, age, liver function, and medications can significantly alter this.
How much caffeine is safe per day?
The FDA considers 400 mg per day safe for most healthy adults -- roughly 4 cups of brewed coffee. Pregnant women should limit intake to 200 mg/day. People with anxiety disorders, heart conditions, or caffeine sensitivity may need less. Children and adolescents should consume significantly less based on body weight. Tolerance builds with regular consumption.
How does caffeine affect sleep?
Caffeine blocks adenosine receptors, which are responsible for making you feel sleepy. Even moderate caffeine levels at bedtime (50+ mg) can reduce total sleep time, decrease deep sleep quality, and increase time to fall asleep. Research suggests avoiding caffeine at least 6-8 hours before bed. Individual sensitivity varies widely -- some people are affected by caffeine consumed 10+ hours before bed.
What are symptoms of too much caffeine?
Excessive caffeine can cause anxiety, jitteriness, rapid heartbeat, insomnia, digestive issues, headache, increased blood pressure, and muscle tremors. Caffeine toxicity (typically above 1,200 mg) can cause seizures and cardiac arrhythmias. If you regularly experience these symptoms, reduce intake gradually to avoid withdrawal headaches. Spacing consumption throughout the day helps avoid peaks.
Does caffeine tolerance reduce its effects?
Yes, regular caffeine consumers develop tolerance within 1-2 weeks, meaning the same dose produces less stimulatory effect. However, tolerance to sleep disruption is incomplete -- even habitual coffee drinkers experience reduced sleep quality from late-day caffeine. To reset tolerance, gradually reduce intake over 1-2 weeks. Complete abstinence for 7-12 days typically resets tolerance fully.