Sleep Calculator
Calculate optimal bedtimes or wake-up times based on 90-minute sleep cycles with fall-asleep offset.
Sleep cycle planner
Updates as you typeHow the cycle math works
- Tbed
- Time to start winding down for bed
- Twake
- Target wake time
- N
- Number of 90-minute sleep cycles (4, 5, or 6)
- F
- Fall-asleep delay — your sleep onset latency
- Target wake = —
- 5 cycles × 90 min = 450 min (7.5h)
- Fall-asleep delay F = —
- Total offset = —
- Recommended bedtime = —
A healthy adult cycles through four stages roughly every 90 minutes: light sleep (NREM 1 & 2), deep slow-wave sleep (NREM 3), and REM. Waking at the end of a cycle — when sleep is light — leaves you refreshed; waking mid-deep-sleep causes that groggy feeling called sleep inertia.
Early cycles are dominated by deep NREM 3 (physical recovery). Later cycles shift more time into REM, which consolidates memory and emotional processing — which is why cutting sleep short by even one cycle disproportionately costs you REM.
Examples
How It Works
Sleep cycles: A complete sleep cycle lasts approximately 90 minutes and progresses through light sleep, deep sleep, and REM sleep. Waking between cycles (rather than mid-cycle) helps you feel more refreshed.
Fall-asleep time: The calculator accounts for an average 15-minute fall-asleep period. This means if you need to be asleep by 11:00 PM, you should be in bed by 10:45 PM.
Two modes: In "wake up at" mode, the calculator works backward from your alarm time to find optimal bedtimes (3-6 cycles). In "go to bed at" mode, it works forward to find optimal wake times. The 5-cycle option (7.5 hours) is highlighted as the typical recommendation for adults.
Tips & Best Practices
Frequently Asked Questions
Why 90-minute cycles?
Research shows the average complete sleep cycle lasts about 90 minutes, progressing through N1 (light), N2 (deeper), N3 (deepest), and REM stages. While individual cycles vary slightly (80-120 minutes), 90 minutes is the most widely accepted average.
Why is 5 cycles recommended?
Five 90-minute cycles total 7.5 hours of sleep, which falls within the recommended 7-9 hours for adults. This provides enough deep sleep for physical recovery and enough REM sleep for cognitive function.