Sleep & Wellness

Sleep Calculator

Find the perfect bedtime or wake-up time based on 90-minute sleep cycles. Wake up between cycles — not in the middle of deep sleep — to feel refreshed and alert.

min
Suggested bedtimes
Sleep Timeline (selected option)

What Are Sleep Cycles and Why Do They Matter?

Sleep is not a single uniform state — it is a sequence of recurring 90-minute cycles that your brain and body cycle through all night. Each cycle moves through four distinct stages, and the composition of those stages shifts as the night progresses: early cycles are dominated by deep restorative sleep, while later cycles contain more REM (dream) sleep.

The critical insight is this: waking up mid-cycle — especially during deep sleep (Stage N3) — causes sleep inertia. Sleep inertia is the heavy grogginess, confusion, and impaired performance that can last 30–60 minutes after an untimely alarm. You may have experienced sleeping 8 hours and still waking up feeling terrible. That is sleep inertia from a poorly timed alarm. Conversely, waking at the natural end of a cycle feels dramatically easier, even on fewer total hours.

The Four Stages of Sleep

Stage N1 — Light Sleep
1–7 minutes. The transition from wakefulness. Muscles relax, heart rate slows. Easily disturbed. Accounts for ~5% of total sleep.
Stage N2 — Core Sleep
10–25 minutes. Heart rate and body temperature drop further. Sleep spindles and K-complexes appear. Memory consolidation begins. ~45% of total sleep.
Stage N3 — Deep Sleep
20–40 minutes (early cycles). Slowest brain waves. Physical repair, immune function, and long-term memory consolidation. Hardest to wake from. ~25% of total sleep.
REM Sleep
10–60 minutes (increases in later cycles). Rapid eye movement, vivid dreams, emotional processing, learning consolidation. ~25% of total sleep.

Deep sleep (N3) dominates the first half of the night, which is why cutting sleep short is especially harmful — you lose proportionally more deep sleep. REM sleep dominates the later half, which is why the 7th and 8th hour of sleep are rich in dreaming and emotional processing.

Why 90 Minutes?

The 90-minute cycle length is driven by the brain's ultradian rhythm — a biological oscillation shorter than the circadian (24-hour) cycle. This rhythm appears to be regulated by the interactions between sleep-promoting brain regions (the hypothalamus and basal forebrain) and wake-promoting regions (the locus coeruleus and raphe nucleus). While individual cycle length varies from about 80 to 110 minutes, 90 minutes is the widely-used average that makes this calculator effective for most people.

If you notice that suggested times consistently miss for you, try adjusting your fall-asleep latency or assume your cycles run slightly shorter or longer than 90 minutes.

How to Use This Calculator

There are two modes depending on which constraint is fixed:

The fall-asleep time (sleep latency) is important. If you enter a bedtime of 11:00 PM but typically take 20 minutes to fall asleep, your first cycle doesn't actually begin until 11:20 PM. The calculator subtracts this latency so your suggested times reflect real sleep onset, not when your head hits the pillow.

How Many Cycles Do You Need?

Most adults need 5–6 complete cycles (7.5–9 hours) to feel fully restored. Here is a practical guide:

Teenagers require 8–10 hours (roughly 5–7 cycles). Older adults often shift toward shorter cycles and lighter sleep, which is why they may naturally wake earlier.

Tips for Better Sleep Quality

Frequently Asked Questions

Why are sleep cycles 90 minutes?
The 90-minute cycle is driven by the brain's ultradian rhythm — a biological oscillation controlled by interactions between sleep-promoting and wake-promoting brain regions. This rhythm appears to be conserved across humans, with individual variation of about 80–110 minutes. Using 90 minutes as the standard gives reliable results for most people most of the time.
How many sleep cycles do I need?
Most adults function best with 5 to 6 complete cycles (7.5–9 hours). Four cycles (6 hours) is manageable short-term but accumulates sleep debt. Teenagers typically need 5–7 cycles. If you regularly wake before your alarm feeling refreshed, you may be a natural short sleeper; if you always need the alarm, you may need more cycles.
Why do I wake up groggy even after 8 hours?
Waking mid-cycle — particularly during deep sleep — causes sleep inertia, the grogginess that can last 30–60 minutes. Eight hours of sleep that ends mid-cycle can feel worse than 7.5 hours that ends naturally between cycles. This calculator times your wake-up to land at a cycle boundary, where waking is easiest.
What happens during each sleep stage?
N1 is the brief transition to sleep (1–7 min). N2 is stable core sleep with memory consolidation (10–25 min). N3 is deep slow-wave sleep critical for physical repair, immune function, and long-term memory (20–40 min, mostly early in the night). REM features rapid eye movement, vivid dreaming, and emotional memory processing (10–60 min, mostly late in the night).
Does the fall-asleep time really matter?
Yes. The average person takes 10–20 minutes to fall asleep. If you go to bed at 11 PM but fall asleep at 11:15, your first cycle ends at 12:45 AM — not midnight. Accounting for sleep latency makes your suggested bedtimes and wake times accurate to your actual sleep, not just the clock on your nightstand. Adjust the latency field to match your real-world experience.

How the Sleep Calculator Works

This calculator uses 90-minute sleep cycle intervals to suggest ideal bedtimes or wake-up times. A full night of sleep consists of 4–6 complete cycles. Waking mid-cycle leaves you feeling groggy (sleep inertia); waking at the end of a cycle feels more natural and refreshed.

How Many Hours of Sleep Do I Need?

Why Sleep Cycles Matter

Each 90-minute cycle moves through light sleep (N1, N2), deep slow-wave sleep (N3), and REM sleep. Deep sleep is critical for physical recovery; REM sleep is essential for memory consolidation and emotional regulation. Cutting sleep short often reduces both deep sleep and REM disproportionately.

Tips for Better Sleep Timing

Related Calculators