This free sleep cycle calculator turns a wake-up time into a list of bedtimes, or a bedtime into a list of wake-up times, using 90-minute sleep cycles plus about 15 minutes to fall asleep. It works in 12-hour or 24-hour time, has a Sleep now button, and runs in your browser with nothing saved or sent.
Last updated: 28 November 2026
Reading time: about 18 minutes
Sleep cycle calculator
Enter a wake-up time to see when to go to bed, or a bedtime to see when to wake up. Times use 90-minute sleep cycles plus time to fall asleep.
Turn on JavaScript to use the calculator. The reference table further down the page works without it.
Sleep now uses the clock on your device. Nothing you enter is saved or sent. How the times are worked out
The sleep cycle calculator in brief
- What it does. Turns a wake-up time into bedtimes, or a bedtime into wake-up times, in 90-minute steps.
- The sum. Each cycle is 90 minutes. The calculator adds 15 minutes to fall asleep, and you can change that from 5 to 45 minutes.
- The target. Five or six cycles give 7 hours 30 minutes or 9 hours, inside the 7 to 9 hours that the US National Heart, Lung, and Blood Institute gives for adults.
- Privacy. The times you enter stay in your browser and are not saved or sent anywhere.
- Next step. Pick one time you can repeat, keep it for a week, then adjust by 15 minutes if you need to.
Contents
- How to use the calculator
- How the times are worked out
- What a sleep cycle is
- Why 90 minutes, and why 15 to fall asleep
- How much sleep you need
- Quick reference: bedtimes for common wake-up times
- Waking up: cycle timing and sleep inertia
- Habits that help the times work
- When falling asleep takes longer
- Wind-down practices on this site
- Shift work, travel and unusual hours
- Privacy
- Frequently asked questions
- Sources
How to use the calculator
The calculator works in two directions, so use whichever matches the question in your head tonight.
- Wake-up time to bedtimes. Choose “I need to wake up at”, enter the time your alarm has to go off, and read the list of bedtimes. The earliest bedtime gives you the most sleep.
- Bedtime to wake-up times. Choose “I am going to bed at”, enter the time you expect to be in bed with the lights out, and read the list of times to wake up.
- Sleep now. Press Sleep now and the calculator takes the time from your device’s clock, switches to the wake-up list and fills in the bedtime for you.
Two settings sit next to the time. Time to fall asleep starts at 15 minutes and goes from 5 to 45, so you can replace it with a figure that matches your own nights. The 12h and 24h buttons change how times are shown. The page starts in the format your device uses, and the choice only lasts until you leave the page.
Each result shows the number of cycles and the length of sleep it gives. The five- and six-cycle lines carry a “7 to 9 hours” label, because they land inside the adult range given by NHLBI. When you have a time you like, Copy times puts the list on your clipboard for your notes or a message, and Share opens your device’s share sheet where there is one. If there is no share sheet, the same text is copied instead.
A good habit is to work from the fixed point in your day. If your alarm is set by work, school or a commute, start from the wake-up time and choose a bedtime from the list. If your evenings are the fixed point, start from your bedtime and see what that does to your morning.
How the times are worked out
The calculator does one short sum. A cycle is 90 minutes. The number of cycles you pick sets the length of sleep, and the time to fall asleep is added on top as time in bed before sleep begins.
- From a wake-up time: bedtime = wake-up time minus (cycles x 90 minutes) minus the time to fall asleep.
- From a bedtime: wake-up time = bedtime plus the time to fall asleep plus (cycles x 90 minutes).
The list shows 3, 4, 5 and 6 cycles, which give 4 hours 30 minutes, 6 hours, 7 hours 30 minutes and 9 hours of sleep. Times that fall before midnight or after it are shown as clock times, so a bedtime of 12:15 am means 15 minutes past midnight.
Example 1: waking at 6:30 am. Six cycles is 9 hours of sleep plus 15 minutes to fall asleep, so you would be in bed at 9:15 pm. Five cycles gives 10:45 pm. Four cycles gives 12:15 am, and three gives 1:45 am. For most adults the 10:45 pm line is the one that fits a 6:30 alarm.
Example 2: going to bed at 11:00 pm. Add 15 minutes to fall asleep and you are asleep at 11:15 pm. Three cycles ends at 3:45 am, four at 5:15 am, five at 6:45 am and six at 8:15 am. If you need to be up at 6:30, the five-cycle line of 6:45 am is close, and going to bed 15 minutes earlier would land it on 6:30.
Example 3: pressing Sleep now at 10:40 pm. The calculator treats 10:40 pm as your bedtime. You fall asleep at about 10:55 pm. The wake-up times are 3:25 am for three cycles, 4:55 am for four, 6:25 am for five and 7:55 am for six.
Because the maths is a plain average, treat the result as a starting point. A time that works well for you after a week or two of trying it is better than any figure on the page, and you can then use the Time to fall asleep setting to match your own pattern more closely.
What a sleep cycle is
Sleep is not one long, even state. The US National Heart, Lung, and Blood Institute explains that when you sleep you move through two phases, non-rapid eye movement (non-REM) sleep and rapid eye movement (REM) sleep, and that the cycle starts over every 80 to 100 minutes. Usually there are four to six cycles in a night, and you may wake briefly between them (NHLBI, Sleep phases and stages).
Non-REM sleep has three stages. Stage 1 is the transition between being awake and asleep. In stage 2 you are asleep. Stage 3 is deep sleep, also called slow-wave sleep after the pattern it makes in measurements of brain activity. You usually spend more time in this deep stage early in the night.
REM sleep is different. Your eyes twitch and your brain is active, in a way that is similar to its activity when you are awake. Dreaming usually happens in REM sleep, and your muscles normally go limp so that you do not act out dreams. You usually have more REM sleep later in the night. NHLBI adds that you have less REM sleep in colder temperatures, because the body does not regulate its temperature properly during REM.
The US National Institute of Neurological Disorders and Stroke (NINDS) describes the brain side of this. The brainstem controls the transitions between waking and sleeping and plays a special role in REM sleep. The pineal gland raises melatonin once the lights go down, and adenosine builds up while you are awake and helps make you feel sleepy. Caffeine works by blocking the effects of adenosine (NINDS, Brain Basics: Understanding Sleep).
The shape of the night matters for the calculator in one way. Because deep sleep is more common early and REM sleep later, a night that is cut short at the morning end gives up more REM than deep sleep. Counting whole cycles is a simple way to see how long a night you are giving yourself, and how much of that later REM-rich part you are keeping.
Sleep patterns also change with age. NHLBI notes that newborns spend more time in REM sleep, that slow-wave sleep peaks in early childhood and then drops sharply in the teenage years, and that it continues to fall through adulthood, so older people may have none at all. That is one reason a single set of 90-minute steps is best treated as an adult and teenage tool.
Why 90 minutes, and why 15 to fall asleep
NHLBI gives the range as 80 to 100 minutes, and 90 is the midpoint. A calculator needs one number, and 90 keeps every result on a clean quarter-hour. Your own cycle length may sit anywhere in that range, and it can shift from one night to the next, which is why the calculator offers whole cycles rather than claiming to predict the exact minute you will wake naturally.
The 15 minutes allows for the time it takes to fall asleep, called sleep latency. A US National Sleep Foundation expert panel reviewed 277 studies and voted on indicators of good sleep quality. Across all age groups they rated a sleep latency of 15 minutes or less as appropriate for good sleep quality, and a latency of 16 to 30 minutes as similarly good. For most age groups they judged 46 to 60 minutes to indicate poor sleep quality (Ohayon and colleagues, Sleep Health, 2017).
That makes 15 minutes a reasonable default for a night that goes smoothly. It is also a figure you can change. The selector offers 5, 10, 15, 20, 30 and 45 minutes, so a person who usually takes half an hour can set it to 30 and see every bedtime move earlier by 15 minutes. Setting a latency that is too low makes the bedtimes too late, because you would be in bed for fewer hours than the cycles need.
The panel’s findings apply to otherwise healthy sleepers, and they describe a pattern across a night rather than a rule for any single evening. A slow start on a stressful day does not change what a typical night looks like. If you notice your own latency running longer than 30 minutes most nights, the section on longer sleep onset below covers what to do with the calculator and what the sleep guide on this site offers.
How much sleep you need
The calculator gives you cycle counts, and the next question is how many hours those cycles should add up to. Public health bodies give age-based ranges. The table below combines the CDC figures for each age group with the WHO guideline for children under five.
| Age group | Age | Recommended sleep in 24 hours | Source |
|---|---|---|---|
| Newborn | 0 to 3 months | 14 to 17 hours | CDC, WHO |
| Infant | 4 to 11 months | 12 to 16 hours, including naps | CDC, WHO |
| Toddler | 1 to 2 years | 11 to 14 hours, including naps | CDC, WHO |
| Preschool | 3 to 5 years | 10 to 13 hours, which may include a nap | CDC, WHO (to age 4) |
| School age | 6 to 12 years | 9 to 12 hours | CDC, NHLBI |
| Teen | 13 to 17 years | 8 to 10 hours | CDC, NHLBI |
| Adult | 18 to 60 years | 7 or more hours | CDC, AASM and SRS |
| Adult | 61 to 64 years | 7 to 9 hours | CDC |
| Adult | 65 years and older | 7 to 8 hours | CDC |
The CDC table builds on the National Sleep Foundation’s sleep duration recommendations and on consensus statements from the American Academy of Sleep Medicine (CDC, About Sleep). The WHO figures come from its 2019 guidelines on physical activity, sedentary behaviour and sleep for children under five, which give 14 to 17 hours for infants from birth to three months and 12 to 16 hours for infants aged four to eleven months, both including naps (WHO, 2019).
For adults, NHLBI says experts recommend 7 to 9 hours a night. It adds that adults who sleep less than 7 hours may have more health issues than those who get 7 or more, and that sleeping more than 9 hours is not necessarily harmful and may be helpful for young adults, people recovering from sleep deprivation and people who are sick (NHLBI, How much sleep is enough). The joint American Academy of Sleep Medicine and Sleep Research Society statement reaches the same lower figure: adults should sleep 7 or more hours a night on a regular basis (Watson and colleagues, Sleep, 2015).
In cycle terms, an adult aged 18 to 60 is covered by five cycles (7 hours 30 minutes) or six cycles (9 hours). Adults aged 61 to 64 are covered by the same two. Adults aged 65 and older have 7 to 8 hours, which five cycles meets at 7 hours 30 minutes. A teenager with a range of 8 to 10 hours is best served by six cycles, or 9 hours. For school-age children the range reaches 12 hours and for younger children it is longer still, which is beyond what the calculator’s cycle list covers, so use the table for them.
Individual need varies, and the ranges are guides to what suits most people. A sensible way to find your own figure is to try five cycles for a week, then six, and notice how alert you feel in the middle of the day. The calculator makes both nights easy to set up.
Quick reference: bedtimes for common wake-up times
This table shows the same sums the calculator does, with 15 minutes to fall asleep, for common wake-up times. Times are given in 12-hour and 24-hour form so that it works wherever you are. The six-cycle column is the longest night, and five cycles is the usual adult choice.
| Wake-up time | Bed for 6 cycles (9 h of sleep) | Bed for 5 cycles (7 h 30 min) | Bed for 4 cycles (6 h) |
|---|---|---|---|
| 5:00 am (05:00) | 7:45 pm (19:45) | 9:15 pm (21:15) | 10:45 pm (22:45) |
| 5:30 am (05:30) | 8:15 pm (20:15) | 9:45 pm (21:45) | 11:15 pm (23:15) |
| 6:00 am (06:00) | 8:45 pm (20:45) | 10:15 pm (22:15) | 11:45 pm (23:45) |
| 6:30 am (06:30) | 9:15 pm (21:15) | 10:45 pm (22:45) | 12:15 am (00:15) |
| 7:00 am (07:00) | 9:45 pm (21:45) | 11:15 pm (23:15) | 12:45 am (00:45) |
| 7:30 am (07:30) | 10:15 pm (22:15) | 11:45 pm (23:45) | 1:15 am (01:15) |
| 8:00 am (08:00) | 10:45 pm (22:45) | 12:15 am (00:15) | 1:45 am (01:45) |
| 8:30 am (08:30) | 11:15 pm (23:15) | 12:45 am (00:45) | 2:15 am (02:15) |
| 9:00 am (09:00) | 11:45 pm (23:45) | 1:15 am (01:15) | 2:45 am (02:45) |
To read the table, find the time your alarm has to go off in the first column and look across. A 7:00 am alarm, for example, means 9:45 pm for six cycles, 11:15 pm for five and 12:45 am for four. If your wake-up time is not listed, the calculator above handles any time to the minute.
Waking up: cycle timing and sleep inertia
The idea behind cycle calculators is that waking at the end of a cycle, close to the natural gap between cycles, leaves you feeling better than being pulled out of the middle of one. NHLBI confirms that you can wake briefly between cycles, and aiming your alarm near one of those gaps is a practical use of that. The calculator gives you one way to choose a time. It does not predict the exact minute your own cycle ends.
What you feel when you wake is explained better by sleep inertia, the transition between sleep and wake marked by reduced performance, lower alertness and a wish to go back to sleep. A review in Sleep Medicine Reviews describes it as a normal state whose intensity and length depend on the situation, with effects that can last from minutes to several hours. It is most intense after awakenings from the biological night, and recovery sleep after sleep deprivation makes it stronger (Trotti, Sleep Medicine Reviews, 2017).
Two practical points follow. First, how much sleep you have had has a large effect, so a well-timed alarm after a short night will not feel like one after a full night. Second, the time of day you wake matters. Waking at 4 am from a night that began at midnight lands in the middle of your biological night, which is when inertia is strongest, so the four-cycle and three-cycle lines are best kept for occasional use.
If mornings are slow, a few habits help you through the first half hour: open the curtains, drink some water, and give yourself ten minutes before any demanding task. The next section covers the evening and morning habits that make the calculator’s times easier to keep.
Habits that help the times work
A calculated bedtime only helps if you can fall asleep at it. These habits come from NHLBI, NINDS and the CDC, and they are the ones that line up most directly with a fixed bedtime and wake-up time.
- Keep the same schedule every day. NHLBI advises going to bed and getting up at the same time every day, and keeping weekends within about an hour of weeknights, because staying up late and sleeping in can disrupt your body clock’s sleep-wake rhythm (NHLBI, Healthy sleep habits). The calculator is most useful when you use the same wake-up time on most days.
- Use the hour before bed for quiet time. NHLBI suggests avoiding intense exercise and bright artificial light, such as from a TV or computer screen, in that hour, because light can signal the brain that it is time to be awake. The CDC advises turning off electronic devices at least 30 minutes before bedtime.
- Watch caffeine and nicotine. NHLBI notes that the effects of caffeine can last up to 8 hours, so a late-afternoon coffee can make it hard to fall asleep. In a placebo-controlled study of 12 healthy sleepers, a 400 mg dose of caffeine taken 6 hours before bedtime reduced objectively measured total sleep time by more than an hour (Drake and colleagues, Journal of Clinical Sleep Medicine, 2013).
- Go easy on large meals and alcohol. Both NHLBI and the CDC advise avoiding large or heavy meals within a few hours of bedtime, and alcohol before bed. A light snack is fine.
- Move during the day. NINDS suggests at least 30 minutes of exercise on most days of the week, but not within a few hours of bedtime, and NHLBI adds spending time outside every day when possible.
- Set up the bedroom. NHLBI and the CDC both say to keep it quiet, cool and dark. NINDS adds that it helps to keep the TV and phone or computer out of the bedroom.
- Keep naps short. NHLBI says adults should nap for no more than 20 minutes, and earlier in the afternoon if falling asleep at night is hard.
Light in the morning is the other half of the schedule. NINDS notes that the suprachiasmatic nucleus in the hypothalamus receives information about light exposure directly from the eyes and controls your behavioural rhythm, which is why light and dark matter to sleep timing. Time outdoors each day, which NHLBI recommends when possible, is a simple way to support that rhythm, and a steady wake-up time is what makes a calculated bedtime reliable.
When falling asleep takes longer
The default of 15 minutes suits a smooth night. If you often lie awake for longer, the calculator still helps. Set Time to fall asleep to your usual figure, and every bedtime on the list moves earlier by the extra minutes. A person who takes 30 minutes sees the five-cycle bedtime for a 6:30 am alarm move from 10:45 pm to 10:30 pm.
It is worth being honest with yourself about the figure. Most people underestimate how long they lie awake on some nights and overestimate it on others, so a rough average over a week is better than the worst night you can remember. If you are unsure, start at 20 minutes, notice whether you are asleep sooner or later than that, and adjust.
When you are in bed and awake, NINDS gives a clear piece of advice: do not lie in bed awake. If you cannot get to sleep, do something else, such as reading or listening to calming music, until you feel tired. This keeps the bed linked with sleep rather than with waiting. Our sleep guide includes a step-by-step plan for lying awake, and covers CBT for insomnia, which is the best-tested approach when sleep trouble has lasted for months: the Self Help Supermarket sleep guide.
If your latency is long on most nights, the other habits in this article are the first place to look, particularly the regular schedule, the quiet hour before bed, and the timing of caffeine. Changing one of them at a time for a week makes it easier to see which matters for you.
Wind-down practices on this site
A bedtime from the calculator marks when you want to be asleep. The 30 to 60 minutes before it is where you can ease towards sleep, and NHLBI lists a hot bath or relaxation techniques among its suggestions for that time. These guides on Self Help Supermarket cover practices that people use to wind down.
- Breathing. Slow breathing is a quick way to settle before bed. Breathing techniques compared sets box breathing, 4-7-8 and the physiological sigh side by side, the breathwork guide goes deeper, and the breathing page includes a section on breathing for sleep and a simple daily breath routine.
- Yoga nidra. This is a guided practice done lying down, which leads you through a body scan and breath awareness. The yoga nidra guide explains how it works and how to start.
- Non-sleep deep rest (NSDR). A modern name for similar guided rest, usually 10 to 30 minutes with a recording. The NSDR page covers 10, 20 and 30 minute sessions and has a section on NSDR for sleep.
- Relaxation. Progressive muscle relaxation and slow breathing are the two classic methods, and the relaxation guide covers both along with how they are taught.
- Meditation and sound. The meditation guide compares styles, and the sound bath guide covers listening-based practice.
Try one for a week and keep it at the same point in your routine, such as ten minutes after you turn the main light off. Because the calculator sets the clock time, the practice fills the gap before it, and together they make the evening more predictable.
Shift work, travel and unusual hours
Cycles are counted in minutes, so the calculator works for any clock time. If you sleep in the daytime after a night shift, enter 8:30 am as your bedtime and read the wake-up times in the same way. The sums are the same whatever the time on the clock.
NHLBI notes that shift workers may have trouble getting enough sleep because their schedules conflict with their internal body clocks, and suggests several strategies: taking naps and raising the amount of time available for sleep, keeping lights bright at work, limiting shift changes so the body clock can adjust, limiting caffeine to the first part of the shift, and removing sound and light distractions from the bedroom during daytime sleep, for example with light-blocking curtains.
For travel across time zones, the calculator can help you set your first night at the destination. Enter the local wake-up time you want and choose a local bedtime from the list. Keeping the same wake-up time at the destination, with morning daylight, is the clearest cue for your body clock, which is the same principle as the regular schedule above.
Privacy
The calculator runs in your browser. The times you enter are used for the sums on the page and are not stored, saved in your browser or sent to anyone. Sleep now reads the clock on your device in the same way. The Copy times and Share buttons only act when you press them: Copy places text on your clipboard, and Share opens your device’s own share sheet or copies the text if there is none.
Frequently asked questions
How many sleep cycles should I aim for?
Five or six cycles suit most adults. Five cycles is 7 hours 30 minutes of sleep and six is 9 hours, and both sit inside the 7 to 9 hours given by the US National Heart, Lung, and Blood Institute (NHLBI) and the 7 or more hours given by the CDC for adults aged 18 to 60. Teenagers need 8 to 10 hours, so six cycles is a good fit for them.
What time should I go to bed if I wake up at 6:30 am?
With 15 minutes to fall asleep, the calculator gives 9:15 pm for six cycles, 10:45 pm for five cycles, 12:15 am for four cycles and 1:45 am for three. Five cycles at 10:45 pm is the usual choice for adults who need a 6:30 alarm.
Is the 90-minute cycle exact?
No. It is an average. NHLBI describes a cycle as starting over every 80 to 100 minutes, so your own cycle may be a little shorter or longer than 90 minutes, and it can vary from night to night. The calculator uses 90 because it sits in the middle of that range and keeps the sums simple.
Why does the calculator add 15 minutes to fall asleep?
Because you do not fall asleep the moment the light goes out. A US National Sleep Foundation expert panel rated a sleep latency of 15 minutes or less, and also 16 to 30 minutes, as consistent with good sleep quality. Fifteen minutes is a sensible default, and the Time to fall asleep setting lets you replace it with your own figure.
What does bedtime mean in this calculator?
It means the time you plan to be in bed with the lights out and ready to sleep, not the time you start getting ready. If you read for 20 minutes first, count the bedtime from when you put the book down.
Can I use the calculator for a nap?
The calculator is built for night sleep. For naps, NHLBI says that adults should nap for no more than 20 minutes, and that taking naps earlier in the afternoon is better if falling asleep at night is hard.
Does it work for children?
It is designed for teenagers and adults. Younger children need more sleep, often with naps, and their sleep patterns differ. The age table on this page gives the CDC and WHO figures for each age group.
What if I wake up during the night?
Waking briefly between cycles is normal, and NHLBI notes that you may wake up briefly between cycles. If it happens, the NINDS advice is not to lie in bed awake: do something calm, such as reading or listening to quiet music, until you feel sleepy. Our sleep guide covers longer-running night waking.
Does the calculator save my times or track me?
No. It does the sums in your browser. It sets no cookies of its own, stores nothing and sends nothing. Sleep now reads the clock on your device in the same way, without sending the time anywhere.
What if my bedtime comes out after midnight?
The calculator shows the time on the clock, so 12:45 am means 45 minutes after midnight at the start of the next calendar day. If a shorter night is your only option, choose the four-cycle line (6 hours) rather than three, and then aim for an earlier bedtime on the next night.
Sources
- NHLBI, NIH. How sleep works: sleep phases and stages. https://www.nhlbi.nih.gov/health/sleep/stages-of-sleep
- NHLBI, NIH. How much sleep is enough? https://www.nhlbi.nih.gov/health/sleep/how-much-sleep
- NHLBI, NIH. Sleep deprivation and deficiency: healthy sleep habits. https://www.nhlbi.nih.gov/health/sleep-deprivation/healthy-sleep-habits
- NHLBI, NIH. Why is sleep important? https://www.nhlbi.nih.gov/health/sleep/why-sleep-important
- NINDS, NIH. Brain basics: understanding sleep. https://www.ninds.nih.gov/health-information/public-education/brain-basics/brain-basics-understanding-sleep
- CDC. About sleep. https://www.cdc.gov/sleep/about/index.html
- WHO (2019). To grow up healthy, children need to sit less and play more. Guidelines on physical activity, sedentary behaviour and sleep for children under 5 years of age. https://www.who.int/news-room/detail/24-04-2019-to-grow-up-healthy-children-need-to-sit-less-and-play-more
- Ohayon M, et al. National Sleep Foundation’s sleep quality recommendations: first report. Sleep Health. 2017;3(1):6-19. https://doi.org/10.1016/j.sleh.2016.11.006
- Watson NF, 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-844. https://doi.org/10.5665/sleep.4716
- Trotti LM. Waking up is the hardest thing I do all day: sleep inertia and sleep drunkenness. Sleep Medicine Reviews. 2017;35:76-84. https://doi.org/10.1016/j.smrv.2016.08.005
- Drake C, et al. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. Journal of Clinical Sleep Medicine. 2013;9(11):1195-1200. https://doi.org/10.5664/jcsm.3170