Sleep Cycle Calculator
Find the best times to fall asleep or wake up so you complete full 90-minute sleep cycles.
This buffer is added before your first cycle begins.
The National Sleep Foundation recommends per night () for your age group. Results highlighted in green meet this target.
Each option ends at a complete 90-minute cycle — wake between cycles feeling refreshed. Tap a card to see the full night visualised.
Sleep timeline
complete cycles · hrs total
Early cycles contain more deep sleep (N3). Later cycles shift toward REM — the stage critical for memory and emotional processing. Waking at cycle end (after REM) causes least grogginess.
Enter a time above to see your optimal sleep schedule.
Results update instantly as you type.
Sleep hygiene tips
Cut caffeine after 2 PM
Caffeine's half-life is 5–7 hours. A 3 PM coffee keeps 50% of its stimulant active at 8–10 PM, delaying sleep onset and reducing deep sleep.
Screens off 60 min before bed
Blue light suppresses melatonin production. Dim your environment an hour before your target bedtime or use Night Mode settings.
Keep bedroom 16–19 °C (62–67 °F)
Core body temperature must drop ~1 °C to initiate sleep. A cool room accelerates this. A warm shower 1–2 hrs before bed speeds up post-bath cooling.
Morning light within 30–60 min of waking
Bright morning sunlight suppresses lingering melatonin, boosts alertness, and programmes your brain to release melatonin earlier the following evening.
Frequently Asked Questions
The science behind sleep cycles
Sleep is not a uniform state of unconsciousness. Throughout the night your brain moves through repeating cycles of distinct stages, each with unique biological functions. Understanding these stages explains why waking at the wrong moment — even after plenty of total sleep — leaves you feeling wrecked.
Each cycle runs roughly 90 minutes and consists of four stages: two light sleep stages (N1 and N2), deep slow-wave sleep (N3), and REM (Rapid Eye Movement) sleep. The proportion of each stage changes across the night — early cycles contain more deep sleep, while later cycles are dominated by REM, which is critical for memory consolidation and emotional processing.
When an alarm interrupts deep sleep (N3), your brain is flooded with adenosine — a sleep-promoting chemical that hasn't been cleared yet. This produces sleep inertia: the grogginess, confusion, and impaired performance that can last 30–60 minutes after waking. Timing your alarm to fall at the end of a cycle, when sleep is lightest, dramatically reduces this effect.
What happens in each sleep stage?
The transition from wakefulness to sleep. Muscles may twitch (hypnic jerk), brain waves slow down, and it is very easy to wake. Makes up about 5% of total sleep time.
Heart rate slows, body temperature drops, and the brain produces sleep spindles that suppress sensory processing. This is where most adults spend around 50% of their sleep.
Slow-wave sleep. The most restorative stage — tissue repair, immune function, and growth hormone release all peak here. Hardest to wake from. Dominates early-night cycles.
Brain activity resembles wakefulness. This is when most vivid dreaming occurs. REM is critical for emotional regulation, learning consolidation, and creativity. Increases with each successive cycle.
How to improve sleep quality — evidence-based habits
Fixed wake time
The single most powerful sleep habit. A consistent wake time anchors your circadian rhythm regardless of when you go to bed. Do this even on weekends.
Morning light exposure
Get outside within 30–60 minutes of waking. Bright morning light suppresses melatonin, boosts alertness, and sets your internal clock to release melatonin earlier in the evening.
Cool bedroom (16–19°C)
Core body temperature must drop ~1°C to initiate sleep. A cool room (62–67°F) accelerates this process. A hot shower 1–2 hours before bed paradoxically helps by causing rapid post-bath cooling.
Screen cutoff 60 min before bed
Blue light from screens suppresses melatonin and delays sleep onset. Use Night Shift / Night Mode, blue-light glasses, or simply dim your environment 1 hour before your target bedtime.
Caffeine before 2pm
Caffeine has a half-life of 5–7 hours. A coffee at 3pm still has 50% of its caffeine active at 8–10pm. Cut off caffeine intake at least 8–10 hours before your target bedtime.
Avoid alcohol before bed
Alcohol may help you fall asleep faster but it severely fragments sleep in the second half of the night by suppressing REM. Even 1–2 drinks reduce sleep quality measurably.
Optimal sleep times by wake-up time
Assuming a 14-minute average fall-asleep time. Each row shows the ideal bedtime to complete 5 or 6 full 90-minute cycles.
| Wake-up time | 6 cycles (9h) | 5 cycles (7.5h) |
|---|---|---|
| 5:00 AM | 7:46 PM | 9:16 PM |
| 6:00 AM | 8:46 PM | 10:16 PM |
| 6:30 AM | 9:16 PM | 10:46 PM |
| 7:00 AM | 9:46 PM | 11:16 PM |
| 7:30 AM | 10:16 PM | 11:46 PM |
| 8:00 AM | 10:46 PM | 12:16 AM |