Caffeine calculator

When is your last coffee?

See how much of today’s caffeine is still in your system when you go to bed.

What you drink

We have started with an example day. Change it to match yours.

  • mg
  • mg
  • mg
How fast you clear caffeine

Your estimate at 22:00

58 mg

Target at bedtime

30 mg or less

28 mg above target

May make sleep lighter or slower to come, more so for people who are sensitive to caffeine.

Why 30 mg? It matches the cut-off times that protected sleep time across 24 studies. It is a guide, not a clinical threshold.

Faster to slower clearance
24–98 mg
Total for the day
250 mg

Moving your last drink earlier is not enough to reach the target. Without it you would have about 27 mg at 22:00. Swapping it for rooibos, which is naturally caffeine-free, has the same effect.

General estimate for healthy adults. It is not medical advice. It counts each drink in full from the time it is taken and leaves out caffeine from the day before. Pregnancy, liver conditions and some medicines slow caffeine clearance well beyond these settings, so ask your doctor or pharmacist. Nothing you enter is saved. A link you share carries your entries in the link itself.

Caffeine in your system

Milligrams, from your first drink to eight hours after bedtime.

  • Your estimate
  • Faster to slower clearance
  • Target at bedtime: 30 mg or less
View as a table
TimeYour estimateFaster to slower
06:000 mg0–0 mg
07:0090 mg90–90 mg
08:0078 mg71–83 mg
09:0068 mg57–76 mg
10:0059 mg45–69 mg
11:00126 mg107–140 mg
12:00110 mg85–129 mg
13:0096 mg67–118 mg
14:0083 mg53–108 mg
15:00153 mg122–179 mg
16:00133 mg97–164 mg
17:00116 mg77–151 mg
18:00101 mg61–138 mg
19:0088 mg49–127 mg
20:0076 mg39–116 mg
21:0066 mg31–107 mg
22:00 (bedtime)58 mg24–98 mg
23:0050 mg19–90 mg
00:0044 mg15–82 mg
01:0038 mg12–75 mg
02:0033 mg10–69 mg
03:0029 mg8–63 mg
04:0025 mg6–58 mg
05:0022 mg5–53 mg
06:0019 mg4–49 mg
Research behind this estimate

Keep going

SupplementsBrowse supplementsSee the full ATP range, from whey and creatine to collagen.