Skip to content

Sleep calculator

When to sleep or wake up, in full sleep cycles.

What do you know?
min

Go to bed at one of these times

min. The NHLBI gives 80 to 100.

  • Falling asleep
  • Light
  • Deep
  • REM
Your week at this bedtime

Each night starts at the option you picked above. Use the buttons to move one night up or down by a sleep cycle. The shaded band is the recommended range for the age group.

Times are estimates built on an average cycle length. For information only; not medical advice.

Built and maintained by Sam Jakola, editor · Sources and how we check · Corrections · Last reviewed

How long is a sleep cycle?

About 90 minutes. The US National Heart, Lung, and Blood Institute (NHLBI) puts it at 80 to 100 minutes: sleep moves through non-REM and REM phases, then the pattern starts over, usually four to six times a night. The calculator subtracts whole cycles, plus the minutes you need to fall asleep, from your alarm time, or adds them to your bedtime. Ninety minutes is an average, not a measurement of you, which is why the cycle length above can be changed.

The arithmetic
bedtime = alarm − (cycles × 90 min) − time to fall asleep

Alarm at 7:00 AM, five cycles, 15 minutes to fall asleep: 5 × 90 = 450 minutes (7 h 30 min). 7:00 AM minus 7 h 30 min is 11:30 PM, minus 15 more minutes is 11:15 PM in bed.

How to use the times

  1. Set your own time to fall asleep. The default is 15 minutes. If you usually drop off faster or slower, change it, because every result moves with it.
  2. Choose the age group. The highlighted row is the shortest option that reaches the minimum sleep recommended for that age.
  3. Adjust after a week. If you wake up well before the alarm, or feel groggy, shifting by 15 or 30 minutes and comparing is the usual approach.

What happens in each cycle

Each cycle runs from light sleep down into deep sleep, back up, and into REM sleep. The mix changes through the night. According to the NHLBI, you usually spend more time in deep sleep early in the night and have more REM sleep later. The figure is an idealized night, not data from a real sleeper.

A five-cycle night, 15 minutes to fall asleep
Cycle 1 Cycle 2 Cycle 3 Cycle 4 Cycle 5 AwakeREMLightDeep Bedtime Alarm, 7 h 30 min of sleep later
The stages inside a cycle
StageWhat it isWhen it dominates
Stage 1 The transition between waking and sleep Start of each cycle
Stage 2 You are asleep Most of the night
Stage 3 (deep) Deep or slow-wave sleep More in the first half of the night
REM Active brain, usually where dreaming happens More in the second half

Source: National Heart, Lung, and Blood Institute, Sleep Phases and Stages.

How much sleep do you need at each age?

Expert panels set sleep ranges by age. The US Centers for Disease Control and Prevention (CDC) publishes them in one table, drawing on the American Academy of Sleep Medicine (AASM), the Sleep Research Society (SRS) and the National Sleep Foundation (NSF). The right-hand column converts the range into 90-minute cycles for the age groups where that average applies. Babies and small children have shorter cycles, so the calculator starts at age 6.

Recommended sleep per 24 hours
Age groupHoursIn 90-minute cycles
Newborn, 0 to 3 months 14 to 17 shorter cycles
Infant, 4 to 12 months 12 to 16 shorter cycles
Toddler, 1 to 2 years 11 to 14 shorter cycles
Preschool, 3 to 5 years 10 to 13 shorter cycles
School age, 6 to 12 years 9 to 12 6 to 8
Teen, 13 to 17 years 8 to 10 5.3 to 6.7
Adult, 18 to 60 years 7 or more 4.7 or more
Adult, 61 to 64 years 7 to 9 4.7 to 6
Adult, 65 years and older 7 to 8 4.7 to 5.3

Source: CDC, About sleep, citing Hirshkowitz 2015 (NSF), Paruthi 2016 (AASM) and Watson 2015 (AASM and SRS).

For adults aged 18 to 60 the AASM and SRS panel says to regularly sleep 7 or more hours. It did not set a top limit, which is why that row has none. For children and teens, the hours include naps where they apply.

Bedtime for common alarm times

With 15 minutes to fall asleep. Six cycles is 9 hours of sleep, five is 7 h 30 min (the usual adult target), four is 6 hours and three is 4 h 30 min.

Go to bed at, by alarm time
Alarm6 cycles5 cycles4 cycles3 cycles
5:00 AM 7:45 PM 9:15 PM 10:45 PM 12:15 AM
6:00 AM 8:45 PM 10:15 PM 11:45 PM 1:15 AM
6:30 AM 9:15 PM 10:45 PM 12:15 AM 1:45 AM
7:00 AM 9:45 PM 11:15 PM 12:45 AM 2:15 AM
7:30 AM 10:15 PM 11:45 PM 1:15 AM 2:45 AM
8:00 AM 10:45 PM 12:15 AM 1:45 AM 3:15 AM

Source: Calculated here: alarm minus cycles × 90 minutes minus 15 minutes.

What the calculator cannot know

Waking at the end of a cycle is a rule of thumb for picking between two bedtimes. It does not settle how you will feel.

  • Your cycle is not exactly 90 minutes. The NHLBI range is 80 to 100, and the length changes across the night and between nights.
  • Falling asleep varies. The 15-minute default is our own placeholder, not a medical figure; a time you have measured on yourself is closer. An NSF expert panel treats it as one indicator of good sleep.
  • Total sleep still matters most. Four cycles in a perfect position is 6 hours, below the 7-hour adult minimum.
  • Brief wake-ups are normal. The NHLBI notes you may wake briefly between cycles, so you will not always remember them.

If you regularly take much longer than half an hour to fall asleep, wake often or feel unrested after a full night, a doctor is the person to ask; a calculator cannot tell what is behind it.

Common questions

Should I set my alarm for the end of a cycle?

Try it for a week and adjust, as in the last step above. Set the alarm itself with our online alarm clock, and use the time calculator to add or subtract hours and minutes by hand.

Do naps count as cycles?

A short nap does not complete one. A nap of about 90 minutes could, but the calculator is for night sleep and does not model naps. After travel across time zones, the time zone converter shows what the local time is at home.

Sources

Last reviewed November 9, 2026. Sleep ranges are from the CDC’s table of the AASM, SRS and NSF statements. For information only; not medical advice. Talk to a doctor if you have trouble sleeping.