Caffeine Cutoff Calculator
Caffeine has a half-life of 5-6 hours. That means if you drink coffee at 2 PM, half the caffeine is still buzzing through your system at 7-8 PM. A quarter of it is still there at midnight. This calculator tells you exactly when to have your last cup so it doesn't wreck your sleep.
About 50% of people have a genetic variation (CYP1A2) that makes them slow metabolizers. If caffeine keeps you up longer than others, you're probably slow.
A typical cup of coffee has 80-100mg. Energy drinks can have 150-300mg.
How It Works
Caffeine blocks adenosine receptors in your brain. Adenosine is the chemical that builds up throughout the day and makes you feel sleepy. When caffeine blocks it, you feel alert — but the adenosine is still building up underneath.
Once the caffeine wears off, all that built-up adenosine hits at once. That's the "caffeine crash." The problem is, if caffeine is still in your system at bedtime, it's blocking adenosine when you need it most — preventing deep, restorative sleep.
The Math
- Half-life of caffeine: 5-6 hours (varies by person)
- Fast metabolizers: ~5 hour half-life (count back 10 hours from bedtime)
- Average metabolizers: ~5.5 hour half-life (count back 12 hours)
- Slow metabolizers: ~6-7 hour half-life (count back 14 hours)
The calculator uses the standard pharmacokinetic formula: remaining = initial × 0.5^(hours/half-life)
Common Caffeine Amounts
| Drink | Caffeine (mg) |
|---|---|
| Home-brewed coffee (8oz) | 80-100 |
| Starbucks Grande (16oz) | 310-360 |
| Espresso (1 shot) | 63 |
| Black tea (8oz) | 40-70 |
| Green tea (8oz) | 25-50 |
| Coca-Cola (12oz) | 34 |
| Red Bull (8.4oz) | 80 |
| Monster Energy (16oz) | 160 |
| Dark chocolate (1oz) | 20-30 |
Tips for Better Sleep
- Front-load your caffeine. Drink coffee early in the morning. One strong cup at 7 AM is better than three weak ones spread across the day.
- Set a hard cutoff. Use this calculator to find yours and stick to it. Put a reminder on your phone.
- Watch for hidden caffeine. Tea, chocolate, soda, pre-workout supplements, and some medications contain caffeine.
- Don't forget decaf isn't zero. A cup of decaf coffee still has 2-15mg of caffeine. It adds up.
😴 Want to Sleep Better?
This calculator fixes one piece of the puzzle. Our complete sleep guide covers 12 science-backed methods to fall asleep faster and wake up refreshed.
Frequently Asked Questions
How do I know if I'm a slow caffeine metabolizer?
If a single coffee at noon keeps you up at night, you're likely a slow metabolizer. The gene responsible is CYP1A2 — about 50% of people have the slow variant. When in doubt, use the "Slow" setting. It's better to be conservative.
Does the type of coffee matter?
For caffeine content, yes. Light roasts actually have slightly more caffeine than dark roasts (by volume). Espresso has more per ounce but less per serving. The biggest variable is the bean and brew method. Use the calculator's default (100mg) as a starting point and adjust based on your typical drink.
Can I "reset" my caffeine tolerance?
Yes. If you've been drinking coffee daily for years, your brain has created extra adenosine receptors to compensate. After 1-2 weeks of zero caffeine, those extra receptors disappear and caffeine becomes much more effective at lower doses. Many people find they can drink half as much and get the same effect.
What about energy drinks vs coffee?
Same caffeine, different delivery. Energy drinks often have more caffeine per serving (150-300mg) plus sugar and other stimulants. The calculator works for any caffeine source — just enter the total mg.
Is it okay to have caffeine right after waking up?
Actually, wait 90-120 minutes after waking. Your cortisol (alertness hormone) is naturally highest in the first hour after waking. Drinking coffee during that window is wasteful — you're adding caffeine on top of already-high cortisol. Let cortisol do its job first, then caffeine takes over.