Complete guide
How sleep cycles work
Sleep is not one uniform state. During the night you go several times through a sleep cycle that lasts about 90 minutes on average (usually 70 to 120). Each cycle has three stages of non-REM sleep, from light to deep, followed by REM sleep, the stage of vivid dreams. An adult goes through four to six cycles a night.
- N1 (a few minutes): the transition from wake to sleep, easy to wake from.
- N2 (most of the night): light sleep, body temperature drops, heart rate slows.
- N3, deep sleep: physical recovery, immune system, growth hormone. Dominates the first cycles.
- REM: dreams, memory and emotional processing. REM periods get longer towards morning.
If the alarm goes off in deep sleep you can feel groggy and heavy (this is called sleep inertia). The calculator suggests times when a full cycle ends and sleep is lighter.
How it is calculated
Example: you want to wake up at 6:30. Five cycles are 5 × 90 = 450 minutes (7 hours 30 minutes), plus 15 minutes to fall asleep, so 7 hours 45 minutes in bed. Go to bed at 22:45 (10:45 pm). For six cycles (9 hours of sleep), at 21:15. The maths wraps correctly past midnight: if you go to bed at 23:50, five cycles later you wake at 7:35 the next day.
How much sleep you need, by age
The right number of cycles depends on age. The ranges below are the ones published by the US National Sleep Foundation in 2015 after an expert panel review; the American Academy of Sleep Medicine (AASM) recommends very similar values, for example at least 7 hours for adults.
| Age | Recommended (hours / 24 h) |
|---|---|
| Newborn (0-3 months) | 14-17 |
| Infant (4-11 months) | 12-15 |
| Toddler (1-2 years) | 11-14 |
| Preschooler (3-5 years) | 10-13 |
| School age (6-13 years) | 9-11 |
| Teenager (14-17 years) | 8-10 |
| Young adult (18-25 years) | 7-9 |
| Adult (26-64 years) | 7-9 |
| Older adult (65+ years) | 7-8 |
The calculator tags each option: recommended (in range), a bit short, not enough or more than needed. For an adult, five or six cycles (7.5 or 9 hours) are usually the right choice.
Time to fall asleep and cycle length
Most adults take 10-20 minutes to fall asleep; the default is 15. Falling asleep the moment your head hits the pillow (under 5 minutes) every night can be a sign you are not getting enough sleep. Regularly needing more than 30 minutes is worth discussing with a doctor. Both values, latency and cycle length, can be changed under Advanced options.
Sleep debt
Sleeping less than you need night after night builds a sleep debt. If you need at least 7 hours and get 6, after a week you owe 7 hours. Enter your recent average under advanced options and the calculator shows how far behind you are.
A weekend lie-in helps a little, but it does not erase a full week of short sleep and it shifts your body clock (social jet lag). It works better to go to bed 30-60 minutes earlier for a few weeks while keeping the same wake-up time.
Limits of the calculator
Real cycles are not identical: they vary between people and between nights, and brief awakenings you do not remember shift them. So the times are a guide, not a guarantee. Research shows that total duration and regularity (the same bed and wake times) matter more than matching a cycle to the minute.