Toolkit
All tools
Sleep timing desk · Free

Sleep Calculator

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.

Runs in your browser, nothing stored

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.

Alarm at 7:00 AM

Go to bed at one of these times

Each time is lights out: 15 min to fall asleep, then whole 90-minute cycles. Select a row to draw it on the timeline.

Latest whole-cycle bedtime with at least 7 hours of sleep
11:15 PM

5 cycles for adults, whose guideline is 7 to 9 hours.

Asleep by
11:30 PM
Sleep
7 h 30 min
In bed
7 h 45 min
Formula

Bedtime = wake time − time to fall asleep − cycles × cycle length

11:15 PM = 7:00 AM − 15 min − 5 × 90 min

Timeline

Your night, cycle by cycle

Showing 5 cycles, 7 h 30 min of sleep. Select another row above to compare.

Lights out
11:15 PM
Alarm
7:00 AM
  1. Falling asleep11:15 PM to 11:30 PM
  2. Cycle 111:30 PM to 1:00 AM
  3. Cycle 21:00 AM to 2:30 AM
  4. Cycle 32:30 AM to 4:00 AM
  5. Cycle 44:00 AM to 5:30 AM
  6. Cycle 55:30 AM to 7:00 AM

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.

4.5 to 9 hours

Bedtimes by hours of sleep

Totals that end on a whole 90-minute cycle are marked. The rest stop partway through one.

SleepBedtimeWhere it ends
4 h 30 min2:15 AMEnds cycle 3
5 h1:45 AM30 min into cycle 4
5 h 30 min1:15 AM60 min into cycle 4
6 h12:45 AMEnds cycle 4
6 h 30 min12:15 AM30 min into cycle 5
7 h11:45 PM60 min into cycle 5
7 h 30 min11:15 PMEnds cycle 5
8 h10:45 PM30 min into cycle 6
8 h 30 min10:15 PM60 min into cycle 6
9 h9:45 PMEnds cycle 6
Nap helper

Time a daytime nap

Alarm times include your 15 min to fall asleep.

Power nap · 20 min
2:35 PM
Alarm · asleep by 2:15 PM

Short enough to stay mostly in lighter sleep, so waking up is usually easy.

Full-cycle nap · 90 min
3:45 PM
Alarm · asleep by 2:15 PM

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.

How it works

Count back in whole cycles, then allow time to drift off.

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.

  1. 01

    Pick a wake-up time, a bedtime, or now

    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.

  2. 02

    Set how long you take to fall asleep and how long a cycle runs

    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.

  3. 03

    Choose a time and read the night

    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.

Built for real nights

Sleep timing with the assumptions on show.

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.

Your fall-asleep time, counted properly

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.

A cycle length you can change

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.

Tagged against published guidelines

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.

A timeline of the 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.

An hours table and a nap helper

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.

Sleep questions

Cycles, naps, and how much sleep is enough.

How many sleep cycles do I need?+

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.

What is a sleep cycle, and what are its stages?+

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.

Why do I wake up tired after 8 hours?+

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.

How long does it take to fall asleep normally?+

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.

When should I go to bed to wake up at 6 or 7?+

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.

Is 6 hours of sleep enough?+

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.

How long should a nap be?+

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.

How much sleep do teenagers need?+

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.

How accurate is a sleep cycle calculator?+

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.

Does this calculator store my times or upload anything?+

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.

More focused tools, ready when you are.

Explore the growing collection for calculations, documents, writing, and everyday work.

Browse all tools