Sleep Calculator
The Sleep Calculator helps you determine the best times to fall asleep or wake up based on the science of 90-minute sleep cycles. This tool is useful for anyone wanting to improve their sleep quality and wake up feeling more refreshed.
Disclaimer: This tool is for informational purposes only and does not constitute medical advice, diagnosis, or treatment. Results are estimates based on population averages. Always consult a qualified healthcare professional before making health decisions.
We add 15 minutes to fall asleep, then calculate 90-minute sleep cycles.
Wake up at…
7:45 AM
9 hrs — 6 cycles
6:15 AM
7.5 hrs — 5 cycles
4:45 AM
6 hrs — 4 cycles
3:15 AM
4.5 hrs — 3 cycles
How sleep cycles work
Each 90-minute cycle moves through light sleep, deep sleep, and REM. Waking mid-cycle leaves you groggy — waking at the end of a cycle feels natural. The average adult needs 5–6 cycles (7.5–9 hrs).
What Is the Sleep Calculator?
The sleep calculator helps you figure out the best time to go to sleep or wake up based on your sleep cycles. Rather than just counting hours, it works around the natural 90-minute cycles your brain moves through during sleep, each comprising lighter and deeper stages including REM (rapid eye movement) sleep. Waking up at the end of a complete cycle rather than mid-cycle tends to leave you feeling more refreshed and alert, even if the total sleep time is the same. The Sleep Foundation explains this relationship between sleep architecture and morning alertness in detail.
According to the CDC guidance on sleep duration, adults aged 18 to 60 need at least 7 hours of sleep per night for optimal health. Consistently sleeping less than 7 hours is associated with increased risk of obesity, cardiovascular disease, diabetes, and mental health problems. This tool helps you plan your sleep and wake times to maximise both duration and the quality of how you feel when you get up.
How to Use the Sleep Calculator
- Choose whether you want to work out what time to wake up or what time to go to sleep.
- Enter your target wake time or bedtime.
- The calculator adds approximately 15 minutes for the time it takes to fall asleep, then counts backwards or forwards in 90-minute increments.
- It returns a list of optimal sleep or wake times corresponding to 4, 5, or 6 complete sleep cycles.
- Select the option that best fits your schedule while prioritising at least 5 complete cycles (7.5 hours) where possible.
Sleep Cycle Methodology
A typical sleep cycle lasts approximately 90 minutes and moves through four stages: N1 (light sleep), N2 (consolidated light sleep), N3 (deep slow-wave sleep), and REM sleep. The proportion of time spent in each stage changes through the night: early cycles contain more deep sleep, while later cycles contain more REM sleep, which is associated with memory consolidation and emotional regulation.
The calculator assumes a sleep onset latency of 15 minutes, which is the average time it takes most people to fall asleep after going to bed. It then schedules wake times at the end of 4, 5, or 6 complete cycles:
| Cycles | Total sleep time | Notes |
|---|---|---|
| 4 cycles | 6 hours | Below recommended minimum for adults, suitable for recovery naps |
| 5 cycles | 7.5 hours | Within the recommended range for most adults |
| 6 cycles | 9 hours | Suitable for those recovering from sleep debt or those with higher needs |
Key Considerations
Sleep cycle length is not fixed at exactly 90 minutes for everyone. It can range from 70 to 110 minutes depending on the individual and varies over the course of the night, with cycles later in the night tending to be slightly longer. Given that, the times this calculator produces are approximations that work well as planning tools but may not correspond precisely to your personal cycle length.
Sleep quality matters as much as duration. Even with the right number of hours, fragmented sleep caused by noise, light, sleep apnoea, or frequent waking reduces the restorative benefit of each cycle. What is more, consistency in wake time is one of the most important factors in regulating your circadian rhythm. Waking at the same time every day, even at weekends, helps anchor your body clock and tends to make falling asleep and waking up more natural over time.
Caffeine, alcohol, bright screen light in the hour before bed, and large meals close to bedtime can all interfere with sleep onset and quality. On top of that, if you consistently struggle to fall asleep or stay asleep despite good sleep habits, it is worth speaking to a GP, as conditions such as insomnia disorder and sleep apnoea are treatable and have significant effects on health when left unaddressed.
What to Do With Your Result
Choose a sleep or wake time from the calculator results that fits your daily schedule and allows for at least 5 complete cycles. Set a consistent alarm and, where possible, a consistent bedtime. Keep track of how you feel after each option over a week or two, as individual responses to different sleep durations vary. If you find you feel best after 7.5 hours on weekdays but need more at weekends, that may be a sign of accumulated sleep debt earlier in the week that is worth addressing by moving your weekday bedtime slightly earlier.
Conclusion
The sleep calculator is a practical way to plan your sleep schedule around your body's natural cycles rather than arbitrary round numbers. By timing your sleep in complete 90-minute increments and accounting for the time it takes to fall asleep, it gives you the best chance of waking up at a naturally lighter stage of sleep and starting your day feeling genuinely rested. Pair it with consistent sleep and wake times for the greatest benefit over time.
S. Siddiqui
Founder & Editor-in-Chief, YourToolsBase
How the 90-minute cycle rule changed when I set my alarm
I had been waking up exhausted for months despite getting seven to eight hours of sleep. I kept track of when I fell asleep and when I woke up and noticed no obvious pattern. When I built this calculator and looked into sleep cycle research through the Sleep Foundation's guidance on sleep cycles, I came across something I had not paid attention to before: waking up mid-cycle, particularly during deep NREM sleep, produces significantly more grogginess than waking at the end of a 90-minute cycle. The calculator works backwards from a target wake time to suggest bedtimes that land you at a cycle boundary.
I tested this personally across two weeks in January 2026. I aimed to wake at 06:45 and the calculator suggested bedtimes of either 23:15 for five full cycles or 21:45 for six. I went with 23:15. In the first week my alarm woke me mid-cycle most mornings. In the second week, after being more consistent about the 23:15 bedtime, I started waking naturally a few minutes before the alarm on four out of seven mornings. That is not a controlled clinical study, but the felt difference was noticeable enough that I kept the routine.
What I came up with is that the problem had never been the total hours. It had been the timing. Shifting my bedtime by 30 minutes to align with cycle boundaries made more difference than any of the supplements or wind-down routines I had tried before.
Frequently Asked Questions
How many hours of sleep do adults need?
What is a sleep cycle and how long does it last?
Why do I feel more tired after 8 hours than after 7.5 hours of sleep?
What is sleep debt and can it be recovered?
Does napping count toward my daily sleep total?
What time should I go to sleep if I need to wake up at 6am?
∑ Formula
Rate This Tool
Was this tool helpful?
Be the first to rate this tool
💡 Pro Tip
Sleep consistency matters more than duration. Going to bed and waking at the same time every day — even weekends — dramatically improves sleep quality.
About the Author
S. Siddiqui is the founder and editor-in-chief of YourToolsBase, overseeing all content, tool accuracy, and editorial standards.
View full profileAuthoritative Sources
Formulas and data in this tool are based on guidelines from the above sources.