Sleep Calculator – Optimal Sleep Times

Find the best time to sleep or wake up based on sleep cycles of 90 minutes.

How Sleep Cycles Work

Sleep is organized in 90-minute cycles, each moving through light sleep, deep sleep (slow-wave sleep), and REM sleep. Deep sleep is when your body repairs tissue and consolidates memories; REM sleep is when dreaming occurs and emotional processing happens.

Most adults need 5–6 complete cycles per night (7.5–9 hours). Waking up mid-cycle — particularly during deep sleep — is what causes that groggy, disoriented feeling called sleep inertia.

Best Wake Times Based on Sleep Cycles

The sleep calculator works backwards from your desired wake time to find ideal bedtimes, or forwards from when you plan to sleep to find the best alarm times. Both account for the average 15 minutes it takes to fall asleep.

For example, to wake at 7:00 AM feeling refreshed: bedtimes of 9:45 PM (6 cycles), 11:15 PM (5 cycles), or 12:45 AM (4 cycles) are all cycle-aligned. Waking at a non-cycle-aligned time increases grogginess regardless of total hours slept.

Sleep Tips for Better Recovery

Keep a consistent wake time even on weekends — this anchors your circadian rhythm. Keep your bedroom cool (16–19C / 60–67F) and dark. Avoid screens 30–60 minutes before bed; blue light suppresses melatonin production. Avoid caffeine after 2 PM (caffeine has a 5–6 hour half-life). Regular exercise improves sleep quality but avoid intense workouts within 2 hours of bedtime.

Frequently Asked Questions

How many hours of sleep do adults need?

Most adults need 7–9 hours. Chronic sleep of less than 7 hours is associated with increased risk of obesity, diabetes, cardiovascular disease, and reduced cognitive performance.

Is it better to wake up at the end of a cycle?

Yes. Waking at the end of a 90-minute cycle — even with fewer total hours — often feels better than waking mid-cycle after more sleep. This is why a 6-hour night can sometimes feel better than a 7-hour one.

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

Ideal bedtimes for a 6 AM wake: 8:45 PM (6 cycles), 10:15 PM (5 cycles), 11:45 PM (4 cycles), or 1:15 AM (3 cycles, minimum recommended).