Free tool · caffeine

Coffee timing calculator

Your wake-up and bedtime, in. A cutoff for the last coffee, a slot for a coffee nap, and the untested 90-minute wait as an option, out. Want the science behind it? Read when to drink coffee.

Updated 30 November 2026 · Written by Valentyn Yakovliev

Evidence Strong for caffeine’s half-life and for late caffeine shortening sleep. The 90-minute wait before the first cup has not been tested in a trial; the tool shows it as an option, not a rule.

A coffee timing calculator turns your wake-up time and bedtime into a plan for the day’s caffeine. The part with evidence is the last cup: this tool sets it two half-lives before bed, 10 hours for a typical half-life of about five hours, and a 2023 meta-analysis of 24 studies estimated that a 107 mg coffee needed at least 8.8 hours. The popular 90-minute wait before the first cup has not been tested, so the tool shows it as an option only.

How the calculator works

The last coffee is set by half-life, and that part has evidence. Caffeine’s half-life averages about five hours in healthy adults, with a range of roughly 1.5 to 9.5 (Institute of Medicine, 2001), and across 24 studies caffeine cut total sleep by 45 minutes on average (Gardiner and colleagues, 2023). The calculator puts the last cup two half-lives before your bedtime, so about a quarter of the caffeine is still active when you lie down. For your actual drink and how much is left at bedtime, use the caffeine cutoff calculator, which uses the same rule.

The 90-minute time is different. It comes from a hypothesis — that sleep pressure is still clearing after waking and caffeine only masks it — which no controlled trial has tested. The tool shows the time so you can try it if you want to; the 90-minute rule page goes through what is and is not shown.

The coffee nap, timed

A coffee nap: drink a coffee quickly, then nap for up to 15 minutes, the length tested, with the alarm set before 20. The nap clears some sleep pressure; the caffeine, absorbed within about 45 minutes, is taking effect as you wake. In a 12-person driving-simulator study, 200 mg of caffeine plus a nap of under 15 minutes cut driving incidents to 9% of placebo levels, against 34% for caffeine alone; a nap alone was not tested, so treat it as promising rather than proven. It fails in two predictable ways — a nap that runs into deep sleep (groggy wake-up) and caffeine taken too early (arrives mid-nap). A short nap, timed, is the whole recipe.

Caffeine borrows alertness; it does not create it. The tool prices the loan.

Reading the result

In the app

Owlark reads your nights and your chronotype and draws today’s curve — the natural morning lift, the afternoon dip, and one sharp caffeine cutoff, computed from your bedtime rather than a rule of thumb. The daily loop is free.

Download on the App Store Get it on Google Play Open in yourBrowser

Questions people ask

What does a coffee timing calculator show?

Three times from your wake-up and bedtime: a last-coffee cutoff two caffeine half-lives before bed, a slot for a coffee nap, and, as an option only, the time 90 minutes after waking that a popular rule says to wait for.

Why wait 90 minutes after waking for coffee?

The idea is that sleep pressure is still clearing after waking, so early caffeine only masks it and leaves a dip later. That is a hypothesis: no controlled trial has shown that waiting 90 minutes improves energy or prevents a crash. If waiting feels better, wait; if not, there is no evidence it matters.

How does the calculator set the last coffee?

Two half-lives before bedtime, so about a quarter of the caffeine is still active when you lie down: 10 hours for a typical half-life of about 5 hours, 6 for a fast 3 and 16 for a slow 8. For your actual drink, the caffeine cutoff calculator shows how much is left at bedtime.

What is a coffee nap and does it work?

Drink a coffee, nap for up to 15 minutes, and wake as the caffeine takes effect. In one 12-person driving-simulator study, 200 mg of caffeine plus a nap of under 15 minutes cut driving incidents to 9% of placebo levels, against 34% for caffeine alone; a nap alone was not tested. The catch: it only works if the nap stays short.

Is my data sent anywhere?

No. The calculation runs in your browser. The site counts that the calculator was used, without the times you entered.

Gardiner C, et al. The effect of caffeine on subsequent sleep: a systematic review and meta-analysis. Sleep Med Rev. 2023. Reyner LA, Horne JA. Suppression of sleepiness in drivers: combination of caffeine with a short nap. Psychophysiology. 1997. Institute of Medicine. Pharmacology of caffeine. 2001.

Owlark is a wellness app, not a medical device. It does not diagnose or treat any condition.