ChronoClockTime intelligence
UTC
--:--:--

Sleep

Sleep calculator, caffeine cutoff and sleep debt

Work backwards from the alarm or forwards from your pillow in whole 90-minute sleep cycles, see how much caffeine is still in you at bedtime, and keep a running tally of the week. Everything stays in this browser.

Your times

saved on this device

A cycle is treated as 90 minutes. Real cycles run from roughly 70 to 120 minutes and change through the night, so read these as good guesses rather than exact times.

Sleep need

Most adults need 7 to 9 hours. That is 5 to 6 cycles on this page, which is why those two rows are marked as recommended.

Waking between cycles tends to feel easier than waking out of deep sleep, but total time asleep matters far more than hitting a boundary.

Go to bed at one of these to wake at 07:00

counting back
  • 21:45lights out, asleep by 22:00
    6 cycles, 9 hRecommended
  • 23:15lights out, asleep by 23:30
    5 cycles, 7 h 30 mRecommended
  • 00:45lights out, asleep by 01:00
    4 cycles, 6 h
  • 02:15lights out, asleep by 02:30
    3 cycles, 4 h 30 m

Each bedtime already includes the 15 minutes you spend falling asleep. The earliest row gives the most sleep.

Caffeine cutoff

half-life 5.5 h
Cutoff for bed at
23:00
Your usual bedtime
Last dose by
15:00
Or 13:00 if caffeine hits you hard
Still in you at bedtime
48 mg
9.0 h after the dose
  • 14:00150 mg
  • 15:00132 mg
  • 16:00117 mg
  • 17:00103 mg
  • 18:0091 mg
  • 19:0080 mg
  • 20:0070 mg
  • 21:0062 mg
  • 22:0055 mg
  • 23:0048 mg

Drake and colleagues (2013) gave people 400 mg of caffeine at bedtime, three hours before bed, and six hours before bed. Even the six-hour dose cut measured sleep by more than an hour, and the people taking it did not notice the loss. Half-life varies with genetics, liver enzymes, the pill and pregnancy, so treat the curve as a rough shape rather than a reading.

Sleep debt, last 7 nights

hours slept

Loading the last seven dates.

Nights logged
0 / 7
Blank nights are left out
Hours slept
0.0
Target 0.0
Weekly surplus
0.0 h
At or above target

How to use it

  1. Pick the tab that matches your problem. Use the first one when the alarm is fixed and you want to know when to go to bed, the second when you are already tired and want a sensible alarm.
  2. Check the latency figure. The default of 15 minutes is the middle of the normal range. If you know you lie awake for 30 minutes, put that in and every row shifts earlier.
  3. Aim for the highlighted rows. Five or six cycles is 7.5 or 9 hours, which covers the range most adults need.
  4. In the nap tab, choose a length before you lie down rather than after. Ten to twenty minutes for a pick-me-up, ninety if you have the time and are properly short of sleep.
  5. Set your usual bedtime and your last caffeine dose in the cutoff card. The bars show roughly how much is left in you each hour, and the cutoff time tells you when to stop tomorrow.
  6. Fill in the ledger each morning. After a few days the weekly deficit gives you a number that is harder to argue with than a feeling.

What these times are actually worth

The 90-minute cycle is an average, not a metronome. Sleep runs in cycles of light sleep, deep sleep and REM, but the length varies between people and between cycles in the same night, from roughly 70 to 120 minutes. Early cycles carry more deep sleep and later ones carry more REM. No calculator can tell you where you are in that pattern without measuring you, so the times on this page are good guesses that get less reliable as the night goes on.

Total sleep beats cycle timing

If you have to choose between hitting a cycle boundary and getting more sleep, take the sleep. Sleeping 8 hours and waking mid-cycle beats sleeping 6 hours and waking neatly. The main use of these rows is to stop you setting an alarm that gives you five and a quarter hours when six was available.

Sleep need is a range

Adults generally need 7 to 9 hours. Some people genuinely function on less, but far fewer than the number who believe they do. Van Dongen and colleagues (2003) held people at six hours a night for two weeks. Their performance kept degrading until it matched two full nights without sleep, while their own ratings of sleepiness levelled off early. You cannot feel the deficit accurately, which is the whole reason a written ledger helps.

Debt does not fully repay

The weekly deficit here is arithmetic, not biology. Recovery sleep restores some function quickly, especially after one bad night, but studies of chronic restriction find that reaction time and attention do not return to baseline as fast as people expect. Treat a large deficit as a signal to change the schedule rather than a debt you can clear on Saturday.

Frequently asked questions

Is the 90-minute sleep cycle real?

The cycle itself is real and well documented: you move through light sleep, deep sleep and REM, then start again. The 90-minute figure is a population average. Individual cycles run roughly 70 to 120 minutes, they change through the night, and they change with age and with how short of sleep you already are. So the pattern is solid, the timing is approximate, and a calculator that promises exact wake points is overselling itself.

How long should it take to fall asleep?

Ten to twenty minutes is the usual range for a healthy sleeper, which is why the default here is 15. Regularly taking more than 30 minutes points to insomnia, anxiety or a bedtime that is earlier than your body clock wants. Falling asleep in under five minutes most nights usually means you are short of sleep rather than unusually good at it. Set the field to whatever actually happens to you, not what you would like.

When should I stop drinking coffee?

Eight to ten hours before bed is a defensible cutoff. Drake and colleagues (2013) gave people 400 mg of caffeine at three different times and found that even the dose taken six hours before bed cut total sleep by more than an hour, without the participants reporting any difference. With a half-life around five to six hours, a 200 mg coffee at 4pm still leaves roughly 90 mg in you at 11pm. If you sleep badly and drink coffee in the afternoon, move the cutoff before you conclude that caffeine does not affect you.

Why do 30 to 60 minute naps leave me worse off?

That length is long enough to drop you into deep sleep but too short to bring you out the other side of it. Waking from deep sleep causes sleep inertia, the heavy and slow feeling that can take 15 to 30 minutes to clear and occasionally longer. Naps of 10 to 20 minutes usually stay in light sleep, and a full 90-minute cycle returns you to light sleep before the alarm. The awkward middle is the one to skip.

Can I catch up on sleep at the weekend?

Partly. A long lie-in helps after one short night, and it is better than nothing after a bad week. What it does not do is restore attention and reaction time to baseline after weeks of restriction, and shifting your wake time by three or four hours on Saturday moves your body clock in a way that makes Monday harder. A smaller, consistent improvement in bedtime beats a weekend rescue. If travel is what wrecked your schedule, the jet lag planner handles the shift more carefully.

Related tools