Three ways to ask
Wake-up time to bedtimes, bedtime to alarm times, or going to bed right now. The current time is read only when you press the button, so the page never guesses your clock for you.
Find when to go to bed or set the alarm so you wake near the end of a sleep cycle, not halfway through one. Adjust the time it takes you to fall asleep and the cycle length, then see the night laid out cycle by cycle.
Bedtimes: 9:45 PM for 6 cycles, Usual target; 11:15 PM for 5 cycles, Usual target; 12:45 AM for 4 cycles, Below guideline; 2:15 AM for 3 cycles, Short night.
Lying down at 2:00 PM: power nap alarm 2:35 PM, full-cycle nap alarm 3:45 PM.
Each time is lights out: 15 min to fall asleep, then whole 90-minute cycles. Select a row to draw it on the timeline.
5 cycles for adults, whose guideline is 7 to 9 hours.
Bedtime = wake time − time to fall asleep − cycles × cycle length
11:15 PM = 7:00 AM − 15 min − 5 × 90 min
Showing 5 cycles, 7 h 30 min of sleep. Select another row above to compare.
Illustration, not a recording. Every block is drawn at the cycle length you chose, but real cycles are not equal. They run roughly 70 to 120 minutes and change through the night: the early cycles hold most of the deep sleep, and REM periods grow longer toward morning. Brief awakenings between cycles are normal and usually forgotten.
Totals that end on a whole 90-minute cycle are marked. The rest stop partway through one.
| Sleep | Bedtime | Where it ends |
|---|---|---|
| 4 h 30 min | 2:15 AM | Ends cycle 3 |
| 5 h | 1:45 AM | 30 min into cycle 4 |
| 5 h 30 min | 1:15 AM | 60 min into cycle 4 |
| 6 h | 12:45 AM | Ends cycle 4 |
| 6 h 30 min | 12:15 AM | 30 min into cycle 5 |
| 7 h | 11:45 PM | 60 min into cycle 5 |
| 7 h 30 min | 11:15 PM | Ends cycle 5 |
| 8 h | 10:45 PM | 30 min into cycle 6 |
| 8 h 30 min | 10:15 PM | 60 min into cycle 6 |
| 9 h | 9:45 PM | Ends cycle 6 |
Alarm times include your 15 min to fall asleep.
Short enough to stay mostly in lighter sleep, so waking up is usually easy.
One whole cycle, timed to end in lighter sleep rather than deep sleep.
Naps of around 30 to 60 minutes are more likely to wake you from deep sleep and leave you groggy for a while. A nap late in the afternoon can make it harder to fall asleep at night.
Time a 20-minute power nap or a full-cycle nap, with an alert when it ends.
Plan the day back from a fixed wake-up time, and give winding down before bed a slot of its own.
Another everyday health estimate, with its formulas and their limits printed on the page.
The arithmetic is short. Bedtime is the wake-up time, minus the time you take to fall asleep, minus the number of cycles times the cycle length; going the other way, the alarm time is lights out plus the time to fall asleep plus whole cycles. With a 7:00 AM alarm, 15 minutes to fall asleep, and 90-minute cycles, five cycles means lights out at 11:15 PM and six means 9:45 PM. The aim is to wake near the end of a cycle, when sleep is usually lighter, rather than partway through deep sleep. That is a reasonable rule of thumb, not a guarantee: cycle length is an average that changes through the night, so treat the times as starting points and adjust them from experience.
Choose the question you are asking. Enter the time the alarm has to ring and the calculator counts back to bedtimes, or enter when you will lie down and it counts forward to alarm times. Going to bed now reads your device clock at the moment you press the button.
Start with 15 minutes to fall asleep and the 90-minute average cycle, then adjust either one if you know your own pattern. Choose teenagers, adults, or older adults so that every option is tagged against the matching sleep guideline.
Each option shows its number of cycles, its total sleep, and a tag such as Usual target or Below guideline. Select one to draw it on the timeline, check the hours table for totals that are not whole cycles, or plan a power nap or a full-cycle nap.
Wake-up time to bedtimes, bedtime to alarm times, or going to bed right now. The current time is read only when you press the button, so the page never guesses your clock for you.
Lights out is not the moment you fall asleep. The time you usually take to drift off, anywhere from 0 to 60 minutes, is added before the first cycle, so a 7:00 AM alarm with 15 minutes to fall asleep and five cycles gives an 11:15 PM bedtime rather than 11:30 PM.
Ninety minutes is an average, not a rule. Set anywhere from 70 to 120 minutes if a few weeks of waking naturally suggest your cycles run shorter or longer, and every time on the page moves with it.
Options are marked against 7 or more hours for adults (AASM and Sleep Research Society), 8 to 10 hours for teenagers, and 7 to 8 hours for adults over 65 (National Sleep Foundation). Five or six cycles inside the range are the usual target, and under 6 hours is flagged as a short night.
The selected option is drawn as the time to fall asleep followed by each cycle, with clock times and a midnight marker. It is labelled as an illustration, because real cycles change in length and make-up through the night.
See bedtimes or alarm times for every half hour from 4.5 to 9 hours of sleep, with the totals that end on a whole cycle marked. The nap helper gives alarm times for a 20-minute power nap and a one-cycle nap.
Most adults need about five or six cycles a night. At the 90-minute average that is 7.5 or 9 hours of sleep, which sits inside the 7 to 9 hour range the National Sleep Foundation recommends for adults and meets the AASM and Sleep Research Society advice of 7 or more hours. Four cycles is 6 hours, below that guideline, and three cycles is 4.5 hours. Counting cycles is a way of timing the alarm; the guidelines are about the total amount of sleep, kept up night after night.
A sleep cycle is one pass through the stages of sleep, and a normal night strings several of them together. Each cycle moves through non-REM sleep and then REM sleep. N1 is the brief, light transition from waking. N2 is still light sleep but more settled, and it usually makes up the largest share of the night. N3 is deep, slow-wave sleep, when you are hardest to wake. REM sleep is when most vivid dreaming happens and most muscles are relaxed. The mix changes as the night goes on: the early cycles hold most of the deep sleep, and REM periods grow longer toward morning. A cycle averages about 90 minutes, but individual cycles commonly run anywhere from roughly 70 to 120 minutes.
There are several common reasons. Eight hours in bed is not eight hours asleep once the time to fall asleep and any time awake in the night are taken out. An alarm that rings during deep sleep can leave you groggy for a while after waking, a state called sleep inertia, which is the problem cycle timing tries to avoid. An irregular schedule, caffeine late in the day, and alcohol close to bedtime all make sleep lighter or more broken. Some sleep disorders, such as obstructive sleep apnea, can interrupt sleep many times a night without you remembering it. If you regularly feel unrefreshed or sleepy during the day despite enough time in bed, that is worth discussing with a doctor.
For a rested adult, falling asleep usually takes somewhere around 10 to 20 minutes, which is why this calculator starts at 15. Falling asleep within a few minutes every night can be a sign that you are not getting enough sleep. Regularly taking more than about 30 minutes is one of the patterns doctors ask about when they assess insomnia. Set the slider to your own typical figure: it shifts every bedtime and alarm time on the page by the same amount.
With 15 minutes to fall asleep and 90-minute cycles: to wake at 6:00 AM, go to bed at 8:45 PM for six cycles, 10:15 PM for five, or 11:45 PM for four. To wake at 7:00 AM, the same three options are 9:45 PM, 11:15 PM, and 12:45 AM. Five or six cycles meets the adult guideline of 7 or more hours; four cycles gives 6 hours. If you usually fall asleep faster or slower, or your cycles run shorter or longer, change the settings and the times move with them.
For most adults, not as a regular habit. The AASM and Sleep Research Society consensus is that adults should sleep 7 or more hours a night on a regular basis, and that routinely getting less is associated with poorer health, impaired performance, and more errors and accidents. A single short night is not a crisis, and people do differ, but feeling fine is not a reliable test: in studies of repeated sleep restriction, people tend to underestimate how impaired they have become. If 6 hours is all a night allows, four complete 90-minute cycles at least puts the alarm near the end of a cycle.
Two lengths work well for most people. A short nap of about 10 to 20 minutes tends to stay in lighter sleep, so you wake more easily and feel more alert soon afterwards. A nap of about one full cycle, roughly 90 minutes, allows a complete cycle and is more likely to end in lighter sleep. Naps in between, around 30 to 60 minutes, are more likely to wake you from deep sleep and leave you groggy for a while. Napping late in the afternoon or in the evening can make it harder to fall asleep at night. The nap helper on this page gives alarm times for a 20-minute nap and a one-cycle nap, including your time to fall asleep.
Teenagers need 8 to 10 hours of sleep per 24 hours, according to the AASM pediatric consensus for ages 13 to 18, and the National Sleep Foundation gives the same range for ages 14 to 17. Body clocks tend to shift later during adolescence, which makes an early bedtime feel harder even when an early start demands one. Choose Teenagers in the guideline setting and every option is tagged against 8 to 10 hours. At the 90-minute average, six cycles is 9 hours; five cycles, at 7.5 hours, falls short.
It is a sensible rule of thumb rather than a measurement. The 90-minute cycle is an average: real cycles run roughly 70 to 120 minutes, vary from person to person, and change through the night, so nobody can say which stage you will be in at a particular clock time. Falling asleep also takes a different amount of time on different nights. Use the times as starting points, adjust the cycle length or the time to fall asleep from experience, and put getting enough total sleep on a regular schedule first. This page is general information, not medical advice.
No. Every calculation runs in your browser, and nothing you enter is uploaded, saved, or logged. Going to bed now reads the time from your device clock only at the moment you press the button. Reloading the tab resets the page to its defaults.
Explore the growing collection for calculations, documents, writing, and everyday work.