Sleep · Cycles · Rest

Sleep
Calculator

Find your perfect bedtime or wake-up time based on 90-minute sleep cycles. Wake up refreshed — not mid-cycle groggy.

90 min
Per cycle
4–6
Cycles/night
7–9 hrs
Adults need
+15 min
Sleep onset
🌙
Sleep Calculator
Based on 90-min sleep cycles
Sleep Science

The 4 Stages of a Sleep Cycle

One complete 90-minute cycle includes four stages — repeated 4–6 times per night.

N1
Light Sleep
5–10 min
N2
True Sleep
20–30 min
N3
Deep Sleep
20–40 min
REM
REM Sleep
10–60 min

Bar height represents relative depth. REM periods grow longer in later cycles — meaning cutting sleep short disproportionately reduces your REM sleep.

By Age Group

Recommended Sleep Hours by Age

National Sleep Foundation guidelines.

Age GroupRecommendedMay Be AppropriateNotes
Newborn (0–3 mo)14–17 hrs11–19 hrsIncludes naps; no set night schedule
Infant (4–11 mo)12–15 hrs10–18 hrsNaps + overnight sleep
Toddler (1–2 yrs)11–14 hrs9–16 hrsUsually 1 daytime nap
Preschool (3–5 yrs)10–13 hrs8–14 hrsNaps may continue until age 5
School Age (6–13 yrs)9–11 hrs7–12 hrsConsistent bedtime critical
Teenager (14–17 yrs)8–10 hrs7–11 hrsCircadian rhythm shifts later
Young Adult (18–25 yrs)7–9 hrs6–11 hrsMost adults need 7–9
Adult (26–64 yrs)7–9 hrs6–10 hrsBelow 6 hrs associated with health risks
Older Adult (65+)7–8 hrs5–9 hrsSleep quality often changes with age
💡

Wake Up at the End of a Cycle, Not Mid-Cycle

Waking mid-cycle — especially during deep N3 sleep — causes sleep inertia: that groggy, foggy feeling that can last up to an hour. Even 7.5 hours (5 complete cycles) feels better than 7 hours (which interrupts cycle 5). Use our calculator to find your ideal wake time.

🧠
Why REM Sleep Matters

REM (Rapid Eye Movement) sleep is critical for memory consolidation, emotional regulation, and creativity. Adults need about 20–25% of total sleep in REM to function optimally.

REM periods get progressively longer in later cycles — the 4th and 5th cycles have far more REM than the 1st. Cutting sleep by even 1–2 hours disproportionately reduces REM sleep, impairing cognition and mood the next day.

🌡️
Deep Sleep (N3) & Physical Recovery

Stage N3 (slow-wave or deep sleep) is when physical repair happens: growth hormone is released, muscles are rebuilt, and the immune system is strengthened. Most deep sleep occurs in the first half of the night.

Deep sleep decreases naturally with age — adults over 60 may spend less than 5% of their sleep in N3. Consistent sleep timing, exercise, and avoiding alcohol help preserve deep sleep quality.

How the Sleep Calculator Works

Our sleep calculator is based on the science of sleep cycles. A full sleep cycle lasts approximately 90 minutes and consists of four stages: N1 (light), N2 (deeper), N3 (deep/slow-wave), and REM. Waking at the natural end of a cycle — rather than interrupting one mid-stage — dramatically reduces sleep inertia and helps you feel alert from the moment you wake up.

The Bedtime Calculator

Enter your required wake-up time. The calculator subtracts 15 minutes for sleep onset (the average time it takes to fall asleep), then works backwards in 90-minute increments to show you exactly when to go to bed for 3, 4, 5, or 6 complete cycles.

Wake-up time: 7:00 AM Minus 15 min sleep onset = effective target: 6:45 AM Ideal bedtimes (working backwards in 90-min cycles): 6 cycles (9.0 hrs) → 9:45 PM 5 cycles (7.5 hrs) → 11:15 PM ✓ Optimal 4 cycles (6.0 hrs) → 12:45 AM 3 cycles (4.5 hrs) → 2:15 AM (minimum)

The Wake-Up Time Calculator

Enter your planned bedtime. The calculator adds 15 minutes for sleep onset, then calculates wake-up times at 90-minute intervals, showing you the best times to set your alarm for 4, 5, or 6 complete cycles.

The Duration Calculator

Enter both your bedtime and wake-up time to calculate total sleep duration, how many complete cycles that represents, and whether you're meeting recommended sleep guidelines for your age group.

Sleep Cycles & Circadian Rhythm

Your body runs on a roughly 24-hour internal clock called the circadian rhythm, driven primarily by light exposure. This clock regulates when you feel sleepy, when core body temperature drops, and when melatonin is released. Aligning your sleep schedule with your circadian rhythm — rather than fighting it — is one of the most powerful ways to improve sleep quality.

The Sleep Pressure System

A chemical called adenosine builds up in the brain throughout the day, creating increasing "sleep pressure." When you sleep, adenosine is cleared. Caffeine works by blocking adenosine receptors — which is why caffeine late in the day disrupts sleep even if you don't feel its effects. Stopping caffeine intake by 2–3 PM gives your body time to clear it before bedtime.

Why Consistency Matters More Than Duration

Research by sleep scientists including Dr. Matthew Walker shows that sleep timing consistency is nearly as important as sleep duration. Going to bed and waking at the same time every day — including weekends — keeps your circadian rhythm anchored and improves sleep quality, ease of falling asleep, and morning alertness more than any other single factor.

Napping and Sleep Debt

Short naps of 10–20 minutes (a "power nap") can boost alertness and cognitive performance without causing sleep inertia or disrupting nighttime sleep. Naps of 30–60 minutes often cause grogginess upon waking (mid-cycle interruption). A full 90-minute nap completes one cycle and can help with acute sleep debt, but napping after 3 PM tends to reduce nighttime sleep quality for most people.

Frequently Asked Questions

A complete sleep cycle lasts approximately 90 minutes and consists of four stages: N1 (light sleep, 5–10 min), N2 (true sleep, 20–30 min), N3 (deep slow-wave sleep, 20–40 min), and REM sleep (10–60 min). A full night typically contains 4–6 complete cycles. Waking at the end of a cycle minimizes grogginess.
The National Sleep Foundation recommends 7–9 hours per night for adults aged 18–64, and 7–8 hours for adults 65+. Individual needs vary — some people genuinely function well on 7 hours while others need the full 9. Consistently sleeping under 6 hours is associated with increased risk of cardiovascular disease, obesity, diabetes, and cognitive decline.
The best bedtime depends on your wake-up time and circadian rhythm. Most adults naturally feel sleepy between 10 PM and midnight. Calculate backwards from your wake-up time in 90-minute increments: for a 7 AM wake-up, ideal bedtimes are 9:45 PM (6 cycles), 11:15 PM (5 cycles), or 12:45 AM (4 cycles). Consistency matters more than the specific time.
N1 (5–10 min): lightest sleep, transition from wakefulness — easily woken. N2 (20–30 min): heart rate slows, body temperature drops, sleep spindles occur. N3 (20–40 min): deep slow-wave sleep — growth hormone release, immune function, physical repair. REM (10–60 min): rapid eye movements, vivid dreaming, memory consolidation, emotional processing. REM periods lengthen in later cycles.
7.5 hours (5 complete cycles) is significantly better. Waking after 6 hours often interrupts mid-cycle, causing sleep inertia — that groggy, foggy feeling that impairs performance for hours. If you must cut sleep short, 6 hours (4 complete cycles ending cleanly) is better than 7 hours (which interrupts mid-5th-cycle). Cycle alignment matters nearly as much as total duration.
Sleep inertia is the groggy, disoriented state that occurs when you wake mid-sleep-cycle, especially during deep N3 sleep. It can last from a few minutes to over an hour and significantly impairs cognitive performance, reaction time, and mood. Waking at the natural end of a 90-minute cycle minimizes sleep inertia — which is the core principle behind sleep calculators.
The average time to fall asleep (sleep latency) is 10–20 minutes. Our calculator adds 15 minutes to account for this. If you consistently take longer than 30 minutes to fall asleep, this may be a sign of insomnia or anxiety worth addressing. Falling asleep in under 5 minutes can indicate significant sleep deprivation.
REM (Rapid Eye Movement) sleep is the fourth stage of each cycle, characterized by rapid eye movements, active dreaming, and brain activity similar to waking. It is essential for memory consolidation, emotional regulation, creativity, and learning. Adults spend about 20–25% of total sleep in REM. REM periods grow longer in later cycles — so cutting sleep short disproportionately reduces your total REM time.
You can partially recover from short-term sleep debt with extra sleep over a few days. However, research shows chronic sleep deprivation has lasting cognitive and health effects not fully reversed by a recovery weekend. Consistent nightly sleep is far more beneficial than irregular patterns with catch-up sleep. The best strategy is to never accumulate significant sleep debt in the first place.
A sleep calculator works by calculating backwards or forwards from a given time in 90-minute increments (one sleep cycle), plus 15 minutes for sleep onset. If you want to wake at 7:00 AM, the effective target is 6:45 AM (minus onset), then ideal bedtimes are 6 cycles back (9:45 PM), 5 cycles (11:15 PM), 4 cycles (12:45 AM), and 3 cycles (2:15 AM). Waking at these times means completing full cycles.