Sleep calculator
Find the best time to go to bed or wake up, counted in full sleep cycles.
Plan your sleep
How much sleep do you need?
Recommended hours of sleep per night by age, from National Sleep Foundation and American Academy of Sleep Medicine guidance.
| Age group | Hours per night |
|---|---|
| Toddler (1–2) | 11–14 (with naps) |
| Preschool (3–5) | 10–13 (with naps) |
| School age (6–12) | 9–12 |
| Teen (13–17) | 8–10 |
| Adult (18–64) | 7–9 |
| Older adult (65+) | 7–8 |
Sleep needs vary from person to person. This is general information, not medical advice.
Rough sheet
step-by-stepHow this sleep calculator works
Sleep comes in cycles. During a night you move through light sleep, deep sleep and REM sleep, and one full pass takes about 90 minutes for most adults. Waking at the end of a cycle, when sleep is lighter, tends to feel easier than waking in the middle of deep sleep. This calculator counts back from the time you need to get up, or forward from the time you go to bed, in whole sleep cycles. It also adds the time it takes you to fall asleep, which is about 15 minutes for many people.
A worked example
Say you have to wake up at 7:00 AM and it takes you 15 minutes to fall asleep. Six cycles is 9 hours of sleep, so you would go to bed at 9:45 PM. Five cycles is 7 hours 30 minutes, which means a bedtime of 11:15 PM. Four cycles is 6 hours, for a bedtime of 12:45 AM, and three cycles is 4 hours 30 minutes, for a bedtime of 2:15 AM. For an adult, the five- and six-cycle options both fall inside the usual 7 to 9 hours, and the calculator highlights the one closest to the middle of that range.
Using the wake-up time mode
If you are going to bed now, tap “If I go to bed now”. The calculator switches to wake-up times and uses your current time. For example, going to bed at 11:00 PM with 15 minutes to fall asleep gives wake-up times of 3:45 AM, 5:15 AM, 6:45 AM and 8:15 AM, in 90-minute steps. The later options mean more complete cycles and more total sleep.
Why the number of hours still matters
Sleep cycles are an average, and the exact length varies by person and across the night. The first cycles tend to have more deep sleep and the later ones more REM sleep. Because of that, the calculator is a guide to timing, but total sleep still matters most. Waking up at the end of a cycle after only 4 hours and 30 minutes will not make up for being short on sleep. If you can, aim for the number of hours recommended for your age, and keep your bedtime and wake-up time steady, including on weekends.
What this calculator leaves out
It does not measure your sleep or diagnose any problem. If you are regularly tired after enough hours in bed, or you snore loudly, stop breathing during sleep or struggle with insomnia, a doctor or sleep specialist is the right person to ask. Caffeine, alcohol, screens and room temperature can all change how well you sleep. To plan your day around your energy needs, the Calorie Calculator and the Water Intake Calculator cover two other daily habits.
Frequently asked questions
Common questions about how this sleep calculator works.
A typical adult sleep cycle lasts about 90 minutes, but it ranges from roughly 80 to 110 minutes between people and changes during the night. You can change the cycle length in the calculator if you know yours.
Most adults feel best with 5 or 6 cycles, which is 7.5 to 9 hours. Four cycles (6 hours) is below what most health guidelines recommend for adults. Teenagers and children need more, and the calculator highlights the options that fit the age group you choose.
Many people find it easier to wake near the end of a cycle, when sleep is lighter, but the evidence is mixed and cycle timing is only approximate. What matters most is getting enough total sleep on a regular schedule.
Falling asleep in 10 to 20 minutes is common. If you regularly fall asleep within a couple of minutes, you may be short on sleep. If it often takes more than 30 minutes, set the field to match, and talk to a doctor if it is a lasting problem.
No. It estimates timing from an average sleep cycle and gives general guidance only. If you have trouble sleeping or feel unwell, speak with a doctor.