G Graysmith Labs

Drift  /  Sleep calculator

Sleep calculator: what time should I go to bed?

Enter the time you need to wake up and this calculator gives the bedtimes that fit whole sleep cycles of about 90 minutes, plus 15 minutes to fall asleep. For a 7 AM alarm, that means bed at about 9:45 PM for 9 hours or 11:15 PM for 7.5 hours.

How the sleep calculator works

Through the night you move through light sleep, deep sleep and dream (REM) sleep in a repeating cycle that lasts about 90 minutes. Most adults go through four to six cycles a night. Waking at the end of a cycle, when sleep is lighter, tends to feel easier than an alarm that cuts into deep sleep.

So the calculator counts back whole cycles from your wake up time and adds the minutes you usually lie awake first. Cycle length varies from person to person, so treat the times as a starting point: if you still wake up groggy, try 80 or 100 minute cycles for a week.

Wake up at6 cycles (9 h)5 cycles (7.5 h)4 cycles (6 h)
5:00 AM7:45 PM9:15 PM10:45 PM
5:30 AM8:15 PM9:45 PM11:15 PM
6:00 AM8:45 PM10:15 PM11:45 PM
6:30 AM9:15 PM10:45 PM12:15 AM
7:00 AM9:45 PM11:15 PM12:45 AM
7:30 AM10:15 PM11:45 PM1:15 AM
8:00 AM10:45 PM12:15 AM1:45 AM

Bedtimes include 15 minutes to fall asleep. The CDC recommends at least 7 hours a night for adults, so five or six cycles is the target; four cycles is a short night.

Tips for falling asleep on time

  • Keep the wake up time fixed, weekends included. A steady alarm sets your body clock faster than a steady bedtime.
  • Start winding down 30 minutes early. Dim the lights and put the phone face down once the timer or alarm is set.
  • Cover the noise that wakes you. A steady sound such as white noise, rain or a fan masks traffic, snoring and voices through the wall. Try the free white noise generator tonight.
  • Cut caffeine by early afternoon. Its effect lasts for hours, long after you stop feeling it.

This calculator is a planning aid, not medical advice. If you are tired most days however long you sleep, or you snore loudly and wake up gasping, talk to a doctor.

Questions

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

Aim to be in bed around 8:45 PM for six sleep cycles (9 hours) or 10:15 PM for five cycles (7.5 hours). That counts back 90 minute cycles from 6 AM and allows 15 minutes to fall asleep.

How does the sleep calculator work?

Sleep runs in cycles of roughly 90 minutes. The calculator counts back whole cycles from your wake up time and adds the minutes you usually take to fall asleep, so the alarm is more likely to ring near the end of a cycle than in the middle of deep sleep.

How long is a sleep cycle?

About 90 minutes on average, but it varies from person to person and through the night, roughly 70 to 120 minutes. If 90 minute timings leave you groggy, try 80 or 100 in the calculator.

How many hours of sleep do adults need?

The CDC recommends 7 or more hours a night for adults, which is five cycles or more. Teenagers need 8 to 10 hours. Fewer than four cycles a night is short sleep for almost everyone.

Why do I wake up tired after 8 hours of sleep?

Waking in the middle of a cycle, during deep sleep, can leave you groggy for a while even after a full night. Noise that half wakes you, an irregular schedule and late caffeine are other common reasons. If you are tired most days, talk to a doctor.