X-Calculator
Wellness and Screening Updated November 23, 2026

Sleep Calculator

Find the best bedtime or wake-up time based on 90-minute sleep cycles.

I want to…
Time
Minutes to fall asleep
min
Advertisement
Advertisement

This sleep calculator finds the best time to go to bed or to set your alarm so that you wake up at the end of a sleep cycle rather than in the middle of one. Enter the time you need to wake up (or the time you are going to bed), add how long you usually take to fall asleep, and it lists bedtimes or wake-up times for 3 to 6 full 90-minute cycles.

How the sleep calculator works

During the night you move through repeating sleep cycles of light sleep (stages N1 and N2), deep slow-wave sleep (N3) and REM sleep. A cycle lasts roughly 90 minutes on average (individual cycles range from about 70 to 120 minutes). Waking at the end of a cycle, when sleep is lightest, tends to feel easier than being pulled out of deep sleep, which causes grogginess known as sleep inertia.

bedtime      = wake-up time − (cycles × 90 min) − time to fall asleep
wake-up time = bedtime + time to fall asleep + (cycles × 90 min)

Most healthy adults fall asleep within 10–20 minutes, so 15 minutes is the default.

Worked examples

  • Wake up at 7:00 AM: 6 cycles = 9 h, plus 15 min → go to bed at 9:45 PM. 5 cycles = 7.5 h → 11:15 PM. Shorter options: 12:45 AM (6 h) or 2:15 AM (4.5 h).
  • Going to bed at 11:00 PM: asleep by 11:15 PM, so wake up at 6:45 AM after 5 cycles or 8:15 AM after 6 cycles.
  • Bed at 10:30 PM, 20 minutes to fall asleep: 5 cycles end at 6:20 AM.
Advertisement
Advertisement

Bedtime chart by wake-up time

Bedtimes that allow 15 minutes to fall asleep:

Wake-up time 6 cycles (9 h) 5 cycles (7.5 h) 4 cycles (6 h)
5:00 AM 7:45 PM 9:15 PM 10:45 PM
5:30 AM 8:15 PM 9:45 PM 11:15 PM
6:00 AM 8:45 PM 10:15 PM 11:45 PM
6:30 AM 9:15 PM 10:45 PM 12:15 AM
7:00 AM 9:45 PM 11:15 PM 12:45 AM
7:30 AM 10:15 PM 11:45 PM 1:15 AM
8:00 AM 10:45 PM 12:15 AM 1:45 AM
8:30 AM 11:15 PM 12:45 AM 2:15 AM
9:00 AM 11:45 PM 1:15 AM 2:45 AM

How much sleep do you need?

Cycle timing helps you wake up feeling better, but total sleep matters more. The CDC and the American Academy of Sleep Medicine recommend:

Age group Recommended sleep per 24 hours
Infants 4–12 months 12–16 hours (including naps)
Toddlers 1–2 years 11–14 hours (including naps)
Children 3–5 years 10–13 hours (including naps)
Children 6–12 years 9–12 hours
Teens 13–18 years 8–10 hours
Adults 18–60 years 7 or more hours
Adults 61–64 years 7–9 hours
Adults 65+ 7–8 hours

For adults that means aiming for 5 cycles (7.5 hours) or 6 cycles (9 hours). Four cycles (6 hours) is fine occasionally but leaves most adults short of the 7-hour minimum; regularly sleeping less than that is linked to higher risks of obesity, diabetes, high blood pressure, heart disease and depression.

Tips for better sleep

  • Keep a consistent schedule – the same bedtime and wake-up time every day, including weekends, stabilizes your body clock.
  • Get morning daylight and dim screens and bright lights for an hour before bed.
  • Limit caffeine after early afternoon; its half-life is about 5 hours, so half of a 3 PM coffee is still in your system at 8 PM.
  • Keep the bedroom cool, dark and quiet – around 65 °F (18 °C) suits most people.
  • Avoid alcohol close to bedtime; it helps you fall asleep but fragments REM sleep later in the night.
  • Short naps: 20 minutes refreshes without entering deep sleep; a 90-minute nap covers one full cycle.

Good to know: sleep cycle length varies from person to person and through the night, so treat these times as estimates for educational purposes. If you regularly snore loudly, stop breathing during sleep, or feel exhausted despite enough sleep, talk to a doctor – conditions such as sleep apnea and insomnia are common and treatable.

Frequently Asked Questions

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

Aim for 9:45 PM (6 cycles, 9 hours of sleep) or 11:15 PM (5 cycles, 7.5 hours), assuming you take about 15 minutes to fall asleep.

How long is a sleep cycle?

A sleep cycle averages about 90 minutes, though individual cycles range from roughly 70 to 120 minutes. Adults usually go through 4–6 cycles per night.

Is it better to sleep 6 or 7.5 hours?

Seven and a half hours (5 cycles) is better for most adults because it meets the recommended minimum of 7 hours. Six hours ends on a cycle boundary but still leaves you short on total sleep.

Why do I feel groggy after a full night of sleep?

Waking from deep sleep in the middle of a cycle causes sleep inertia, a groggy feeling that can last 15–60 minutes. Timing your alarm for the end of a cycle and keeping a regular schedule usually helps.

How long should it take to fall asleep?

Healthy adults typically fall asleep in 10–20 minutes. Falling asleep in under 5 minutes can signal sleep deprivation, while regularly taking more than 30 minutes may indicate insomnia.

Advertisement
Advertisement
Advertisement