Sleep Calculator

minutes
The average adult takes 10–20 minutes.

How to use the sleep calculator

  1. Choose I want to wake up at and enter your alarm time to get the best bedtimes, or choose I’m going to bed at (or tap “Going to bed now”) to get the best wake-up times.
  2. Adjust time to fall asleep if you usually take more or less than 15 minutes to drift off.
  3. Pick one of the times marked Ideal — five or six complete sleep cycles. Times are shown in your device’s 12- or 24-hour format.

Sleep cycles explained

During the night your brain repeats a cycle of sleep stages. Each cycle starts with light sleep (stage N1, then N2), moves into deep slow-wave sleep (N3), and ends with REM (rapid eye movement) sleep, when most vivid dreaming happens. A full cycle lasts about 90 minutes on average, and a typical night contains four to six cycles. Early cycles contain more deep sleep; later cycles contain longer REM periods.

Being woken during deep sleep often causes sleep inertia — that heavy, groggy feeling that can last for 15–30 minutes. Timing your alarm for the end of a cycle, when sleep is lighter, makes waking up easier. That is the idea behind this calculator.

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

Worked examples

How much sleep do you need?

The table below shows the National Sleep Foundation’s recommended ranges (Hirshkowitz et al., 2015) alongside the American Academy of Sleep Medicine (AASM) consensus recommendations for children (2016) and adults (2015). Infant and child figures include naps.

Age groupNational Sleep FoundationAASM consensus
Newborn (0–3 months)14–17 hoursNot specified
Infant (4–11 / 4–12 months)12–15 hours12–16 hours
Toddler (1–2 years)11–14 hours11–14 hours
Preschool (3–5 years)10–13 hours10–13 hours
School age (6–13 / 6–12 years)9–11 hours9–12 hours
Teen (14–17 / 13–18 years)8–10 hours8–10 hours
Young adult (18–25 years)7–9 hours7 hours or more
Adult (26–64 years)7–9 hours7 hours or more
Older adult (65+ years)7–8 hours7 hours or more

Tips for better sleep

This calculator gives general guidance, not medical advice. If you regularly struggle to fall or stay asleep, snore loudly, or feel very sleepy during the day despite enough time in bed, talk to a doctor or sleep specialist.

Sleep Calculator by AllOnlineCalcs