Sleep cycles and timing

Sleep Calculator: Bedtime and Wake-Up Times Based on Sleep Cycles

Find a bedtime for your alarm, or a wake-up time for your bedtime, based on sleep cycles and the time you take to fall asleep. Free, with the method explained.

Tell the calculator when you need to be up, or when you're heading to bed, and it suggests times that line up with whole sleep cycles. Got a 7:00 AM alarm? Lights out at 11:15 PM gives you five cycles and 7.5 hours of sleep, and 9:45 PM gives you six cycles and a full 9 hours. The numbers come from averages, so treat them as a sensible starting point and adjust to how you actually feel.

How the sleep calculator works

Through the night your brain moves through repeating cycles of non-REM and REM sleep. Most people go through four to six of these cycles a night, and each one lasts roughly 80 to 100 minutes [1]. The calculator turns that pattern into two simple sums:

  • Bedtime = wake-up time minus the time you take to fall asleep minus (number of cycles × cycle length)
  • Wake-up time = bedtime plus the time you take to fall asleep plus (number of cycles × cycle length)

Out of the box it assumes 90-minute cycles, the usual average [2], and 15 minutes to drift off, the low end of the 15 to 20 minutes most healthy people take [5]. You can change both. It then lists three, four, five and six cycles and tags the options that give 7 to 9 hours of sleep as "Suggested".

Bedtimes for common alarm times

Here are the lights-out times for five and six cycles with the default settings (90-minute cycles, 15 minutes to fall asleep):

Wake-up time5 cycles (7 h 30 min)6 cycles (9 h)
5:00 AM9:15 PM7:45 PM
5:30 AM9:45 PM8:15 PM
6:00 AM10:15 PM8:45 PM
6:30 AM10:45 PM9:15 PM
7:00 AM11:15 PM9:45 PM
7:30 AM11:45 PM10:15 PM
8:00 AM12:15 AM10:45 PM

The calculator also shows four cycles (6 hours), 90 minutes later than the five-cycle time, but it doesn't mark it as suggested. Six hours a night falls short of what most adults need.

Why five or six cycles is the target for most adults

The American Academy of Sleep Medicine and the Sleep Research Society recommend that adults sleep 7 or more hours a night on a regular basis [4]. The CDC says the same for ages 18 to 60, then gives 7 to 9 hours for ages 61 to 64 and 7 to 8 hours from 65 [3]. With 90-minute cycles, five cycles (7.5 hours) and six (9 hours) are the two options inside that range, so those are the ones the calculator highlights. If you're 65 or over, five cycles is the closer fit, because the CDC range for your age stops at 8 hours. Not sure how much sleep you personally need? The sleep need calculator helps you work it out.

Why your cycles may not be exactly 90 minutes

Ninety minutes is an average, not a fixed rule. The first cycle of the night is often the shortest, at around 70 to 100 minutes, while later cycles tend to run 90 to 120 minutes [2]. What fills each cycle changes too: you get more deep sleep early in the night and more REM sleep later [1]. Add a few slightly long or short cycles together and the boundaries a calculator predicts get fuzzier toward morning. Our guide to how long a sleep cycle is walks through the stages, and how many cycles you need covers the nightly total.

That's why the cycle length is a setting. If you keep waking up groggy at a suggested time, try 80 or 100 minutes for a week and keep whichever leaves you feeling better.

Limits and assumptions

The calculator can't see your sleep. It works from averages and has no idea which stage you're in at 6:42 AM. It also can't remove morning grogginess. That foggy spell after waking, called sleep inertia, is normal: most of it lifts within 15 to 30 minutes, full recovery can take an hour or more, and the research is mixed on how much the stage you wake from matters [6]. Our guide to how long sleep inertia lasts has ways to shake it off.

A cycle-based time is only worth having if it gives you enough sleep overall. Five cycles beats four, however neatly four lines up. And the tool is not a diagnosis. If you feel tired most days despite enough time in bed, snore loudly, or someone notices you stop breathing in your sleep, talk to a doctor.

How to use the result

Start from the time you really have to be up and pick the latest suggested bedtime you can keep on an ordinary weeknight. Lights out at that time means lights out, not climbing into bed with your phone for another twenty minutes. Then hold the same wake-up time for a week, weekends included if you can manage it. Still dragging yourself out of bed? Change the cycle length or the time it takes you to fall asleep, and give the new setting another week before you judge it.

Frequently asked questions

What time should I go to bed if I wake up at 6 AM?

If you take about 15 minutes to fall asleep, a bedtime of about 10:15 PM gives five 90-minute cycles (7.5 hours of sleep), and about 8:45 PM gives six cycles (9 hours). Most adults need at least 7 hours [3], so 10:15 PM is the latest cycle-based bedtime that covers it for a 6 AM alarm. Go to bed at 11:45 PM instead and you get four cycles, only 6 hours.

Is a sleep cycle always 90 minutes?

No. Ninety minutes is an average. The National Heart, Lung, and Blood Institute describes cycles repeating every 80 to 100 minutes [1], and the first cycle of the night is often shorter than later ones [2]. If you regularly wake groggy at a suggested time, try the 80- or 100-minute setting for a week.

Will waking at the end of a cycle stop me feeling groggy?

It may help, but nobody can promise that. A bit of fog after waking is normal: in studies, most of it lifts within 15 to 30 minutes, although full recovery can take an hour or more, and researchers report mixed results on how much the sleep stage at waking matters [6]. If mornings are rough, check that you are getting enough total sleep before you fine-tune the timing.

Should I count from when I get into bed or when I fall asleep?

From when you turn the lights off and try to sleep. The calculator then adds the time you usually need to fall asleep; most healthy adults take about 15 to 20 minutes [5]. If you read or scroll in bed first, start the clock when you stop.

Sources

  1. National Heart, Lung, and Blood Institute (NIH). How Sleep Works: Sleep Phases and Stages
  2. Sleep Foundation. Stages of Sleep: What Happens in a Normal Sleep Cycle?
  3. Centers for Disease Control and Prevention. About Sleep
  4. Watson NF et al., Journal of Clinical Sleep Medicine. Recommended Amount of Sleep for a Healthy Adult: A Joint Consensus Statement of the American Academy of Sleep Medicine and Sleep Research Society (2015)
  5. Sleep Foundation. How Long Should It Take to Fall Asleep?
  6. Hilditch CJ, McHill AW, Nature and Science of Sleep. Sleep inertia: current insights (2019)

This page is general information, not medical advice. Sleep needs vary; if you have persistent insomnia, loud snoring, pauses in breathing or daytime sleepiness that affects your safety, see a doctor.