The short version
- A sleep calculator counts back from your wake-up time in 90-minute cycles and adds 15 minutes to fall asleep. To get up at 7am, it would have you in bed at 11:15pm (5 cycles) or 9:45pm (6 cycles).
- Over the night, your sleep goes through the same loop several times: light sleep, deep sleep, REM. The 90 minutes is a convention: in a large lab study the median cycle was 96 minutes, and cycle length varied a lot from person to person.
- Waking up is hardest out of deep sleep and after a short night. So a calculator is a handy estimate, but what matters most is getting enough sleep.
- Smart alarms guess your sleep stage from movement, heart rate or sound, and phones and wearables aren’t reliable at it.
What are the stages of sleep?
Sleep is divided into non-REM and REM sleep. Non-REM has three stages, N1, N2 and N3, from the lightest to the deepest. REM stands for rapid eye movement.
| Stage | What happens | Share of sleep |
|---|---|---|
| N1 and N2 | Drowsiness and light sleep | More than half of your sleep |
| N3 | Deep, or slow-wave, sleep | About 21% under 30, about 15% over 60 |
| REM | The brain is almost as active as when you’re awake, muscles are relaxed, you dream | About 16% under 30, about 10% over 60 |
The shares come from a study in which 100 healthy people aged 19 to 77 spent a night in a sleep lab. With age, they had less deep and REM sleep and spent more time awake in the middle of the night [1].
If you wake up out of deep sleep, the grogginess lasts longer. It’s called sleep inertia. It’s milder after light sleep, and REM sleep falls in between [2].
During REM sleep your muscles are almost completely relaxed, so your body usually doesn’t act out your dreams. When that mechanism breaks down, people start acting out their dreams, and they can get hurt [3]. Dreaming was long tied to REM sleep alone, but people dream in non-REM sleep too. Brain activity during REM sleep looks a lot like being awake [4]. One hypothesis is that during REM the brain processes the emotions of the day [5].
How long is a sleep cycle?
The usual rule of thumb is 4 to 5 cycles a night, each about 90 minutes long [6]. A cycle starts with non-REM sleep and ends with REM.
But 90 minutes is closer to a rough average than a rule. Researchers in Basel pooled data from 369 healthy people who were given 8 hours to sleep in a lab at their usual bedtime, 6,064 cycles in all. The median cycle was 96 minutes, and cycle length varied a lot from person to person. The first cycle of the night was consistently shorter than the ones after it. After sleep deprivation, non-REM sleep in the first cycle got longer [7].
Cycles also differ in what they contain: there’s more deep sleep early in the night and more REM sleep toward morning [8]. For more on deep sleep, see our article on deep sleep.
Sleep calculator: when to go to bed
Sleep calculators use a simple formula: they take your wake-up time and subtract a few full 90-minute cycles plus the time it takes to fall asleep. The idea is that your alarm goes off at the end of a cycle rather than in the middle of deep sleep.
The table below allows 15 minutes to fall asleep. The US National Sleep Foundation’s experts rate falling asleep within 15 minutes as a sign of good sleep, and 16 to 30 minutes as well [9]. Five cycles add up to 7.5 hours of sleep, six to 9 hours. Both fit the recommendation for adults aged 18 to 64: 7 to 9 hours [10].
| Wake-up time | Bedtime: 5 cycles, 7.5 hours of sleep | Bedtime: 6 cycles, 9 hours of sleep |
|---|---|---|
| 6:00am | 10:15pm | 8:45pm |
| 6:30am | 10:45pm | 9:15pm |
| 7:00am | 11:15pm | 9:45pm |
| 7:30am | 11:45pm | 10:15pm |
| 8:00am | 12:15am | 10:45pm |
| 8:30am | 12:45am | 11:15pm |
If it usually takes you longer than 15 minutes to fall asleep, go to bed that much earlier. Four cycles come to 6 hours, less than recommended, so they’re not in the table.
Why it’s only an estimate
- Everyone’s cycle is different. If yours is closer to the median of 96 minutes, five cycles take 8 hours, not 7.5. And the first cycle of the night is shorter than the rest [7]. The calculator has no way of knowing.
- Falling asleep takes a different time every night. An extra 20 minutes in bed throws off the whole calculation.
- Lost sleep changes the night. After it you get more deep sleep, and waking up is harder no matter when the alarm goes off [2].
So the table works well as a hint for when to go to bed. But how you feel in the morning doesn’t come down to the math alone: it matters how much you sleep and how steady your schedule is. How much sleep you need is covered in our article on how many hours of sleep you need.
How to wake up feeling better
Sleep inertia usually wears off within 15 to 30 minutes. But during that time, your attention and reaction speed can be as impaired as after sleep loss, or worse [11]. Without serious sleep loss, sleep inertia rarely lasts longer than 30 minutes [2].
- Get enough sleep. Sleep inertia is stronger after sleep loss [2].
- Get up at the same time every day, weekends included. That’s where a steady schedule starts: more in our article on how to fix your sleep schedule.
- Give yourself those 15 to 30 minutes. Don’t drive or make important decisions right after you get up [11].
For more on what helps in the morning and how to start getting up earlier, see our article on how to wake up early.
Can you trust a smart alarm?
A smart alarm promises to wake you during light sleep. But it guesses your sleep stage from movement, heart rate or sound, while a sleep lab reads it from brain waves.
In one study, 21 healthy people slept at home for two nights with portable polysomnography while four phone apps tracked their sleep at the same time. None of the apps could detect REM sleep. The most accurate one underestimated time awake and partly overestimated deep sleep [12]. Watches and fitness bands struggle with sleep stages too: when seven devices were tested in a sleep lab, their stage estimates were inconsistent [13].
Researchers have also tested a “smart” bedroom that uses light, sound and room temperature to wake you up. In the lab, it made little overall difference to sleep inertia compared with an ordinary alarm clock [14].
If you like your smart alarm, go ahead and use it. But if the sleep stage numbers start to worry you, it’s better not to look: how you feel counts more than any device metrics. More in our article on how to choose a sleep app.
Sleep stages in Sleep Reset
Two days of the program are about sleep stages. On Day 5, Recovery, we look at what happens to your brain and body at night, and the night audio, Backward Arc, works with the way REM sleep processes the day’s events. Day 6, Depth, is about deep sleep: movement, deep breathing and a body scan, with Delta Phase at night. Sleep inertia comes up in the Day 4 morning audio, Anchor Breath, along with breathing that helps you wake up.
Every morning you answer three sleep journal questions: what time you fell asleep, how many times you woke up during the night and what your energy level was upon waking, on a scale of 1 to 10. That shows you how your sleep is changing, without sensors or cycle math.
Sources
- Mitterling T. et al. Sleep and Respiration in 100 Healthy Caucasian Sleepers — A Polysomnographic Study According to American Academy of Sleep Medicine Standards. Sleep, 2015.
- Tassi P., Muzet A. Sleep inertia. Sleep Medicine Reviews, 2000.
- Dauvilliers Y. et al. REM sleep behaviour disorder. Nature Reviews Disease Primers, 2018.
- Siclari F. et al. The neural correlates of dreaming. Nature Neuroscience, 2017.
- Walker M. P., van der Helm E. Overnight therapy? The role of sleep in emotional brain processing. Psychological Bulletin, 2009.
- Le Bon O. et al. Sleep ultradian cycling: Statistical distribution and links with other sleep variables, depression, insomnia and sleepiness — A retrospective study on 2,312 polysomnograms. Psychiatry Research, 2019.
- Cajochen C. et al. Ultradian sleep cycles: Frequency, duration, and associations with individual and environmental factors — A retrospective study. Sleep Health, 2024.
- Rasch B., Born J. About sleep’s role in memory. Physiological Reviews, 2013.
- Ohayon M. et al. National Sleep Foundation’s sleep quality recommendations: first report. Sleep Health, 2017.
- Hirshkowitz M. et al. National Sleep Foundation’s sleep time duration recommendations: methodology and results summary. Sleep Health, 2015.
- Hilditch C. J., McHill A. W. Sleep inertia: current insights. Nature and Science of Sleep, 2019.
- Fino E. et al. (Not so) Smart sleep tracking through the phone: Findings from a polysomnography study testing the reliability of four sleep applications. Journal of Sleep Research, 2020.
- Chinoy E. D. et al. Performance of seven consumer sleep-tracking devices compared with polysomnography. Sleep, 2021.
- Campanella C. et al. The Efficacy of a Multimodal Bedroom-Based ‘Smart’ Alarm System on Mitigating the Effects of Sleep Inertia. Clocks & Sleep, 2024.



