Sleep Calculator
Work out when to go to bed or wake up so you finish complete sleep cycles instead of being pulled out of deep sleep.
Adults aged 18–60 need 7 or more hours of sleep a night, which most people reach by completing four to six cycles of roughly 90 minutes each.
How the sleep cycle math works
Sleep isn't one continuous state — it's a repeating cycle of light sleep, deep sleep and REM that restarts roughly every 90 minutes, four to six times a night. This calculator takes the time you know (bedtime or alarm), adds a realistic ~15 minutes to fall asleep, then counts whole cycles to suggest times when you'd surface from light sleep rather than be dragged out of a deep stage. "Actual sleep" is what the cycles add up to; time in bed is that plus falling asleep — the difference matters when you're checking totals against recommendations.
Good sleep also feeds every other number on this site: it shapes appetite, training recovery and even how reliably your daily calorie burn holds up. If your schedule allows, consistency beats optimisation — the same bedtime and wake time daily does more than any calculator can.
Recommended sleep by age (CDC)
| Age group | Recommended sleep per 24 h |
|---|---|
| Infant (4–12 months) | 12–16 hours (incl. naps) |
| Toddler (1–2 years) | 11–14 hours (incl. naps) |
| Preschool (3–5 years) | 10–13 hours (incl. naps) |
| School age (6–12 years) | 9–12 hours |
| Teen (13–18 years) | 8–10 hours |
| Adult (18–60 years) | 7 or more hours |
| Adult (61–64 years) | 7–9 hours |
| Older adult (65+ years) | 7–8 hours |
As presented by the CDC, blending American Academy of Sleep Medicine consensus (children, and adults 18–60) with National Sleep Foundation ranges (61–64 and 65+). Pediatric figures include naps.
When the calculator isn't the answer
A cycle calculator helps you time an alarm; it can't fix poor sleep. If you snore loudly, wake unrefreshed despite enough hours, lie awake for long stretches most nights, or fight serious daytime sleepiness, those are conversations for a healthcare professional rather than a tool. Treat the suggested times as gentle targets and adjust to what your own body does.
Sources: NHLBI (sleep phases; 4–6 cycles), StatPearls/NCBI (cycle length), Sleep Foundation (sleep onset latency), CDC (recommended durations; AASM & NSF). Educational estimates, not medical advice.
Frequently asked questions
How many sleep cycles do I need a night?
Most people cycle through the sleep stages four to six times a night, with each cycle lasting roughly 90 minutes on average. Five 90-minute cycles gives 7.5 hours of actual sleep, which sits comfortably in the "7 or more hours" the CDC recommends for adults aged 18–60.
Why wake at the end of a cycle?
A cycle runs from light sleep through deep sleep and into REM. Waking during deep sleep tends to produce grogginess (sleep inertia), while waking near the end of a cycle — when sleep is naturally lighter — often feels easier. The 90-minute figure is an average, so treat the suggested times as targets, not guarantees.
How long does it take to fall asleep?
A normal nighttime sleep onset for healthy adults is about 10–20 minutes, which is why this calculator adds 15 minutes by default before counting cycles. Regularly dropping off in under 8 minutes can signal sleep deprivation, while consistently needing more than 20 may point toward insomnia — both worth mentioning to a clinician if persistent.
How much sleep do I need for my age?
The CDC recommends 7 or more hours for adults 18–60, 7–9 hours at 61–64, and 7–8 hours at 65+. Teens need 8–10 hours and school-age children 9–12. The younger the child, the more sleep — infants need 12–16 hours across 24 hours including naps.
Are sleep cycles really 90 minutes?
Ninety minutes is the most-cited average, but real cycles range from about 80 to 110 minutes and change through the night — earlier cycles carry more deep sleep, later ones more REM. That's why this tool lets you adjust the cycle length and why its output is an estimate rather than a promise.
Sources
- NHLBI — Sleep Phases and Stages (NIH) — Cycle 80-100 min, 4-6 nightly
- StatPearls — Physiology, Sleep Stages (NCBI Bookshelf) — Sleep cycle roughly 90-110 minutes
- NHLBI — How Much Sleep Is Enough (NIH) — Recommended sleep hours by age
- Sleep Foundation — Sleep Latency — Normal sleep latency 10-20 minutes
The thresholds and formulas used by this calculator follow the primary sources above. This tool provides general information, not personalised medical advice.