Sleep Calculator

In short: to wake at 07:00 feeling clear, get into bed at 21:45 (6 cycles) or 23:15 (5 cycles) — counting 15 minutes to fall asleep and 90 minutes per cycle. Waking at a cycle boundary, not the total hours alone, is what decides whether you surface easily or groggy.

Sleep runs in cycles, not in a straight line

Sleep is not one long uniform state. Through the night your brain repeats a loop roughly every 90 minutes: you drift through light sleep (stages N1 and N2), sink into deep slow-wave sleep (N3), climb back up, and spend a stretch in REM sleep, the vivid-dreaming stage when your eyes move and your muscles are temporarily switched off. Then the loop restarts. A typical night contains four to six of these cycles, and they are not identical: deep sleep dominates the early cycles, while REM stretches get longer towards morning, which is why your most vivid dreams cluster just before you wake.

The practical consequence is that when you wake inside a cycle matters almost as much as how long you slept. Near the top of a cycle you are in light sleep and surface easily. In deep sleep, an alarm has to drag you up from the brain's slowest state, producing sleep inertia — the thick, disoriented grogginess that coffee only partly fixes. This calculator simply works backwards (or forwards) from your chosen time in 90-minute steps, then adjusts for the minutes you typically need to fall asleep, so the alarm lands near a boundary instead of in the depths.

Honesty matters here: 90 minutes is a population average, not your personal constant. Measured cycle lengths range from about 80 to 120 minutes and shift with age, alcohol, illness and how sleep-deprived you are. So treat the suggested times as good defaults to test for a week, not as precision instruments. If a suggested bedtime consistently leaves you groggy, nudge it 15 minutes earlier or later — you are calibrating the average to your own brain.

How the times are worked out

Each cycle is counted as 90 minutes of actual sleep. In "wake at" mode the calculator subtracts whole cycles from your wake time, then subtracts your fall-asleep allowance to give the moment you should be in bed. In "bed at" mode it adds the allowance first — that is when sleep actually starts — then adds whole cycles to give wake times. Six cycles (9 hours of sleep) is the fullest option shown, five cycles (7.5 hours) suits most adults, four cycles (6 hours) is a short night, and three cycles (4.5 hours) is included only for genuine emergencies such as a very early flight.

CyclesActual sleepBest for
6 cycles9 hoursFull recovery, catching up, teenagers
5 cycles7 hours 30 minThe standard adult target
4 cycles6 hoursAn occasional short night
3 cycles4 hours 30 minEmergencies only — expect a hard day

Worked examples

You must wake at 07:00: counting back in 90-minute cycles with 15 minutes to fall asleep, be in bed at 21:45 for 6 cycles, 23:15 for 5 cycles, or 00:45 for 4 cycles. Notice the 5-cycle option, 23:15, is the realistic weeknight pick for most people — the 6-cycle option means lights out before ten.

You get into bed at 23:00: asleep by about 23:15, your cycle-friendly wake times are 08:15 after 6 cycles, 06:45 after 5 cycles, or 05:15 after 4 cycles. Setting the alarm for 07:30 instead would land it mid-cycle — a common reason a "full" night still feels unrefreshing.

Alarm at 06:30, slow to fall asleep (30 minutes): raise the allowance to 30 and every bedtime moves 15 minutes earlier than the default: 21:00 for 6 cycles and 22:30 for 5. The allowance is the most personal number on this page, so set it honestly.

Notes for better results

Consistency beats perfection: waking at the same time daily anchors your body clock far more strongly than any single perfect night. Caffeine has a half-life of roughly five to six hours, so an afternoon coffee is still half present at bedtime and fragments the deep-sleep cycles this calculator is trying to protect. Alcohol is the opposite trap — it shortens the time to fall asleep but suppresses REM and splinters the second half of the night. Finally, if you regularly need more than 30 minutes to fall asleep, or you snore heavily and wake unrefreshed despite 9 hours in bed, the arithmetic is not the problem; mention it to a doctor, because sleep apnoea and insomnia are medical, not mathematical.

Frequently asked questions

How long is one sleep cycle?

About 90 minutes on average. In one cycle you pass through light sleep, deep slow-wave sleep and REM (dreaming) sleep, then briefly surface before the next cycle begins. Cycle length varies between people and across the night, roughly 80 to 120 minutes, which is why this calculator is a planning guide rather than a precise prediction.

Why do I feel worse after 7 hours than after 6?

Because of where the alarm lands. Six hours is four complete 90-minute cycles, so you wake near a light-sleep boundary. Seven hours is four cycles plus an hour, which often puts the alarm in deep sleep or REM. Waking from deep sleep causes sleep inertia: the groggy, heavy-headed feeling that can take an hour to clear, even though you slept longer overall.

How many cycles should I sleep?

Most adults do best on five or six cycles, which is 7.5 to 9 hours of actual sleep. Four cycles (6 hours) can work as an occasional short night but is below what most adults need regularly. Fewer than four cycles is emergency-only territory: reaction time, mood and memory all measurably suffer the next day.

Why does the calculator subtract 15 minutes?

Because you do not fall asleep the second your head touches the pillow. Fifteen minutes is a typical sleep-onset time for a healthy adult, so the calculator counts your cycles from 15 minutes after you get into bed. If you know you drift off faster or slower, change the allowance: the bedtimes and wake times shift by exactly that amount.

Is a 90-minute nap really better than a 60-minute nap?

Usually, yes. A 90-minute nap completes a full cycle, so you wake from light sleep feeling relatively clear. A 60-minute nap often ends inside deep sleep, leaving you groggier than before you lay down. The other good option is a short 20-minute nap, which stays in light sleep. The awkward middle lengths, 40 to 70 minutes, are the ones to avoid.

Note: cycle lengths vary from person to person (roughly 80–120 minutes) and this page is a planning aid, not medical advice. Persistent insomnia, loud snoring or daytime sleepiness despite enough hours in bed should be discussed with a clinician.

Related tools

Cycle figures and worked examples last verified: 24 November 2026. Everything is calculated in your browser — nothing you type is sent anywhere.