How to use the Sleep Calculator
- Choose a mode: Wake up at (find a bedtime), Go to bed at (find a wake-up time) or Sleep now.
- Enter the time. In “Sleep now” mode the calculator uses the current time and keeps it updated.
- Adjust time to fall asleep if you usually take more or less than 15 minutes, and the cycle length if you know yours.
- Pick one of the suggested times — 5 or 6 cycles (7.5–9 hours) suits most adults.
- Check the age table to see how many hours are recommended for you or your child.
How the sleep calculator works
Sleep is not one continuous state. Through the night you move through repeating sleep cycles, each passing through light sleep (N1, N2), deep slow-wave sleep (N3) and REM sleep, where most vivid dreaming happens. A full cycle lasts roughly 90 minutes on average, typically somewhere between 80 and 110 minutes. Waking at the end of a cycle, when sleep is lighter, tends to feel easier than being pulled out of deep sleep by an alarm, which can leave you groggy — a state called sleep inertia.
The calculator shows options for 6, 5, 4 and 3 cycles, using about 15 minutes to fall asleep by default (sleep-onset latency for healthy adults is often 10–20 minutes).
Worked example
You need to be up at 6:30 AM and usually fall asleep in 15 minutes.
| Cycles | Sleep | Go to bed at |
|---|---|---|
| 6 | 9 h | 9:15 PM |
| 5 | 7 h 30 min | 10:45 PM |
| 4 | 6 h | 12:15 AM |
| 3 | 4 h 30 min | 1:45 AM |
For example, 6:30 AM minus 7 h 30 min is 11:00 PM, and minus another 15 minutes to fall asleep gives 10:45 PM. For most adults, the 5- or 6-cycle option fits the recommended 7–9 hours.
Recommended hours of sleep by age
Two widely cited sources set the ranges below. The National Sleep Foundation published age-based recommendations in 2015 (Hirshkowitz et al., Sleep Health). The American Academy of Sleep Medicine (AASM) issued paediatric recommendations in 2016 (Paruthi et al.) and, with the Sleep Research Society, an adult consensus in 2015 that adults should regularly sleep 7 or more hours per night. The table on this page highlights your age group; paediatric figures include naps.
Short-changing sleep regularly is linked with poorer concentration, mood and reaction time, and over the long term with higher risks of conditions such as obesity, diabetes and high blood pressure. Needs vary between individuals, though: the best sign you are getting enough is waking without an alarm most days and staying alert through the afternoon.
Tips for better sleep
- Keep a consistent schedule, including weekends. A regular wake-up time anchors your body clock more than a regular bedtime.
- Get daylight in the morning and dim the lights in the hour before bed.
- Cut caffeine after early afternoon; its effects can last six hours or more.
- Keep the bedroom cool, dark and quiet.
- Limit alcohol near bedtime. It may help you drift off but fragments sleep later in the night, especially REM.
- Don’t lie awake for long. If you cannot sleep after about 20 minutes, get up and do something calm until you feel sleepy.
Limitations
Cycle-based timing is a rule of thumb. Cycle length differs between people and changes through the night — deep sleep dominates early cycles and REM the later ones — so no calculator can know exactly when your cycles end. If you often feel unrefreshed despite enough time in bed, snore loudly, or stop breathing during sleep, talk to a doctor; conditions such as sleep apnoea and insomnia are common and treatable. This tool provides general estimates and is not medical advice.
Planning your day around your sleep? Try the time duration calculator to count hours between two times.
Frequently asked questions
What time should I go to bed if I wake up at 6 AM?
Is it better to sleep 6 or 7 hours?
How long is one sleep cycle?
How much sleep do adults need?
Should I count the time it takes to fall asleep?
Does napping follow sleep cycles too?
Last reviewed November 2026. Results are estimates for information only — see our disclaimer.