Free tool

Sleep calculator: when to go to bed and when to wake up

Tell it when your alarm has to ring and it gives you three bedtimes, each at the end of a sleep cycle. Or tell it when you’re going to bed, and it tells you when to set the alarm.

Go to bed at one of these times:

  1. 9:45 PM6 cycles · 9 h of sleep · enough sleep
  2. 11:15 PM5 cycles · 7.5 h of sleep · enough sleep
  3. 12:45 AM4 cycles · 6 h of sleep · short night

Assumes about 15 minutes to fall asleep and sleep cycles of about 90 minutes.

How the calculator works

It adds about 15 minutes to fall asleep, then counts in 90-minute sleep cycles. For a 7:00 am alarm that gives 9:45 pm (six cycles, 9 hours of sleep), 11:15 pm (five cycles, 7.5 hours) or 12:45 am (four cycles, 6 hours).

The 15 minutes is the middle of the 10 to 20 minutes the Sleep Foundation says a healthy person takes to fall asleep. If you usually lie awake for half an hour, go to bed 15 minutes earlier than it says.

Why 90 minutes

Sleep runs in cycles of light sleep, deep sleep and REM. The Sleep Foundation puts the average cycle at about 90 minutes, with four to six in a typical night. Being woken out of deep sleep tends to make the grogginess after waking worse, which is the reason to aim for the end of a cycle.

The catch is that cycles aren’t all the same length. The first is often the shortest and later ones run 90 to 120 minutes, so treat every time here as a good estimate, not a promise.

How much sleep you need

Getting enough matters more than landing on a cycle. The CDC recommends 7 or more hours for adults aged 18 to 60, 7 to 9 for ages 61 to 64, 7 to 8 from 65, and 8 to 10 for teenagers aged 13 to 17. That is why four cycles is marked as a short night: six hours ends neatly on a cycle, and it’s still not enough for most adults.

Then actually getting up

A well-timed alarm still has to be obeyed. If you tend to switch it off and drift back to sleep, set the time you got here in Ryze and pick a mission: it keeps ringing until you’ve done it. If your bedtime keeps sliding later, start with fixing your sleep schedule.

Questions people ask

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

8:45 pm for six cycles (9 hours), 10:15 pm for five (7.5 hours), or 11:45 pm for four (6 hours). Each includes about 15 minutes to fall asleep.

How many sleep cycles do I need?

Five or six 90-minute cycles, which is 7.5 to 9 hours, fits the CDC's advice of 7 or more hours for adults.

Is it better to wake up at the end of a sleep cycle?

Waking from lighter sleep rather than deep sleep tends to feel less groggy. Cycle lengths vary, so a calculator can only estimate where one ends.

Put this calculator on your site

Free for blogs, schools and sleep coaches. Paste this code where you want the calculator to appear. It sets no cookies and shows no ads.