What is a sleep cycle?
A sleep cycle is one complete pass through the stages of sleep, lasting about 90 minutes in most adults. You do not sleep in one flat stretch: your brain cycles between light sleep, deep sleep and dream sleep several times a night, roughly four to six times for a full night. Each cycle ends with a brief moment when you are close to waking — so close that an alarm at that moment feels easy, while an alarm 20 minutes earlier, in the middle of deep sleep, can leave you foggy for half an hour. That is the whole idea behind this calculator: line your bedtime and your alarm up with the natural breaks between cycles.
N1 · ~5 min
The drift-off stage: light dozing from which you wake easily, sometimes with a sudden falling sensation.
N2 · ~45 min
Light sleep, the largest share of the night, when heart rate and temperature drop and memories are filed away.
N3 · ~20 min
Deep, restorative sleep, when the body repairs tissue and strengthens immunity; waking here causes the worst grogginess.
REM · ~20 min
Dream sleep: the brain is highly active while the body stays still, supporting mood, learning and creativity.
How long is a sleep cycle?
The average cycle is about 90 minutes, but real cycles vary from roughly 70 to 120 minutes, and they change shape across the night. Early cycles carry more deep sleep, while later cycles carry more REM sleep — which is why the last hour before waking is rich in dreams and why waking then can feel either vivid or groggy.
Why 5–6 cycles (7½–9 hours) is recommended for adults
Most adults need 7 to 9 hours of sleep, which is five to six 90-minute cycles, and that range is the one in widely used public-health guidance. It is where memory, mood, reaction time and immune function hold up best. Six hours — four cycles — is the floor for an occasional short night, and most people perform measurably worse on it, even when they stop noticing the tiredness. Children and teenagers need more cycles than adults, and older adults often need slightly fewer, but the 90-minute rhythm itself stays the same across ages. The calculator marks the five- and six-cycle results Recommended for exactly this reason: they are the options that cover a full adult night.
How to use the calculator
The calculator has three modes, switched with the tabs above it. “I want to wake up at…” works backwards from your alarm: enter your wake-up time and it shows the bedtimes that land on cycle boundaries — for a 7:00 AM alarm with 15 minutes to fall asleep, that is 9:45 PM for six cycles, 11:15 PM for five, 12:45 AM for four and 2:15 AM for three. “I want to go to bed at…” works forwards: enter your bedtime and it shows the wake-up times, so a 10:45 PM bedtime gives 8:00 AM for six cycles and 6:30 AM for five. “Sleep now” uses a live clock: it takes the current time from your device, adds your fall-asleep time, and shows the wake-up times from right now.
Bedtime = wake time − (cycles × 90 min) − time to fall asleep · Wake-up time = bedtime + time to fall asleep + (cycles × 90 min)
What happens if you wake in the middle of a cycle?
Waking mid-cycle usually means waking from deep sleep, and that causes sleep inertia: a heavy, foggy feeling, slow thinking and a strong urge to go back to bed, lasting roughly 20 to 30 minutes. It is the reason an extra 45 minutes in bed can somehow make you feel worse — the extra time pushed your alarm into deep sleep instead of to the next boundary. The fix is rarely more sleep in general; it is better-placed sleep. If your alarm must fall at an awkward time, move your bedtime 15 minutes earlier or later so the alarm lands on a boundary instead.
Cycles through the night
A typical night is not five identical cycles. The first two cycles are deep-sleep heavy, doing most of the physical repair work, while the last two are REM heavy, doing most of the dreaming and emotional processing. Cutting the night short from the front costs deep sleep; cutting it from the end costs REM sleep.