When should you stop drinking coffee?

Find a caffeine planning time and estimate what may remain at bedtime.

Sleep time

Add drinks

Add each drink and the time you had it. The graph updates from these drinks. Each drink is modelled on its own, with the full amount treated as present at the minute you choose.

Drink

Preset amounts are approximate. You can type any amount from 0 to 500 mg.

Drinks in this estimate

The example drink appears here after the page finishes loading.

Caffeine over time

Example

Illustrative coffee cutoff: 1:00 PM Estimated caffeine remaining at bedtime: 18.4 milligrams.

10 hours before bedtime using the default two-half-life planning model.

Estimated caffeine remaining at bedtime: 18.4 mg

Educational estimate, not a guaranteed safe cutoff or sleep-quality prediction.

This is an educational planning model, not a medical diagnosis or a measurement of caffeine in your blood. It cannot tell you how you will sleep.