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
Sleep cycle timeline (5 cycles · 7.5 hours)
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.
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.
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