Sleep calculator: when to go to bed, when to wake up

Enter the time you have to get up, or the time you plan to turn the lights out. You get a window for enough sleep first, and the famous 90-minute cycle times second, with the caveats they deserve.

What do you know?

Nobody knows their own number. Try another value to see how far the times move.

One number is a clue, not the whole picture. If the times above look impossible with your schedule, that is useful information. The free Mismatch Quiz checks whether the gap is about hours, timing or something else.

Take the free Mismatch Quiz

Runs entirely in your browser. Nothing you enter is stored or sent anywhere.

How to read the result

The first line is the one that matters most. Adults are advised to sleep at least 7 hours a night on a regular basis[1], and many people need more than that. So the calculator starts from your fixed point, adds the minutes you usually need to fall asleep, and shows the window that gives you 7 to 9 hours of actual sleep.

The table underneath is the classic sleep-cycle calculation. Sleep moves through repeating cycles of lighter sleep, deep sleep and REM sleep. The idea is to wake near the end of a cycle, when sleep is lighter, in the hope of less grogginess.

Why the 90-minute rule is weaker than it looks

Ninety minutes is an average, and averages hide a lot. In laboratory recordings of 369 healthy people, the median cycle lasted 96 minutes, the length differed a great deal between people, and the first cycle of the night was reliably shorter than the later ones[2]. A cycle that runs ten minutes longer than assumed puts the “perfect” wake-up time almost an hour off by morning. Change the cycle length in the calculator and watch the times slide.

There is also no good trial showing that timing your alarm to a calculated cycle makes mornings easier. The grogginess after waking has a name, sleep inertia. It tends to be heavier when you are short on sleep and it fades on its own[3]. Getting enough sleep is the better-supported way to reduce it.

A better way to use a sleep calculator

Pick the wake-up time your life actually requires and keep it steady, including on free days when you can. In a large observational study, how regular people’s sleep timing was predicted mortality risk more strongly than how long they slept[4]. That cannot prove cause and effect, but it fits what body-clock research shows about consistent mornings. Then use the window above to find a lights-out time you can really keep.

Questions people ask

What time should I go to bed if I wake up at 6 am?

For 7 to 9 hours of sleep with about 15 minutes to fall asleep, turn the lights out between 8:45 pm and 10:45 pm. Enter your own wake-up time above for an exact window.

Is 6 hours of sleep enough?

For most adults, no. The joint recommendation from sleep-medicine societies is 7 hours or more on a regular basis[1]. Individual need varies, so how you feel and function in the daytime is part of the answer.

Is it better to wake up at the end of a sleep cycle?

Waking from lighter sleep may feel easier, but you cannot schedule it precisely, because cycle length changes from person to person and across the night[2]. Total sleep and a steady wake-up time are more reliable levers.

When a calculator is the wrong tool: loud snoring, gasping or pauses in breathing during sleep deserve a sleep evaluation. Chest pain, fainting or an abnormal heartbeat need urgent medical help. Trouble sleeping that lasts for months is best treated with CBT-I, the recommended first-line approach[5], not with better arithmetic. This tool is educational and cannot diagnose anything.

References

  1. Watson, N. F., et al. (2015). Recommended amount of sleep for a healthy adult: A joint consensus statement of the American Academy of Sleep Medicine and Sleep Research Society. Sleep, 38(6), 843–844. Article
  2. Ultradian sleep cycles: Frequency, duration, and associations with individual and environmental factors. A retrospective study. (2024). Sleep Health, 10(1S), S52–S62. Laboratory nights from 369 healthy participants. PubMed
  3. Hilditch, C. J., & McHill, A. W. (2019). Sleep inertia: Current insights. Nature and Science of Sleep, 11, 155–165. Review. Article
  4. Windred, D. P., et al. (2024). Sleep regularity is a stronger predictor of mortality risk than sleep duration: A prospective cohort study. Sleep, 47(1), zsad253. Observational. DOI
  5. Edinger, J. D., et al. (2021). Behavioral and psychological treatments for chronic insomnia disorder in adults: An American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine, 17(2), 255–262. DOI
A useful next question

Take the Mismatch Quiz

Which mismatch is draining you? The free quiz takes about 4 minutes and points to one pattern worth investigating, such as Recovery opportunity gap or Clock–schedule mismatch. It is an educational self-reflection tool, not a diagnosis.

Take the quiz
Free 14-day diary

Get the free Mismatch Sleep Diary

A calculator works from memory. A diary works from what actually happened. It arrives free in your first email from the weekly Tired Generation Note.

Get the free diary