Sleep Cycle Calculator
Wake up between sleep cycles instead of in the middle of one. Calculate the best time to sleep or set your alarm to wake feeling refreshed.
How Sleep Cycles Work

Stage 1-2: Light Sleep
The first 20-25 minutes of each cycle. Heart rate slows, muscles relax, and body temperature drops. Easy to wake from. This is where you want your alarm to go off.
Stage 3: Deep Sleep
The most restorative phase, lasting 20-40 minutes. Growth hormone is released, tissues repair, and memories consolidate. Waking here causes the worst grogginess (sleep inertia). Deep sleep dominates the first half of the night.
REM Sleep
Where vivid dreaming (and lucid dreaming) occurs. REM periods get longer throughout the night—from 10 minutes in cycle 1 to 40-60 minutes in cycles 5-6. This is why the last few hours of sleep are critical for dream recall and lucid dreaming practice.
Frequently Asked Questions
How long is one sleep cycle?
One complete sleep cycle averages about 90 minutes, though it can range from 80-120 minutes depending on the individual. Each cycle includes light sleep (stages 1-2), deep sleep (stage 3), and REM sleep. This calculator uses the 90-minute average.
How many sleep cycles do I need per night?
Most adults need 5-6 complete sleep cycles (7.5-9 hours) per night. 4 cycles (6 hours) is the minimum for healthy functioning. Fewer than 4 cycles regularly can impair memory consolidation, immune function, and emotional regulation.
Why do I feel groggy even after 8 hours of sleep?
You're likely waking up in the middle of a sleep cycle, particularly during deep sleep (stage 3). This causes sleep inertia—that heavy, foggy feeling. By aligning your alarm with the end of a cycle, you wake during lighter sleep and feel much more refreshed.
How does this calculator help with lucid dreaming?
REM sleep periods get longer in later cycles. By sleeping 5-6 cycles, you maximize REM time—which is when lucid dreams occur. WBTB (Wake Back to Bed) works by waking after 4-5 cycles, then falling back asleep directly into REM. Use this calculator to time your WBTB alarm.