Free caffeine and sleep calculator

Plan your caffeine around tonight's sleep

Add the coffee, tea, energy drinks, or supplements you use in a day. See what may still be active at bedtime, then find a caffeine pattern that supports your energy without quietly working against your sleep.

Interactive model

Plan your caffeine around bedtime

See what may still be active at bedtime, then adjust the timing or amount of each intake.

Estimated caffeine level across one dayAn estimated caffeine model from wake time to the following wake time. The sleep period is shaded, and the dotted curve marks the estimated caffeine ceiling that reaches the bedtime target. Optional curves show relative sleep pressure.0751502253007:00 AM11:00 AM3:00 PM7:00 PM11:00 PM3:00 AM7:00 AMBedtimeEstimated caffeine in your system (mg)

Peak level

117 mg

At bedtime

23 mg

Sleep reference

Within your reference

Common patterns

Daily anchors

Used to frame the chart

Caffeine intakes

Add each drink, supplement, or other source.

Common caffeine amounts

Typical estimates, not exact product values.

Single-serve coffee

About 100 mg

Double espresso

About 120 mg

Can of cola

About 34 mg

Energy drink

About 80 mg

This visualization estimates caffeine remaining from reported intake and a chosen half-life. Optional sleep-pressure lines are physiology- informed visual proxies, not direct measurements of adenosine or what your brain feels. Use this as a planning reference rather than an exact scientific or medical assessment.

Make a clearer call

Use the estimate to make caffeine fit your actual day

A fixed rule like “no coffee after 2 p.m.” cannot account for an earlier bedtime, a larger drink, or the way your body clears caffeine. This gives you a practical starting point to test against the sleep you want to protect.

Choose a cutoff that fits bedtime

Work backward from the time you want to sleep instead of using a one-size-fits-all clock time.

See the whole day, not just one drink

A morning coffee, lunch soda, and late pre-workout can add up differently than any one of them does alone.

Find a pattern worth trying

Use the result as a planning estimate, then pay attention to how easily you fall asleep and how restored you feel.

An estimate, not a verdict

Caffeine metabolism varies with the person, dose, medications, and other factors. The calculator cannot predict a night of sleep exactly. It can help you notice whether a late drink is worth moving earlier, reducing, or leaving out for a while.

Learn what to change next