Sleep Cycle Calculator

Find the best time to go to bed or wake up using 90-minute sleep cycles. Live "going to bed now" mode and visual cycle timeline included.

Advanced settings

Average adult cycle is ~90 minutes. Individual cycles can range 70-120 min.

Healthy adults typically fall asleep in 10-20 minutes.

For educational purposes only. Not medical advice.

Sleep cycle timeline (5 cycles · 7.5 hours)

N1 — drowsy transition N2 — light sleep N3 — deep sleep REM — dreaming

Recommended sleep duration by age

Age group Hours per night
Newborn (0–3 months)14–17
Infant (4–12 months)12–16 (incl. naps)
Toddler (1–2 years)11–14 (incl. naps)
Preschool (3–5 years)10–13 (incl. naps)
School age (6–12 years)9–12
Teen (13–17 years)8–10
Adult (18–60 years)7+
Adult (61–64 years)7–9
Older adult (65+ years)7–8

Source: CDC — About Sleep · aligned with AASM and National Sleep Foundation recommendations.

Read the guide
How Sleep Cycles Work: The 90-Minute Rule Explained →
Why your body cycles through NREM and REM, what really happens during deep sleep, and the science behind why ending a cycle feels so much better than waking mid-cycle.

How the Sleep Cycle Calculator Works

The Sleep Cycle Calculator finds the times that align with the natural rhythm of your sleep. Most adults move through five or six 90-minute sleep cycles each night, drifting through light sleep, deep sleep, and REM in a predictable pattern. Waking up at the end of a cycle leaves you feeling clear-headed; waking in the middle of one — especially during deep sleep — leaves you groggy.

Pick what you want to figure out. If you have a fixed wake-up time, the calculator counts backwards through five and six full cycles plus the time it takes you to fall asleep, and shows when you should be in bed. If you have a fixed bedtime, it counts forwards. The "going to bed now" mode treats the current minute as your bedtime and updates automatically as the minute changes — useful when you're already in bed scrolling and want to know your real options.

The default cycle length is 90 minutes and the default time-to-fall-asleep is 15 minutes. Both are adjustable in the advanced settings if you know your own averages.

Sleep Cycles Explained: NREM and REM Stages

A sleep cycle has four stages — three of NREM (non-REM) sleep and one of REM. They run in roughly the same order every cycle, taking together about 90 minutes for the average adult.

N1 is the brief, drowsy doorway into sleep — usually only 1 to 7 minutes. Your muscles begin to relax, your breathing slows, and you can still be jolted awake easily. N2 is light sleep and makes up the bulk of the night, around 45% of total sleep time. Your heart rate drops, body temperature falls, and your brain produces short bursts of activity called sleep spindles. N3 — also called slow-wave sleep or deep sleep — is the most physically restorative stage. About 25% of total sleep time, it's when growth hormone is released, tissue is repaired, and memories are consolidated.

REM (rapid eye movement) sleep is the dreaming stage and accounts for the remaining ~25%. Your brain becomes nearly as active as when you're awake, but your body is essentially paralysed except for breathing and eye movement. REM is when most vivid dreaming happens and when emotional memory processing is most active.

These percentages are population averages, not strict per-cycle proportions. Deep sleep dominates the first half of the night; later cycles have less N3 and progressively longer REM episodes. That's why the second half of a normal night feels lighter and more dream-filled — you're cycling through proportionally more REM and proportionally less deep sleep. The visual timeline in the tool above mirrors this: the early bands lean blue (deep), the late bands lean purple (REM).

How Many Sleep Cycles Do You Need?

For most adults, the sweet spot is five to six full cycles per night — roughly 7.5 to 9 hours of total sleep. Five cycles (7.5 hours) is the standard recommendation for a healthy work week; six cycles (9 hours) is what your body wants when you're recovering from heavy exertion, illness, or poor sleep earlier in the week.

Four cycles is a "short night" — about 6 hours of sleep. That's the floor for adults: enough to cover one or two nights of disrupted schedule but not a sustainable baseline. Anything below four cycles cumulatively builds sleep debt that affects mood, focus, and immune function.

Sleep needs vary by age, and the major guideline-setting bodies broadly agree on the bands. The CDC, the National Sleep Foundation, and the American Academy of Sleep Medicine all recommend at least 7 hours per night for adults aged 18 to 60. Teens (13–17) need 8 to 10 hours, school-age children need 9 to 12, and the youngest age groups need substantially more, much of it from naps. The age table above shows the full picture.

The reason "more is not always better" past nine hours is that excess sleep is consistently linked in observational studies with the same kind of negative outcomes — fatigue, mood symptoms, reduced cognitive sharpness — as too little sleep. Five to six cycles hits the metabolic sweet spot for most people; 7.5 hours is a smarter target than a flat eight.

Sleep Onset Latency: Why We Add 15 Minutes

Sleep doesn't start the moment your head touches the pillow. Sleep onset latency is the time it takes your brain to actually transition from quiet wakefulness into N1 — the first sleep stage. For healthy adults this typically takes 10 to 20 minutes.

The Sleep Cycle Calculator adds 15 minutes by default, which sits in the middle of the normal range and aligns well with population-level data from clinical sleep latency tests. If you tend to fall asleep almost the moment you lie down, drag the slider down to 5–10 minutes. If you reliably need 25–30 minutes of stillness before drifting off, drag it up.

A persistent inability to fall asleep within 30 minutes — especially when paired with daytime fatigue — is one of the diagnostic markers of insomnia and worth a conversation with a healthcare provider. Falling asleep in under 5 minutes can paradoxically be a sign of sleep deprivation rather than good sleep hygiene.

Sleep Inertia and Why End-of-Cycle Wake Matters

If you've ever slept eight full hours and felt worse than after a six-hour night, you've experienced sleep inertia — the heavy, fogged, disoriented feeling that hits when an alarm pulls you out of deep sleep. It's not a personality trait or a willpower issue. It's neurochemistry. Waking from deep sleep (N3) activates parts of the brain associated with executive function more slowly than waking from lighter stages, and the lag can last anywhere from a few minutes to over an hour.

This is the core reason the 7.5-hour-vs-8-hour comparison so often surprises people: a 7.5-hour night that ends after a clean five cycles can leave you sharper than an 8-hour night that ended 30 minutes into the sixth cycle, deep in N3.

The takeaway isn't that the alarm clock is your enemy. It's that timing matters. If you have a fixed wake time, working backwards in 90-minute chunks from that wake time gives you bedtime targets that align with the natural end of a cycle, when you're already in light sleep and your brain is most ready to come back online.

A few caveats: cycle lengths vary by individual, by age, and across the night, so no calculator can guarantee you'll wake at the precise instant a cycle ends. The advice is directional — pick the bedtime that statistically lands closest to a cycle boundary, then trust your body to do the fine-tuning. Most people find that within a week of trying it, their natural wake-ups start landing within 10–15 minutes of the calculated time without needing an alarm.

Tips to Fall Asleep Faster

The fastest sleep-onset gains come from environmental and routine adjustments, not pills or apps. Keep the bedroom cool — somewhere around 65–68°F (18–20°C) is the most-cited evidence-supported range. Keep it dark, ideally with blackout curtains or a sleep mask, since even small amounts of light suppress melatonin.

Wind down your screen exposure at least 30 minutes before bed. Blue-light filters help a little, but the bigger problem is the cognitive activation of scrolling, reading work email, or watching anything dramatic. A boring book or audio book is a better trade.

Try the 4-7-8 breathing pattern: breathe in through your nose for 4 seconds, hold for 7, exhale through your mouth for 8. Three or four rounds drops your heart rate and pulls your nervous system out of any residual fight-or-flight activation from the day. It's one of the few "sleep hacks" that has consistent anecdotal support and a plausible mechanism.

Avoid caffeine after roughly 2 PM. Caffeine has a half-life around 5–6 hours, so a 3 PM espresso still has roughly a quarter of its peak dose floating in your bloodstream at 9 PM. If you're sensitive, push the cutoff earlier.

If you've been in bed more than 20–30 minutes and sleep isn't coming, get up. Go to a different room, do something boring under dim light, and only return when you feel sleepy. Lying awake in bed teaches your brain that the bed is a place for thinking — which is exactly the opposite of what you want.

A note on accuracy

This tool provides general sleep-cycle estimates based on average adult sleep physiology and is for educational purposes only. Individual sleep needs and cycle lengths vary with age, health, lifestyle, and sleep disorders. The calculator is not a medical device and does not diagnose or treat any condition. If you have ongoing trouble sleeping, excessive daytime sleepiness, or suspected sleep disorders, consult a licensed healthcare professional.

Sources used in this guide and the calculator defaults: CDC — About Sleep · Sleep Foundation — Stages of Sleep · StatPearls — Physiology of Sleep Stages (NCBI) · AASM — Seven or More Hours of Sleep

Frequently asked questions

How does a sleep cycle calculator work?
A sleep cycle calculator uses the average 90-minute adult sleep cycle to suggest bedtimes or wake times that line up with the natural end of a cycle. Waking at the end of a cycle, when you're already in light sleep, feels far easier than waking in the middle of deep sleep.
How many sleep cycles do adults need per night?
Five to six complete cycles is the recommended range for most adults, which works out to roughly 7.5 to 9 hours of total sleep. Five cycles (7.5 hours) is a healthy work-week target; six cycles (9 hours) is appropriate when you're catching up or recovering.
What time should I go to bed if I want to wake up at 6 AM?
Working backwards from 6 AM: subtract 7.5 hours for five cycles plus 15 minutes to fall asleep, and you should be in bed by 10:15 PM. For six cycles (9 hours of sleep) plus 15 minutes onset, target an 8:45 PM bedtime.
Why do I feel groggy even after 8 hours of sleep?
Likely sleep inertia — your alarm went off mid-cycle, probably during deep sleep. Eight hours doesn't divide evenly into 90-minute cycles, so an 8-hour night often ends 30 minutes into a sixth cycle. A 7.5-hour night that ends cleanly after five cycles often feels better.
Is 7.5 hours of sleep better than 8 hours?
For most people, yes. 7.5 hours equals five full 90-minute cycles, so the alarm naturally falls in light sleep. 8 hours puts the alarm 30 minutes into a sixth cycle, often in deep sleep. Cycle alignment matters more than total time at this scale.
Is 6 hours of sleep enough for adults?
Six hours covers four full cycles and is the bare minimum for one or two nights. As a sustainable habit, no. The CDC, AASM, and Sleep Foundation all recommend at least 7 hours per night for adults aged 18–60.
How long does it typically take to fall asleep?
Healthy adults usually fall asleep in 10 to 20 minutes. The Sleep Cycle Calculator uses 15 minutes as the default. Falling asleep in under 5 minutes can be a sign of sleep deprivation; consistently taking more than 30 minutes is one marker of insomnia.
What are the four stages of sleep?
N1 (drowsy transition, ~5%), N2 (light sleep, ~45%), N3 (deep slow-wave sleep, ~25%), and REM (dreaming, ~25%). Each cycle moves through them roughly in order. Deep sleep dominates earlier in the night; REM lengthens across the night, making the final third dream-heavy.
How much REM sleep do I need each night?
Around 20–25% of total sleep, or about 90 minutes to 2 hours for adults sleeping 7 to 9 hours. REM is concentrated in the second half of the night, so cutting an hour off the end of your sleep disproportionately reduces REM.
Does sleep cycle length change with age?
Yes. Newborn cycles run about 50 minutes; they lengthen toward the adult ~90 minutes by school age. Older adults often have slightly more fragmented cycles with less time in deep sleep. The 90-minute default applies most cleanly to adults aged 18–60.
What is sleep inertia?
Sleep inertia is the foggy, slow-thinking feeling that follows waking from deep sleep. It can last anywhere from a few minutes to over an hour. It's a sign your alarm pulled you out of N3 instead of catching you in lighter sleep, not necessarily a sign of insufficient sleep.
Can I catch up on lost sleep on weekends?
Partially. A long Saturday sleep can repay short-term sleep debt and restore alertness. But chronic weeknight sleep loss isn't fully repaid by weekend recovery — metabolic and cognitive markers stay impaired. Adding 30–60 consistent minutes most nights works better than weekend binges.
Does melatonin reset my sleep cycle?
Melatonin shifts the timing of your sleep onset, especially in low doses (0.3–1 mg) at the right time relative to your target window. It does not reset cycle architecture or replace lost sleep. Effective for jet lag and shift work; not a treatment for chronic insomnia. Consult a healthcare provider before starting.
How accurate is a sleep cycle calculator?
Accurate enough to be directionally useful, not precise to the minute. Real cycles vary 70–120 minutes between individuals and even from cycle to cycle within a single night. The calculator gives you a target close to a cycle boundary; your body does the fine-tuning. Wearable trackers personalize this further.
Does this calculator store or upload my data?
No. Everything runs entirely in your browser using JavaScript. Your inputs never leave your device — no server upload, no cookies, no analytics tied to your specific times. Close the tab and it is gone.