About this tool
During the night you pass through several sleep cycles, each moving from light sleep into deep sleep and then REM (dream) sleep. A cycle lasts about 90 minutes on average. Waking up at the end of a cycle, when sleep is light, tends to leave you less groggy than an alarm that cuts into deep sleep.
The American Academy of Sleep Medicine and the Sleep Research Society recommend that adults sleep at least 7 hours a night, and the National Sleep Foundation suggests 7–9 hours for most adults. This calculator combines both ideas: it finds bedtimes or wake-up times that fit whole cycles and highlights the ones that give you enough sleep.
How it works
Choose whether you want to wake up at a set time, go to bed at a set time or go to bed right now. The wake-up time is the bedtime plus the time it takes you to fall asleep, (15 minutes by default), plus whole sleep cycles of length (90 minutes on average). Waking at the end of a cycle, in light sleep, usually feels easier than waking from deep sleep.
The calculator lists options from six cycles down to three. Those within the recommended hours for your age group are marked, and the suggested time is the one closest to the middle of that range. If you know your cycles are shorter or longer, adjust the cycle length.
Example
To wake up at 7:00 a.m. with 90-minute cycles and 15 minutes to fall asleep, five cycles take minutes, or 7.5 hours. With the 15 minutes added, you would go to bed 7 hours 45 minutes earlier, at 11:15 p.m.
Six cycles (9 hours) mean going to bed at 9:45 p.m., and four cycles (6 hours) at 12:45 a.m. For an adult, the 11:15 p.m. bedtime is closest to the middle of the 7–9 hour range.
Recommended hours of sleep by age
National Sleep Foundation recommendations (2015)
| Age group | Hours per day |
|---|---|
| Newborns (0–3 months) | 14–17 h |
| Infants (4–11 months) | 12–15 h |
| Toddlers (1–2 years) | 11–14 h |
| Preschoolers (3–5 years) | 10–13 h |
| School-age children (6–13 years) | 9–11 h |
| Teenagers (14–17 years) | 8–10 h |
| Young adults (18–25 years) | 7–9 h |
| Adults (26–64 years) | 7–9 h |
| Older adults (65+ years) | 7–8 h |
Newborns and infants sleep in shorter cycles of about 50–60 minutes, so the cycle calculator covers children from age 6. Hours for young children include naps.
Assumptions and limits
Sleep cycles are not identical: they range from about 70 to 120 minutes, change through the night and differ from person to person, so the times are a guide rather than a precise schedule. Getting enough total sleep on a regular schedule matters more than hitting the end of a cycle exactly.
If you regularly have trouble falling or staying asleep, snore loudly, stop breathing during sleep or feel very sleepy during the day despite enough time in bed, talk to a doctor; these can be signs of insomnia or sleep apnea. This calculator gives general information, not medical advice.
Frequently asked questions
How long is a sleep cycle?
About 90 minutes on average, but anywhere from roughly 70 to 120 minutes. Cycles early in the night contain more deep sleep, and later cycles more REM sleep. If you often wake up naturally just before your alarm, try adjusting the cycle length.
How many hours of sleep do I need?
Adults need at least 7 hours a night; the National Sleep Foundation recommends 7–9 hours for adults aged 18–64 and 7–8 hours from 65. Teenagers need 8–10 hours and school-age children 9–11 hours. The reference table below lists every age group.
Is 6 hours of sleep enough?
For most adults, no. Six hours is four full cycles, and regularly sleeping less than 7 hours is linked to poorer concentration, mood and long-term health. A few people do well on less, but many who feel fine on 6 hours have simply got used to being tired.
What if I wake up in the middle of a cycle?
Waking from deep sleep can cause sleep inertia, a groggy feeling that usually passes within 15–30 minutes. It is not harmful, but going to bed at a time that lets you finish a cycle can make mornings easier.
How long should it take to fall asleep?
Healthy adults usually fall asleep within 10–20 minutes. Falling asleep within a few minutes every night can be a sign of sleep deprivation, while regularly needing more than 30 minutes may point to insomnia. Set the fall-asleep time to what is normal for you.
Link with your values
Add these parameters to this page’s address to open it with the values filled in, for example to share a calculation or to link to it from an AI assistant. The result is calculated in the browser: the page HTML shows an example for the default values, and the tool sets the data-url-params attribute once the link’s values are applied.
| Parameter | Value | If omitted |
|---|---|---|
modeI want to | one of: wake, bed, now | default wake |
wake_timeWake-up time | time: HH:MM, 24-hour; used with mode = wake | required |
bed_timeBedtime | time: HH:MM, 24-hour; used with mode = bed | required |
cycle_minutesCycle length (min) | whole number; allowed 70–120 | counted as 90 |
fall_asleep_minutesTime to fall asleep (min) | whole number; allowed 0–60 | counted as 15 |
age_groupAge group | one of: school, teen, young_adult, adult, older | default adult |
Examples
?wake_time=06:30?bed_time=23:15&fall_asleep_minutes=20?mode=now&age_group=teen
Write decimals with a point. Encode a space as %20, + as %2B, # as %23 and & as %26.
Result elements: [data-result-block="sleep"]