Sleep Calculator
Sleep Calculator
Bedtimes and alarm times in whole 90-minute sleep cycles, labelled against the recommended hours of sleep for your age group.
Sleep Calculator Tool
Going to sleep right now?
This calculator provides general sleep timing guidance. Consult a doctor if you have persistent sleep difficulties.
How to Use the Sleep Calculator
Choose your planning mode
Select "Wake Up At…" if you have a fixed alarm time and want to know when to fall asleep. Select "Sleep At…" if you have a fixed bedtime and want to know the best time to set your alarm.
Enter your target time
Use the time picker to set your wake-up time or bedtime. Results recalculate instantly as you change the time.
Choose a green row
Pick your age group first. Green rows fall inside the recommended range for that group: 7 to 9 hours for adults, 7 to 8 from 65, 8 to 10 for teens and 9 to 12 for children aged 6 to 12. Amber rows are one cycle outside it and grey rows further out. Each row also shows the time in bed, which is the sleep plus the minutes you said you take to fall asleep.
Set your alarm and complete a full cycle
Set your alarm for the time you chose. The calculator counts whole 90-minute cycles so that the alarm is aimed at the end of one rather than the middle. Ninety minutes is an average, not a fixed clock, and the minutes you take to fall asleep vary from night to night, so treat the times as a guide rather than a precise schedule.
Sleep cycles, and how much sleep each age group needs
What a sleep cycle is
Sleep is not one state. NINDS describes two kinds, REM (rapid eye movement) sleep and non-REM sleep, with non-REM divided into three stages. Stage 1 is the changeover from waking and usually lasts several minutes. Stage 2 is light sleep, when heartbeat and breathing slow and body temperature drops; you spend more of the night in stage 2 than in any other stage. Stage 3 is the deep sleep "you need to feel refreshed in the morning", and it comes in longer periods during the first half of the night. REM sleep, when most dreaming happens, first occurs about 90 minutes after falling asleep.
You go through non-REM and REM several times a night, and the REM periods grow longer and deeper later in the night. That is the idea behind this calculator. It counts back, or forward, in blocks of 90 minutes so that your alarm is aimed at the end of a cycle rather than at the deep sleep of stage 3. It also allows time to fall asleep: 15 minutes unless you change it. That default is a round starting figure, not a measured average, so set it to what you usually take.
How much sleep adults need
The ranges the calculator labels against come from three consensus panels. For adults, the American Academy of Sleep Medicine and the Sleep Research Society say "Adults should sleep 7 or more hours per night on a regular basis to promote optimal health", and that more than 9 hours "may be appropriate for young adults, individuals recovering from sleep debt, and individuals with illnesses" (Watson et al., 2015). The National Sleep Foundation's panel puts young adults and adults at 7 to 9 hours and adults over 65 at 7 to 8 (Hirshkowitz et al., 2015). For children, the AASM's paediatric statement says 9 to 12 hours for ages 6 to 12 and 8 to 10 hours for teenagers aged 13 to 18, counted per 24 hours (Paruthi et al., 2016). Sources disagree at the edges: NINDS says most adults need 7 to 9 hours "even older people", where the NSF panel's range for over-65s stops at 8. The calculator uses the NSF figure for that group and says so on the row. No range fits everyone, and NINDS adds that there is no magic amount that works for everybody of the same age.
"Even relatively moderate sleep restriction can seriously impair waking neurobehavioral functions in healthy adults."
Van Dongen et al., Sleep 2003Why six hours is not enough
The clearest evidence comes from a laboratory study by Hans Van Dongen and colleagues, published in 2003. Forty-eight healthy adults aged 21 to 38 were allowed 4, 6 or 8 hours in bed a night for 14 days, or kept awake for three nights. Restricting sleep to 6 hours or less produced cognitive deficits equivalent to up to two nights of total sleep deprivation. The participants' own ratings of sleepiness barely changed after the first days, so they were largely unaware of how impaired they had become.
The cost is also economic. A 2016 RAND study of five countries estimated the loss from insufficient sleep at up to US$411 billion a year in the United States and up to US$138 billion in Japan. As a share of the economy, Japan's loss (1.86% to 2.92% of GDP) was the highest of the five. RAND did not study Singapore.
Catching up at the weekend
Sleeping in on Saturday and Sunday helps less than it feels. In a 2019 study in Current Biology, Christopher Depner and colleagues restricted young adults to 5 hours a night for a working week, then let one group sleep as much as they liked at the weekend. They slept about 1.1 hours more than at baseline, but when short nights resumed, their body clocks were delayed, evening eating and weight went up, and insulin sensitivity fell by roughly 9% to 27%. A regular sleep schedule works better than a short week followed by a long weekend.
What NINDS and the sleep-restriction studies found
NINDS says REM sleep first occurs about 90 minutes after falling asleep, the average cycle length this calculator uses.
The recommended hours differ by age: 9–12 for ages 6–12, 8–10 for 13–18 (AASM), 7–9 for adults and 7–8 from 65 (NSF).
In Van Dongen's 2003 study, 14 nights of 6 hours or less produced deficits equal to up to two nights without sleep, and participants were largely unaware of them.
Waking from deep slow-wave sleep produces more sleep inertia than waking from stage 1 or 2, with REM in between (Tassi and Muzet, 2000).
Frequently Asked Questions
-
About 90 minutes on average. NINDS says REM sleep first occurs about 90 minutes after falling asleep, and that you go through non-REM and REM several times a night, with REM periods growing longer later on. Real cycles vary from one to the next and from person to person, so the 90 minutes this calculator uses is an average, not a fixed clock.
-
There are several possible reasons. Being woken from deep stage 3 sleep, during which NINDS says "it may be difficult to awaken you", is one. Others include a late or irregular bedtime, caffeine or alcohol, or simply less sleep than the hours in bed suggest. Counting in 90-minute cycles aims your alarm at the end of a cycle, but it cannot guarantee it lands there, because cycles are not all the same length and the time you take to fall asleep varies.
-
Sleep inertia is the groggy, slowed state just after waking, before you are fully alert. A 2000 review by Patricia Tassi and Alain Muzet in Sleep Medicine Reviews found that abrupt waking from slow-wave (deep) sleep produces more of it than waking from stage 1 or 2, with REM in between, and that without major sleep deprivation it rarely lasts beyond 30 minutes. That is why this calculator aims your alarm at the end of a cycle rather than the middle; it does not promise you will wake without it.
-
It depends on age. For adults the range is 7 to 9 hours, which in 90-minute cycles is five (7.5 hours) or six (9 hours). From 65 the NSF range is 7 to 8 hours, so five cycles. Teenagers aged 13 to 18 need 8 to 10 hours, six cycles; children aged 6 to 12 need 9 to 12, six to eight cycles. Four cycles, 6 hours, is below every one of those ranges; in Van Dongen's 2003 study, two weeks at 6 hours a night produced cognitive deficits comparable to up to two nights without sleep.
-
REM (rapid eye movement) sleep is the stage in which most dreaming happens. NINDS describes brain activity close to that of waking, faster and irregular breathing, and heart rate and blood pressure rising towards waking levels, while the arm and leg muscles are temporarily paralysed. REM periods grow longer and deeper later in the night, so cutting the end off a night's sleep cuts a larger share of REM than of other stages.
-
The calculator adds the minutes in the "Minutes to fall asleep" box between lying down and the first cycle, so that it counts cycles from when you are actually asleep. Every time shown moves by the same amount: change 15 to 30 and each bedtime moves 15 minutes earlier, and each alarm time 15 minutes later. The 15-minute default is a round starting figure, not a measured average; set it to what you usually take.
-
Only partly. In a 2019 study in Current Biology, Depner and colleagues had young adults sleep 5 hours a night for a working week, then let one group sleep as long as they liked at the weekend. They slept about 1.1 hours more than at baseline, but when short nights resumed their body clocks were delayed, they ate more after dinner and gained weight, and insulin sensitivity fell by roughly 9% to 27%. A regular schedule works better.
-
For an adult waking at 6:00 AM who takes 15 minutes to fall asleep, the lie-down times are 8:45 PM (6 cycles, 9 hours), 10:15 PM (5 cycles, 7.5 hours), 11:45 PM (4 cycles, 6 hours, under 7) and 1:15 AM (3 cycles, 4.5 hours). The first two fall inside the adult 7 to 9 hour range. Enter 06:00 in the calculator above with your own age group and time to fall asleep to get yours.
Method & sources
How it computes
Lie-down time = wake time − minutes to fall asleep (yours; default 15) − n × 90 min; alarm time = lie-down time + minutes to fall asleep + n × 90 min. 90 minutes follows NINDS (REM first occurs about 90 minutes after falling asleep). Each row is labelled against the recommended range for the chosen age group: 9-12 h (6-12) and 8-10 h (13-18), AASM 2016; 7-9 h adults, AASM/SRS 2015 and NSF 2015; 7-8 h (65+), NSF 2015.
What this tool implements
- Adults: AASM/SRS consensus — "Adults should sleep 7 or more hours per night on a regular basis to promote optimal health", and more than 9 hours "may be appropriate for young adults, individuals recovering from sleep debt, and individuals with illnesses". The upper bound of 9 is the NSF panel's range for young adults and adults (7 to 9 hours).
- Children and teens: AASM paediatric consensus — "Children 6 to 12 years of age should sleep 9 to 12 hours per 24 hours" and "Teenagers 13 to 18 years of age should sleep 8 to 10 hours per 24 hours". Older adults: NSF panel, 7 to 8 hours. Where NINDS says most adults need 7-9 hours "even older people", the page names the disagreement and uses the NSF figure for 65 and over.
- The 90-minute cycle is an average, not a law: NINDS says only that REM "first occurs about 90 minutes after falling asleep" and that non-REM and REM repeat "several times during a typical night". The page does not promise that waking at the end of a cycle prevents grogginess; it cites Tassi & Muzet (2000): waking from slow-wave sleep produces more sleep inertia than waking from stage 1 or 2, and without major sleep deprivation it rarely exceeds 30 minutes.
- Corrected 2026-11-05: every age labelled against the adult range (teen 7.5 h and over-65 9 h both shown as "Recommended"); a fixed 14-minute fall-asleep figure with no source; the "nap right now" button that actually planned a night's sleep; copy promising to "wake up refreshed, not groggy".
- Checked 2026-11-05 against the studies the page quotes, in their abstracts: Van Dongen et al. 2003 (48 adults aged 21-38; 6 h or less for 14 days ≈ up to 2 nights of total deprivation; "even relatively moderate sleep restriction can seriously impair waking neurobehavioral functions in healthy adults"), Depner et al. 2019 (~1.1 h extra weekend sleep; insulin sensitivity down ~9%-27%), and RAND RR-1791 (up to $411 bn a year in the US, $138 bn in Japan; Japan 1.86%-2.92% of GDP).
Sources
- Watson NF, Badr MS, Belenky G, et al. Recommended amount of sleep for a healthy adult: a joint consensus statement of the American Academy of Sleep Medicine and Sleep Research Society. Sleep. 2015;38(6):843-4. https://pmc.ncbi.nlm.nih.gov/articles/PMC4434546/
- Paruthi S, Brooks LJ, D'Ambrosio C, et al. Recommended amount of sleep for pediatric populations: a consensus statement of the American Academy of Sleep Medicine. J Clin Sleep Med. 2016;12(6):785-6. https://pmc.ncbi.nlm.nih.gov/articles/PMC4877308/
- Hirshkowitz M, Whiton K, Albert SM, et al. National Sleep Foundation's sleep time duration recommendations: methodology and results summary. Sleep Health. 2015;1(1):40-3. PMID 29073412.
- National Institute of Neurological Disorders and Stroke. Brain Basics: Understanding Sleep. https://www.ninds.nih.gov/health-information/public-education/bra…
- Tassi P, Muzet A. Sleep inertia. Sleep Med Rev. 2000;4(4):341-53. PMID 12531174.
- Van Dongen HP, Maislin G, Mullington JM, Dinges DF. The cumulative cost of additional wakefulness. Sleep. 2003;26(2):117-26. PMID 12683469.
- Depner CM, Melanson EL, Eckel RH, et al. Ad libitum weekend recovery sleep fails to prevent metabolic dysregulation. Curr Biol. 2019;29(6):957-67. PMID 30827911.
- Hafner M, Stepanek M, Taylor J, Troxel WM, van Stolk C. Why sleep matters — the economic costs of insufficient sleep. RAND Corporation; 2016. RR-1791. https://www.rand.org/pubs/research_reports/RR1791.html
What can make this go out of date
- None at runtime: the calculation runs in the browser and nothing the reader enters is sent anywhere.