Sleep Calculator

Find the best bedtime or wake-up time based on 90-minute sleep cycles, or calculate from a target sleep duration.

Sleep Cycle Calculator

Sleep Length Calculator

Quick answer. Sleep runs in cycles of about 90 minutes. To wake at 6:00 AM with 15 minutes to fall asleep, go to bed at 10:15 PM for 5 cycles (7.5 hours) or 8:45 PM for 6 cycles (9 hours). Bedtime at 11:45 PM gives 4 cycles.

What the calculator does

The page has two tools. The sleep-cycle tool gives you six bedtimes if you know when you must wake, or six wake-up times if you know when you are going to bed, each timed to the end of a whole sleep cycle. The sleep-length tool simply adds or subtracts a number of hours and minutes you choose. You can change the cycle length and the time it takes you to fall asleep.

Why 90-minute cycles

Sleep moves through repeating cycles that alternate between non-REM and REM sleep, with an average length of about 90 minutes and four to six cycles in a good night. Waking in the middle of a cycle, during deep sleep, tends to feel groggier than waking between cycles, so timing bedtime or wake-up around whole cycles, plus the time it takes to fall asleep, can help you wake up feeling more rested. The cycle length is an average. Yours can be shorter or longer, and it varies from night to night.

Worked example: waking at 6:00 AM

The page opens with “Wake up at” 6:00 AM, a cycle of 90 minutes and 15 minutes to fall asleep. Each bedtime is the wake time minus the cycles and the 15 minutes. Six cycles is 540 + 15 = 555 minutes before 6:00, which is 8:45 PM. Five cycles is 450 + 15 = 465 minutes, which is 10:15 PM. The tool marks these two with a star as the recommended ones.

CyclesSleepMinutes before wake timeGo to bed at
69.0 hours5558:45 PM ★
57.5 hours46510:15 PM ★
46.0 hours37511:45 PM
34.5 hours2851:15 AM
23.0 hours1952:45 AM
11.5 hours1054:15 AM
Hours of sleep for 1 to 6 cycles of 90 minutesFive or six cycles give 7.5 or 9 hours, which fits the usual adult range of 7 to 9 hours, and these two are the ones marked with a star.Hours of sleep for 1 to 6 cycles of 90 minutes1 cycle1.5 h2 cycles3.0 h3 cycles4.5 h4 cycles6.0 h5 cycles7.5 h6 cycles9.0 h
Five or six cycles fit the usual adult range.
How many minutes before a 6:00 AM alarm to be in bed (cycles plus 15 minutes to fall asleep)With 15 minutes to fall asleep, going to bed 8 hours 15 minutes before the alarm gives 5 cycles, and 9 hours 15 minutes gives 6.How many minutes before a 6:00 AM alarm to be in bed (cycles plus 15 minutes to fall asleep)1 cycle105 min2 cycles195 min3 cycles285 min4 cycles375 min5 cycles465 min6 cycles555 min
Bedtime is the alarm time minus the cycles and the time to fall asleep.

Going to bed at 11:45 PM gives 4 cycles, which is 6 hours, and earlier times than 8:45 PM would give more than six cycles, which is rarely needed.

Going to bed now: when should I wake?

Switch the first box to “Go to bed at” and the tool adds the 15 minutes and then whole cycles. If you go to bed at 11:00 PM, the wake-up times are:

CyclesSleepWake up at
11.5 hours12:45 AM
23.0 hours2:15 AM
34.5 hours3:45 AM
46.0 hours5:15 AM
57.5 hours6:45 AM ★
69.0 hours8:15 AM ★

The recommended times are 6:45 AM (five cycles) and 8:15 AM (six cycles).

Change the cycle length and the time to fall asleep

If you are often groggy, try a different cycle length, from about 80 to 110 minutes. With a 100-minute cycle and 20 minutes to fall asleep, waking at 7:00 AM means going to bed at 10:20 PM for five cycles. With an 80-minute cycle and 15 minutes to fall asleep, waking at 6:00 AM gives five cycles from 11:05 PM. A time to fall asleep of 0 shifts every bedtime later by 15 minutes: for 6:00 AM, five cycles become 10:30 PM.

Second tool: a set number of hours

If you prefer to choose the hours yourself, set “Wake up at” or “Go to bed at”, a time, and the hours and minutes of sleep you want. The page opens on a wake time of 6:00 AM and 8 hours, which gives a bedtime of 10:00 PM. For a bedtime of 11:30 PM and 7 hours 30 minutes, the wake-up time is 7:00 AM. This tool does not include time to fall asleep, so add it yourself.

How much sleep do you need?

Typical guidance is 7 to 9 hours for adults aged 18 to 64, 7 to 8 hours for older adults and 8 to 10 hours for teenagers. Individual needs vary. Pick the number of cycles that gives you the hours you need and not a number from a table. If you sleep badly for weeks, or feel very tired in spite of enough hours, talk to a doctor.

Tips for better sleep

  • Keep a regular schedule, even on weekends.
  • Avoid caffeine in the afternoon and large meals close to bedtime.
  • Keep the room dark and cool, and turn screens off before bed.
  • Get daylight in the morning to help set your body clock.
  • Do not rely on the calculator to fix a long-running sleep problem.

Common mistakes

  • Forgetting to include the time it takes to fall asleep, which makes every cycle end 15 minutes early.
  • Treating 90 minutes as exact. It is an average.
  • Going to bed at the calculated time but lying awake for much longer.
  • Choosing the earliest alarm time with only one or two cycles.
  • Using the second tool and expecting it to include the time to fall asleep.

How to read your result

The sleep-cycle tool lists the times for six cycles down to one, with the number of hours beside each, and a star for five or six cycles. The sleep-length tool shows one time. Times are shown in 12-hour format and wrap past midnight, so a result of 1:15 AM means the next morning.

This is a planning estimate, not a medical tool. Real sleep cycles vary by person and by night, and the calculator cannot diagnose sleep problems.

What to do next

Common questions

What's the difference between the two tools?

The first uses sleep cycles of a length you choose, usually 90 minutes, plus the time it takes you to fall asleep, and lists times for one to six cycles. The second simply adds or subtracts the number of hours and minutes you enter.

Why 90-minute cycles?

Sleep alternates between non-REM and REM sleep in cycles that average about 90 minutes. Waking between cycles usually feels better than waking in deep sleep.

How many cycles do I need?

Five or six complete cycles, which is 7.5 to 9 hours, fit the usual adult range of 7 to 9 hours. Your own need may differ.

Should I include the time it takes to fall asleep?

Yes. The calculator adds it to every cycle time. The default is 15 minutes, and you can change it.

Can I change the cycle length?

Yes. Cycles can run from about 80 to 110 minutes. If you often wake groggy, try a different length.

When should I see a doctor about sleep?

If you sleep badly for weeks, feel very tired despite enough hours, snore loudly or stop breathing in your sleep, talk to a doctor.

Sources: Wikipedia: Sleep; Wikipedia: Sleep cycle; American Academy of Sleep Medicine: How much sleep do I really need?

More Everyday Calculators

Pick another tool to jump straight to it.