Caffeine & Sleep

Caffeine Cutoff Calculator

Enter your bedtime and what you’ve had. See your live caffeine level, your latest safe time for one more, and exactly how much is left when you sleep — tuned to your body.

Can I still have caffeine — or has my cutoff passed?
Bedtime
What you’ve had
205 mg
95 mg
Sensitivity
LowAverageHigh
Metabolism speed
Body weight
70 kg
40kg130kg
Pregnant
Smoke / vape nicotine
On oral contraceptives

This maps to your CYP1A2 liver enzyme — it clears caffeine 3–9× differently than the next person.

Today

now 15:00
52%
Energized
209 mg in your system
Buzz fades 01:21
Cutoff passed
Buzz over the day~74 mg at bedtime
ok to sleep🌙~74 mg at bed12162000
Ok to sleep after 01:21
Last safe coffee: — cutoff passed
At bedtime: 74 mg 😮‍💨 (may delay sleep)
Get the app ↗

How this calculator works

Caffeine clears your body by first-order kinetics — a fixed fraction leaves every hour. We model each drink separately and add them up, so a second cup correctly stacks on whatever’s left of the first:

C(t) = Σ  doseᵢ × 0.5(t − tᵢ) / half-life

Your half-life is the only personal number that matters, and it varies a lot — roughly 3 to 9 hours between people. We start from a 5-hour baseline and adjust it for your sensitivity, metabolism speed, body weight, and factors like pregnancy, smoking and oral contraceptives (all of which change how your CYP1A2 enzyme clears caffeine).

The “ok to sleep” line sits at ~50 mg — below that, caffeine is unlikely to disrupt sleep for most people. Your last call is the latest clock time you could have one more standard cup and still land under that line by bedtime.

This is the lite version
The app does all of this live, all day — one-tap logging, a Lock Screen widget and Live Activity, and a reminder 30 minutes before your cutoff.

Track your caffeine. Sleep better.

The app does this live all day — one-tap logging, widgets, and a 30-minute pre-cutoff reminder. Free, no ads.

Read up

Get the App — it’s free