Free tool

Sleep calculator

Pick the time you have to get up. It gives you bedtimes that end between sleep cycles, so the alarm is more likely to catch you in light sleep. Or start from now.

Go to sleep at

  • 9:15 PM 6 cycles · 9 h of sleep Recommended
  • 10:45 PM 5 cycles · 7 h 30 min of sleep Recommended
  • 12:15 AM 4 cycles · 6 h of sleep
  • 1:45 AM 3 cycles · 4 h 30 min of sleep

Adults need 7 to 9 hours. Five or six cycles land in that range.

How the times are worked out

Sleep comes in cycles: light sleep, deep sleep, then REM, about 90 minutes in all, four to six times a night. Waking at the end of a cycle, when sleep is light, tends to feel easier than being pulled out of deep sleep. So the calculator counts back from your wake-up time in whole cycles, and adds the time it takes you to fall asleep.

Two things are worth knowing. Cycles are not exactly 90 minutes for everyone, so use the slider if your mornings tell you otherwise. And the total still matters more than the timing: five or six cycles (7½ or 9 hours) is the range to aim for.

Bedtimes for common wake-up times

With 90-minute cycles and 15 minutes to fall asleep, the calculator’s defaults:

To wake up at Go to bed at (9 h) Or at (7 h 30 min) Or at (6 h)
4:00 AM 6:45 PM8:15 PM9:45 PM
4:30 AM 7:15 PM8:45 PM10:15 PM
5:00 AM 7:45 PM9:15 PM10:45 PM
5:30 AM 8:15 PM9:45 PM11:15 PM
6:00 AM 8:45 PM10:15 PM11:45 PM
6:30 AM 9:15 PM10:45 PM12:15 AM
7:00 AM 9:45 PM11:15 PM12:45 AM
7:30 AM 10:15 PM11:45 PM1:15 AM
8:00 AM 10:45 PM12:15 AM1:45 AM

Then the morning

Knowing when to sleep is half of it. The other half is the hour after the alarm. If you are working out a wake-up time for a commute, the leave-by calculator works back from when you need to be there, and for an early flight, when to leave for the airport works back from takeoff.

Sleep cycle questions

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

With 90-minute cycles and 15 minutes to fall asleep: 7:45 PM for six cycles (9 hours), or 9:15 PM for five (7.5 hours). Going to bed at 10:45 PM gives four cycles, 6 hours, which is less than adults need.

How long is a sleep cycle?

About 90 minutes on average, but it varies from roughly 70 to 120 minutes between people and through the night: early cycles have more deep sleep, later ones more REM. That is why this calculator lets you change the cycle length. If you often wake just before your alarm, the time between your bedtime and that moment, divided by the number of cycles, is a good estimate of yours.

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

With 90-minute cycles and 15 minutes to fall asleep: 8:45 PM for six cycles (9 hours), or 10:15 PM for five (7.5 hours). Both are within the 7 to 9 hours adults need.

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

With 90-minute cycles and 15 minutes to fall asleep: 9:45 PM for six cycles, or 11:15 PM for five. If 11:15 PM is your usual bedtime, five cycles is the realistic target.

Is it better to sleep 6 hours or 7.5 hours?

Seven and a half, if you can. Waking at the end of a cycle can feel easier, but the total matters more: adults need 7 to 9 hours, and regularly sleeping less adds up. Treat cycle timing as a way to choose between bedtimes, not as a replacement for sleep.