Sleep Cycle Calculator
Plan your sleep around 90-minute cycles. Enter your target wake time to find the best bedtimes, or enter your bedtime to find the best times to wake up.
Inputs
Results
Why You Wake Up Groggy — Even After Eight Hours
You slept a full eight hours. Yet the alarm goes off and you feel worse than if you had only slept six. The culprit is likely where in your sleep cycle the alarm struck — not how many hours you slept.
Sleep is not a flat, uniform rest state. Your brain cycles through distinct stages throughout the night, and being yanked out of the wrong one leaves you foggy for hours.
The 90-Minute Sleep Cycle
Each sleep cycle lasts roughly 90 minutes and passes through four stages:
- N1 (Light Sleep) — The transition from wakefulness. Easy to wake, short duration.
- N2 (Intermediate Sleep) — Body temperature drops, heart rate slows. You spend the most total time here.
- N3 (Deep / Slow-Wave Sleep) — The most restorative stage. Hard to wake from. Important for physical repair and memory consolidation.
- REM (Rapid Eye Movement) — Vivid dreaming, memory processing, emotional regulation.
Early in the night, cycles skew toward deep sleep (N3). Later cycles skew toward REM. Both phases serve different but equally important recovery functions — which is why cutting sleep short to skip "just REM" is a real physiological cost.
When a cycle completes, you briefly return to near-wakefulness before the next one begins. If your alarm fires during this brief light phase, waking is easy and you feel alert. If it fires mid-N3 or mid-REM, you experience sleep inertia — the disoriented, foggy, almost-drunk feeling that can last 30–60 minutes.
The Formula
Bedtime=Wake Time−(N×90min)−Sleep Latency Wake Time=Bedtime+(N×90min)+Sleep LatencyWhere:
- is the number of complete cycles (3, 4, 5, or 6 in this calculator)
- Sleep latency is how long it takes you to fall asleep after getting into bed
The calculator presents results for 3–6 cycles so you can pick the option that fits your schedule while still landing at a cycle boundary.
How Many Cycles Do You Need?
| Cycles | Sleep Time | Notes |
|---|---|---|
| 3 | 4.5 h | Minimum for a short recovery night. Not sustainable long-term. |
| 4 | 6 h | Below the recommended range for most adults. |
| 5 | 7.5 h | Recommended — mid-range for the NSF's 7–9 h guideline. |
| 6 | 9 h | Recommended — useful when recovering from sleep debt. |
The National Sleep Foundation recommends 7–9 hours per night for adults aged 18–64. Five cycles (7.5 h) sits comfortably within that range for most people; six cycles (9 h) is appropriate when you need extra recovery.
Sleep Latency: The Forgotten Factor
Most sleep calculators skip sleep latency — the time between lying down and actually falling asleep. Ignoring it means your results are systematically off.
Default: 15 minutes. The average healthy adult takes 10–20 minutes to fall asleep. Adjust the slider in the calculator to match your real experience:
- Under 5 minutes: You may be carrying significant sleep debt. Falling asleep immediately is a sign your body is running a deficit.
- 5–15 minutes: Typical for a well-rested person.
- 20–30 minutes: Common for people with mild sleep onset difficulties. Consider reviewing sleep hygiene (consistent schedule, dark room, limiting blue light).
- Over 30 minutes regularly: This may indicate insomnia or another sleep disorder worth discussing with a healthcare provider.
Practical Tips
Use the Right Mode
- Wake time → Bedtime (default): You have a fixed alarm (work, school, flight). Enter it and pick the closest bedtime that fits your evening.
- Bedtime → Wake time: You go to bed at a consistent time and want to set your alarm at the most natural waking point.
Midnight-Wrapping Results
All times wrap around midnight. A bedtime showing 22:30 means 10:30 PM. A result of 01:00 means 1:00 AM — the following morning if your reference is an evening bedtime. The calculator does not track which calendar day the result falls on, so read the hour carefully when planning overnight sleep.
Consistency Beats Optimization
Sleep cycle math is a useful guide, but the most powerful sleep lever is a consistent wake time — even on weekends. Anchoring your wake time stabilizes your circadian rhythm, which naturally regulates when you feel sleepy. A stable schedule makes it easier to hit the right bedtime without calculating.
Cycles Are Approximate
The 90-minute figure is an average. Real cycles vary between 80 and 110 minutes, and the proportion of deep vs. REM sleep shifts across the night. Use the calculator as a planning guide, not a precision instrument. If you consistently feel rested after 7.5 hours, that is your signal — not a stopwatch.
When the Math Isn't Enough
If you routinely feel unrested despite sleeping 7–9 hours, or if you struggle to fall or stay asleep, the issue may not be timing. Conditions such as sleep apnea, restless leg syndrome, or circadian rhythm disorders require evaluation beyond a bedtime calculator. A sleep study or consultation with a sleep medicine specialist can identify what no formula will catch.
Frequently Asked Questions (FAQ)
What is a sleep cycle?
A sleep cycle is a sequence of sleep stages — light sleep, deep sleep, and REM — that repeats roughly every 90 minutes throughout the night. Waking up at the end of a cycle (rather than mid-cycle) means you surface from lighter sleep, so you feel more refreshed.
Why does the calculator subtract 15 minutes by default?
The 15-minute "sleep latency" accounts for the time between getting into bed and actually falling asleep. The average healthy adult takes about 10–20 minutes to fall asleep. Adjust it to match your own experience — if you fall asleep in 5 minutes, set it to 5; if it takes 30 minutes, use 30.
How many hours of sleep do adults need?
The National Sleep Foundation recommends 7–9 hours per night for adults aged 18–64, and 7–8 hours for those 65 and older. Five to six 90-minute cycles (7.5–9 hours) aligns well with this guidance. Consistently sleeping fewer than 6 hours is associated with increased health risks.
Do sleep cycles stay exactly 90 minutes all night?
Not quite — early cycles in the night tend to have more deep (slow-wave) sleep, while later cycles are heavier in REM. Cycle length also varies by individual and night. The 90-minute model is a useful average approximation, not a precise biological clock.
What if my calculated bedtime has already passed?
All times wrap around midnight modulo 24 hours, just like a clock face. A result of "02:30" means 2:30 AM the next morning if your reference time was in the evening. Check the hours carefully when planning overnight sleep.
Disclaimer
Sleep cycle length varies by individual, age, and night. The 90-minute model is a commonly cited average. This calculator does not replace medical advice; consult a healthcare professional for persistent sleep problems.