HealthHealth & Fitness

Sleep
calculator.

Find a bedtime for your alarm, or a wake-up time, in whole sleep cycles.

Before you rely on this result.This is a screening estimate for healthy adults, not a diagnosis. Talk to a doctor or registered dietitian before acting on it, especially if you are pregnant, under 18, an athlete or managing a health condition. Sources used on this page.

How it's worked out

Through the night you move through repeating cycles of light sleep, deep sleep and dream (REM) sleep. One cycle lasts about 90 minutes on average. Deep sleep is the hardest stage to wake from. Near the end of a cycle you are in lighter sleep, so an alarm then is less of a jolt.

To find a bedtime, the tool counts back whole cycles from your alarm, then takes off the time you need to fall asleep:

bedtime\displaystyle \text{bedtime}=wake time\displaystyle {}=\;\text{wake time}−n×cycle\displaystyle {}- n \times \text{cycle}−time to fall asleep\displaystyle {}-\;\text{time to fall asleep}

Here n is the number of cycles, from 3 to 6. If you know when you will get into bed instead, it runs the same sum forward:

wake time\displaystyle \text{wake time}=bedtime\displaystyle {}=\;\text{bedtime}+time to fall asleep\displaystyle {}+\;\text{time to fall asleep}+n×cycle\displaystyle {}+ n \times \text{cycle}

Most adults fall asleep in 10 to 20 minutes, so the tool starts at 15. Both numbers are yours to change. If you often lie awake for half an hour, set 30, and every time on the page moves.

Worked examples

Maya: a 6:30 a.m. school run

Five cycles of 90 minutes is 7 hours 30 minutes. Add 15 minutes to fall asleep and Maya needs to be in bed by 10:45 p.m.. Six cycles would mean 9:15 p.m.. Four cycles, at 12:15 a.m., gives only 6 hours, under the 7 hours adults need.

Open this example in the tool

Sam: in bed at 8:30 a.m. after a night shift

Sam knows when he gets home, not when he must wake. Five full cycles end at 4:15 p.m.. If he has to be up earlier for his kids, 2:45 p.m. still lands at the end of a cycle, after 6 hours.

Open this example in the tool

Theo: slow to drop off before a 5:45 a.m. alarm

Theo usually takes about 30 minutes to fall asleep. For five cycles he needs to be in bed by 9:45 p.m.. With the default 15 minutes, the tool would have said 10:00 p.m., and he would wake mid-cycle.

Open this example in the tool

Reading your result

The times are a guide, not a promise. Real cycles run from about 80 to 110 minutes. Early cycles hold more deep sleep, and later ones more REM. If your cycles are 100 minutes, five of them before a 6:30 a.m. alarm means bed at 9:55 p.m., not 10:45 p.m.. If you keep waking groggy, try the cycle length up or down by 10 minutes for a week.

Total sleep matters more than hitting a cycle exactly. These are the hours recommended per day, from the National Sleep Foundation panel and the AASM consensus for children:

Age groupHours a day
Infants 4 to 12 months12 to 16 (with naps)
Children 1 to 2 years11 to 14 (with naps)
Children 3 to 5 years10 to 13 (with naps)
Children 6 to 12 years9 to 12
Teens 13 to 18 years8 to 10
Adults 18 to 647 to 9
Adults 65 and older7 to 8

For adults, the AASM and the Sleep Research Society agree on at least 7 hours a night. That is why four cycles (6 hours) shows as under for adults, and five (7.5 hours) as within.

Here are the bedtimes for common alarms, with 15 minutes to fall asleep:

Alarm6 cycles5 cycles4 cycles
6:00 a.m.8:45 p.m.10:15 p.m.11:45 p.m.
6:30 a.m.9:15 p.m.10:45 p.m.12:15 a.m.
7:00 a.m.9:45 p.m.11:15 p.m.12:45 a.m.
7:30 a.m.10:15 p.m.11:45 p.m.1:15 a.m.

Common mistakes

  • Counting from the time you get into bed as if you fall asleep at once. Leave out the 15 minutes and every bedtime is 15 minutes late.
  • Picking three cycles because the time looks good. Three cycles is 4 hours 30 minutes. It can get you through one night, but not a week.
  • Changing your wake time on weekends. Sleeping in by two hours on Saturday shifts your body clock, and Sunday night bedtime gets harder. A steady wake time works better than any cycle count.
  • Mixing up a.m. and p.m. A bedtime of 10:45 a.m. for a night shift is right; for a school night it is not. Check the switch next to the time, or use the 24-hour clock.
  • Treating long sleep onset as normal. If it often takes you more than 30 minutes to fall asleep, a later bedtime will not fix it. Talk to a doctor, since insomnia is common and treatable.

Questions people ask

It is not harmful, but waking from deep sleep often brings sleep inertia: a heavy, slow feeling that can last 15 to 30 minutes. Waking near the end of a cycle, in lighter sleep, usually shortens it. A steady schedule helps more than any exact time.

Sources