Upkeep

The service manual for a man's body

Search Saved

Sleep calculator: when to go to bed

Pick your wake-up time to see bedtimes that give you 7 or more hours, with sleep cycles as a rough guide.

Based on
CDC sleep recommendations; NIH sleep-cycle estimates
Last checked
Units

18–100 years

0–60 minutes, in steps of 5. The default is 15.

Your result

Pick a wake-up time to see your bedtimes.

Educational only, not medical advice. If you have a health condition, follow your clinician.

How this is calculated

Sleep runs in cycles that average about 90 minutes. We count backwards from your wake-up time by whole cycles, plus the time you usually take to fall asleep. We never show a bedtime that gives you less than 7 hours of sleep.

Bedtime = wake-up time − (cycles × 90 min) − minutes to fall asleep
Shown for 6 cycles (9 h) and 5 cycles (7.5 h); 6 cycles is hidden from age 65
Latest bedtime for 7 hours = wake-up time − 7 h − minutes to fall asleep

CDC recommends 7 or more hours for ages 18–60, 7–9 hours for ages 61–64 and 7–8 hours for 65 and over. The fall-asleep allowance defaults to 15 minutes and you can set it from 0 to 60 in steps of 5; the National Sleep Foundation lists falling asleep in 30 minutes or less as a sign of good sleep quality, so 15 sits inside the normal range. Times show in 12-hour AM/PM or 24-hour format, whichever you choose.

Valid ranges: age 18–100 years; wake-up time any time of day (bedtimes wrap across midnight); minutes to fall asleep 0–60.

Sources

  1. CDC: about sleep, how much sleep you need
  2. StatPearls: physiology, sleep stages (updated 2024)
  3. Ohayon M et al. Sleep Health 2017;3:6–19: National Sleep Foundation sleep quality recommendations

When this number is wrong

Adults need at least 7 hours of sleep. Sleep runs in cycles of roughly 90 minutes, but cycle length varies from person to person and through the night, so these bedtimes are rough guides, not a formula. There is no good evidence that waking “between cycles” makes you feel better. A consistent wake time matters more. Taking more than about 30 minutes to fall asleep regularly, loud snoring, gasping at night or daytime sleepiness are worth raising with a doctor.

When to talk to a doctor

Taking more than about 30 minutes to fall asleep regularly, loud snoring, gasping at night or daytime sleepiness are worth raising with a doctor. See how to stop snoring, and when it's sleep apnea.

Try