Sleep Calculator

Tell the calculator when you need to get up — or when you are going to bed — and it suggests times that let you wake at the end of a sleep cycle.

Sleep cycles in a nutshell

Sleep is not one uniform state. Through the night you move through repeating cycles of light sleep (stages N1 and N2), deep slow-wave sleep (N3) and REM sleep, when most vivid dreaming happens. A full cycle lasts roughly 90 minutes on average, although individual cycles range from about 80 to 110 minutes. Early cycles contain more deep sleep; later ones contain more REM.

Waking from deep sleep often leaves you groggy and disoriented, a state called sleep inertia. Waking near the end of a cycle, when sleep is lighter, usually feels easier. This calculator lines up your bedtime or alarm with whole cycles to make that more likely.

How the times are calculated

The calculator adds the time it takes you to fall asleep (default 15 minutes; most healthy adults need 10–20) to a whole number of 90-minute cycles:

Bedtime = wake-up time − (cycles × 90 min) − time to fall asleep

Wake-up time = bedtime + time to fall asleep + (cycles × 90 min)

Options with 5 or 6 cycles (7.5 or 9 hours of sleep) are highlighted as recommended because they meet the advice from the American Academy of Sleep Medicine and the Sleep Research Society that adults sleep 7 or more hours a night. Four cycles (6 hours) is shown as an occasional option; three cycles is too short for regular use. In "Sleep now" mode the calculator uses your device's current time.

Worked example

Your alarm is set for 7:00 AM and you usually fall asleep in 15 minutes:

CyclesSleepGo to bed at
69 h9:45 PM
57 h 30 min11:15 PM
46 h12:45 AM
34 h 30 min2:15 AM

For 5 cycles: 7:00 AM − 7 h 30 min = 11:30 PM, minus 15 minutes to fall asleep = 11:15 PM. Going the other way, if you go to bed at 11:00 PM, the suggested alarms are 6:45 AM (5 cycles) and 8:15 AM (6 cycles).

Tips for better sleep

Cycle timing helps most when the basics are in place. Keep the same wake-up time every day, including weekends; get daylight in the morning; keep your bedroom dark, quiet and cool; and avoid caffeine in the late afternoon and alcohol close to bedtime, which fragments the second half of the night. If you regularly take longer than 30 minutes to fall asleep, wake often, snore loudly or feel sleepy during the day despite enough time in bed, talk to a doctor — conditions such as insomnia and sleep apnea are common and treatable.

Frequently asked questions

How long is a sleep cycle?

About 90 minutes on average, but anywhere from roughly 80 to 110 minutes, and cycles vary through the night. The suggested times are a guide, not an exact prediction.

How many hours of sleep do adults need?

At least 7 hours a night for adults aged 18–60, according to the American Academy of Sleep Medicine. Teenagers and children need more.

Is 6 hours of sleep enough if it is 4 full cycles?

Waking at the end of a cycle may feel easier, but 6 hours is still less than adults need. Regularly short sleep is linked to poorer health, mood and concentration.

Why does the calculator add 15 minutes?

Most people do not fall asleep the moment they lie down. Change the 'time to fall asleep' field to match how long it usually takes you.

Sources & references

Last reviewed: