Sleep Calculator

Work out when to go to bed — or when to set your alarm — so you wake up between sleep cycles instead of in the middle of one.

Free, no sign-upRuns in your browserUpdated November 2026
I want to…
Most healthy adults fall asleep in about 10–20 minutes.
Cycles typically last 80–110 minutes; 90 is the usual average.
Best bedtimes
—
Times include the minutes it takes you to fall asleep. Sleep cycle timing varies between people and across the night — treat these as starting points, not exact targets.

How much sleep do you need?
Age groupNSF recommended (2015)AASM recommended

How to use the Sleep Calculator

  1. Choose a mode: Wake up at (find a bedtime), Go to bed at (find a wake-up time) or Sleep now.
  2. Enter the time. In “Sleep now” mode the calculator uses the current time and keeps it updated.
  3. Adjust time to fall asleep if you usually take more or less than 15 minutes, and the cycle length if you know yours.
  4. Pick one of the suggested times — 5 or 6 cycles (7.5–9 hours) suits most adults.
  5. 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.

Bedtime = wake-up time − (number of cycles × 90 min) − time to fall asleep Wake-up time = bedtime + time to fall asleep + (number of cycles × 90 min)

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.

CyclesSleepGo to bed at
69 h9:15 PM
57 h 30 min10:45 PM
46 h12:15 AM
34 h 30 min1: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?
Allowing 15 minutes to fall asleep, aim for 8:45 PM (6 cycles, 9 hours), 10:15 PM (5 cycles, 7.5 hours) or, on a short night, 11:45 PM (4 cycles, 6 hours).
Is it better to sleep 6 or 7 hours?
For most adults 7 hours or more is recommended. A 6-hour night that ends between cycles may feel easier to wake from than 7 hours ending mid-cycle, but regularly sleeping less than 7 hours adds up to sleep debt.
How long is one sleep cycle?
About 90 minutes on average, usually between 80 and 110 minutes. Early cycles contain more deep sleep, later cycles more REM sleep. You can change the cycle length in the calculator if you know yours from a sleep tracker.
How much sleep do adults need?
The American Academy of Sleep Medicine recommends 7 or more hours a night for adults. The National Sleep Foundation suggests 7–9 hours for ages 18–64 and 7–8 hours for those 65 and older.
Should I count the time it takes to fall asleep?
Yes. If you lie down at 11:00 PM but fall asleep at 11:15 PM, your cycles start at 11:15. The calculator adds this time automatically — 15 minutes by default.
Does napping follow sleep cycles too?
Yes. A short nap of 10–20 minutes keeps you in light sleep and avoids grogginess, while a 90-minute nap covers a full cycle. Naps of around 30–60 minutes are more likely to end in deep sleep.

Last reviewed November 2026. Results are estimates for information only — see our disclaimer.