What This Calculator Does
The Microapp Sleep Cycle Calculator helps you time your sleep so you wake at the end of a cycle, when you feel naturally refreshed — not mid-cycle, when you feel groggy and disoriented. It works backward (you have a fixed wake time, when should you go to sleep?) or forward (you're going to bed now, when should you set your alarm?).
• 6 cycles (9h sleep): bedtime ~9:36 PM ★ recommended
• 5 cycles (7.5h sleep): bedtime ~11:06 PM ★ recommended
• 4 cycles (6h sleep): bedtime ~12:36 AM
• 3 cycles (4.5h sleep): bedtime ~2:06 AM
• 2 cycles (3h sleep): bedtime ~3:36 AM
• 1 cycle (1.5h sleep): bedtime ~5:06 AM
Pick whichever fits your schedule. Going to bed at 11:06 PM gives you 7.5 hours of sleep that ends at the natural cycle boundary, leaving you alert at 7:00 AM.
How Sleep Cycles Actually Work
Sleep is not uniform. Across a night, you cycle through several distinct stages, repeating roughly every 90 minutes:
| Stage | Description | % of cycle |
|---|---|---|
| N1 (light sleep) | Drifting off — easily woken, brief. | ~5% |
| N2 (light sleep) | Most of the night. Body temperature drops, heart rate slows. | ~50% |
| N3 (deep sleep) | Slow-wave sleep. Hardest to wake from. Most physical recovery happens here. | ~20% |
| REM | Rapid eye movement. Most dreaming occurs here. Memory consolidation, learning. | ~25% |
The composition of each cycle changes over the night. Early cycles have more deep sleep (N3); later cycles have more REM. Waking at the end of a cycle — typically as you're transitioning back to light sleep — feels natural. Waking from deep sleep or REM creates "sleep inertia": grogginess, impaired cognitive function, sometimes disorientation lasting 15-60 minutes.
Why 90 Minutes Is an Approximation
The "90-minute cycle" is an average. Real cycles vary:
- Range: 70-110 minutes per cycle in healthy adults
- Drift over night: Cycles tend to lengthen slightly as the night progresses
- Individual variation: Some people consistently cycle every 80 minutes; others every 100 minutes
- State-dependent: Cycle length varies with caffeine, alcohol, stress, age, exercise, and dozens of other factors
The calculator uses the 90-minute average because that's the best general-purpose approximation. For more precise results, consider tracking your sleep with a wearable (Oura, Whoop, Apple Watch) for several weeks to identify your personal cycle length, then mentally adjust the calculator outputs.
How Much Sleep Do You Actually Need?
The National Sleep Foundation's evidence-based recommendations:
| Age group | Recommended hours |
|---|---|
| Newborns (0-3 months) | 14-17 hours |
| Infants (4-11 months) | 12-15 hours |
| Toddlers (1-2 years) | 11-14 hours |
| Preschool (3-5 years) | 10-13 hours |
| School age (6-13 years) | 9-11 hours |
| Teens (14-17 years) | 8-10 hours |
| Young adults (18-25 years) | 7-9 hours |
| Adults (26-64 years) | 7-9 hours |
| Older adults (65+ years) | 7-8 hours |
Self-test: if you regularly need an alarm to wake up, you're under-sleeping. If you wake naturally just before your alarm, you're getting the right amount. If you sleep dramatically more on weekends than weekdays, you're catching up on weekday debt.
Sleep Hygiene — Beyond Cycle Timing
Cycle timing is one factor; the larger factors that determine sleep quality:
- Consistency: Same bedtime and wake time every day, including weekends. Your circadian rhythm doesn't know it's Saturday.
- Cool bedroom: 65-68°F (18-20°C) is ideal for most adults. Sleep onset and quality decline above 75°F.
- Dark room: Blackout curtains or eye mask. Even small amounts of light suppress melatonin.
- No screens 30-60 min before bed: Blue light suppresses melatonin. Red-tinted screens or blue-light filters help but don't fully solve it.
- No caffeine after ~2pm: Caffeine has a 5-6 hour half-life. A 4pm coffee still has half its effect at 9-10pm.
- No alcohol within 3 hours of bed: Alcohol helps you fall asleep but disrupts REM and causes early-morning waking. Net negative for sleep quality.
- Wind-down routine: 30-60 minutes of low-stimulation activity before bed (reading, light stretching, journaling). Signals your body that sleep is coming.
When the Calculator Won't Help
If you have any of these, see a sleep specialist — cycle timing won't fix the underlying issue:
- Persistent insomnia (taking >30 min to fall asleep most nights)
- Frequent middle-of-night waking that disrupts sleep continuity
- Daytime sleepiness despite 7-9 hours in bed (could indicate sleep apnea, narcolepsy, etc.)
- Snoring loudly or waking gasping (potential sleep apnea — get a sleep study)
- Restless legs or limb movements that disrupt sleep
- Falling asleep instantly and consistently in under 5 minutes (sign of sleep deprivation)
Common Mistakes
Optimizing wake time over total sleep duration. If hitting a perfect cycle boundary means sleeping only 5 hours when you need 7, just sleep 7 — slight grogginess from a non-boundary wake is much less costly than 2 hours of sleep deficit.
Inconsistent bedtime. Going to bed at 11pm Monday-Thursday then 2am Friday-Saturday creates chronic 'social jet lag' — the calculator can't compensate for whacking your circadian rhythm twice a week.
Trusting the alarm to wake you. If you need to wake at 6am, going to bed at 12:30am to hit a "perfect 5.5h" cycle puts you in deep sleep when the alarm rings — worst of both worlds. Either commit to enough cycles or accept the imperfect wake.
Ignoring sleep debt. One night of cycle-perfect 6 hours doesn't fix three weeks of 5-hour nights. Chronic under-sleeping requires extended recovery, not optimized timing.
Educational Tool — Not Medical Advice
This calculator implements the standard 90-minute sleep cycle approximation. It's a useful guideline for most people but not a substitute for proper sleep evaluation. Chronic sleep issues require diagnosis and treatment by a sleep specialist — many sleep disorders have effective treatments.
Related Tools
For meeting timing across time zones (so you don't get scheduled for 3am calls), the Countdown Timer and Days Between Calculator handle date math. For productivity within waking hours, the Pomodoro Timer applies the same time-management discipline to focused work.