Sleep Calculator: When to Go to Bed, When to Get Up
This sleep calculator works out possible bedtimes and wake-up times with a simplified model. It counts sleep in blocks of 90 minutes, which is how long one sleep cycle lasts on average [1]. Enter when you want to get up, or when you go to bed. The results help you plan your time. The calculator cannot know your actual sleep stages. It can also work out roughly how long you slept.
By Simon Gütter, as of November 2026. Based on review articles on sleep physiology and the recommendations of the National Sleep Foundation and the American Academy of Sleep Medicine. Free, and your entries stay in your browser.
The calculator uses a simplified model: sleep in blocks of 90 minutes. It does not know your actual sleep stages.
The calculator processes your entries in your browser and does not send them to a server. It does not measure your sleep and is no substitute for a medical check-up.
The key points in brief
- Sleep cycle
- Light sleep, deep sleep and REM sleep take turns. One round lasts about 90 minutes on average, and a night has 4 to 6 cycles [1].
- How the calculator works
- Wake-up time minus the time it takes you to fall asleep minus 6 or 5 times 90 minutes gives your bedtime.
- Sleep duration
- For adults aged 18 to 60, professional societies regularly recommend at least 7 hours [2]. The National Sleep Foundation gives 7 to 9 hours for adults [3].
- Limit
- The length of sleep cycles differs from person to person [4]. The times are worked examples, not a measurement.
Sleep Calculator Table: When Should I Go to Bed for My Wake-Up Time?
The table shows calculated bedtimes for 7.5 or 9 hours of sleep. It also allows 15 minutes to fall asleep. The calculation uses blocks of 90 minutes. It does not predict when your sleep cycles actually end. You can work out other times in the calculator above.
| Wake up at | Bedtime for 9 hrs (6 cycles) | Bedtime for 7.5 hrs (5 cycles) |
|---|---|---|
| 5:00 am | 7:45 pm | 9:15 pm |
| 5:30 am | 8:15 pm | 9:45 pm |
| 6:00 am | 8:45 pm | 10:15 pm |
| 6:30 am | 9:15 pm | 10:45 pm |
| 7:00 am | 9:45 pm | 11:15 pm |
| 7:30 am | 10:15 pm | 11:45 pm |
| 8:00 am | 10:45 pm | 12:15 am |
| 8:30 am | 11:15 pm | 12:45 am |
| 9:00 am | 11:45 pm | 1:15 am |
Sleep Cycles: What Happens While You Sleep
Sleep has two types: REM sleep, in which we dream vividly, and non-REM sleep with stages N1 to N3. N1 and N2 are light sleep, and N3 is deep sleep. During the night, non-REM and REM sleep take turns. On average, a round lasts about 90 minutes, and there are 4 to 6 rounds per night [1]. The length and make-up of these parts change during a night and differ between people [4]. The 90-minute model simplifies this process.
After waking up, your attention and performance can be reduced for a while. Experts call this sleep inertia. It is stronger if you are woken from deep sleep [5]. Clock times alone cannot tell you when you will wake up particularly easily.
How the Sleep Cycle Calculator Works
- You enter when you want to get up, for example at 6:30 am.
- The calculator subtracts the time it takes to fall asleep. It is set to 15 minutes by default. This is a calculation value, not a recommendation. You can change it.
- Then it subtracts 6 or 5 blocks of 90 minutes. For 6:30 am and 5 blocks, that gives 6:30 − 0:15 − 7:30 = 10:45 pm as your bedtime.
In the “When to get up?” mode, the calculator adds the time to fall asleep to your bedtime, and then adds the blocks. It only shows shorter spans of 4.5 or 6 hours if you ask for them, because they are below the recommendation for adults [2]. In the “How long did I sleep?” mode, it subtracts the time to fall asleep from the time spent in bed. It cannot take into account times when you are awake during the night.
How Accurate Is the Sleep Calculator?
The 90 minutes are an average. In a study of healthy young adults, the length and structure of sleep cycles differed clearly from person to person, and this stayed stable over several nights [4]. The time it takes to fall asleep also varies.
So take the times as a planning aid. What matters more than the exact wake-up time is that you get enough sleep overall. 8 hours may suit you well too. You do not have to cut your sleep to 7.5 hours just because that is exactly 5 blocks.
How Much Sleep Do I Need? Sleep Duration by Age
In 2015, the National Sleep Foundation published recommendations for every age group, drawn up with a panel of experts [3]. The values apply per 24 hours, so for babies and toddlers they include daytime sleep. For adults aged 18 to 60, the American Academy of Sleep Medicine and the Sleep Research Society regularly recommend at least 7 hours [2]. The article How much sleep do I need? explains this in detail.
| Age | Recommended sleep duration per 24 hours |
|---|---|
| Newborns (0 to 3 months) | 14 to 17 hours |
| Infants (4 to 11 months) | 12 to 15 hours |
| Toddlers (1 to 2 years) | 11 to 14 hours |
| Preschoolers (3 to 5 years) | 10 to 13 hours |
| School-age children (6 to 13 years) | 9 to 11 hours |
| Teenagers (14 to 17 years) | 8 to 10 hours |
| Young adults (18 to 25 years) | 7 to 9 hours |
| Adults (26 to 64 years) | 7 to 9 hours |
| Older adults (65 years and over) | 7 to 8 hours |
For children, the American Academy of Sleep Medicine uses some different age groups and ranges: 12 to 16 hours for 4 to 12 months, 11 to 14 hours for 1 to 2 years, 10 to 13 hours for 3 to 5 years, 9 to 12 hours for 6 to 12 years and 8 to 10 hours for 13 to 18 years. All values are per 24 hours, including daytime sleep [6]. In young children, sleep cycles are shorter than in adults and get longer with age [7]. The 90-minute model is therefore not suitable for babies and children.
Frequently Asked Questions About the Sleep Calculator
When should I go to bed if I get up at 6 am?
For 7.5 hours of sleep and 15 minutes to fall asleep, the calculation gives a bedtime of 10:15 pm. For 9 hours of sleep, it is 8:45 pm. These are planning examples. They cannot predict your actual sleep stages.
When should I go to bed if I get up at 7 am?
For 7.5 hours of sleep, around 11:15 pm. For 9 hours, around 9:45 pm. Both allow 15 minutes to fall asleep.
Why does the sleep calculator use 90 minutes?
Is 6 hours of sleep enough if it is exactly 4 cycles?
For most adults, no. Professional societies regularly recommend at least 7 hours for adults aged 18 to 60 [2]. A wake-up time that looks good on paper does not make up for missing sleep.
Can a REM sleep calculator work out my REM phases?
No. Your REM phases cannot be worked out from bedtime and wake-up time alone. This calculator uses fixed time blocks and does not measure sleep stages.
Does the sleep calculator adjust to my age?
No, it uses 90 minutes for everyone. The table above shows the recommended sleep duration by age group [3].
Can I use the sleep calculator to work out how long I slept?
Roughly. Choose “How long did I sleep?” and enter when you went to bed and when you got up. The calculator subtracts the time to fall asleep. It does not subtract times when you were awake during the night, so the result is an estimate.
Do I need a sleep calculator app?
No. The calculator runs right in your browser, including on your phone, with no installation.
Does the sleep calculator work for babies and children too?
No. The 90-minute model is not suitable for planning sleep cycles in babies and children, because their cycles are shorter [7]. The table above gives general guidance on total sleep duration including daytime sleep.
You can read more in the articles How much sleep do I need? and the best sleeping position.
More health tools
Note on use
The sleep calculator is for general time planning, using a simplified model (sleep in blocks of 90 minutes). It does not detect sleep stages, it measures nothing, and it is not meant to diagnose or treat sleep disorders. If you have ongoing sleep problems, severe daytime tiredness or pauses in your breathing during sleep, see a doctor.
Sources
- Patel AK, Reddy V, Shumway KR, Araujo JF: Physiology, Sleep Stages. StatPearls, StatPearls Publishing 2024. PubMed 30252388.
- 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. PubMed 26039963. DOI: 10.5665/sleep.4716.
- Hirshkowitz M, Whiton K, Albert SM et al.: National Sleep Foundation’s sleep time duration recommendations: methodology and results summary. Sleep Health 2015. PubMed 29073412. DOI: 10.1016/j.sleh.2014.12.010.
- Kishi A, Van Dongen HPA: Phenotypic Interindividual Differences in the Dynamic Structure of Sleep in Healthy Young Adults. Nat Sci Sleep 2023. PubMed 37388963. DOI: 10.2147/NSS.S392038.
- Tassi P, Muzet A: Sleep inertia. Sleep Med Rev 2000. PubMed 12531174. DOI: 10.1053/smrv.2000.0098.
- 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. PubMed 27250809. DOI: 10.5664/jcsm.5866.
- Lopp S, Navidi W, Achermann P et al.: Developmental Changes in Ultradian Sleep Cycles across Early Childhood. J Biol Rhythms 2017. PubMed 28088873. DOI: 10.1177/0748730416685451.
