Sleep Calculator

Use this sleep calculator to find the best time to go to bed or wake up in whole 90-minute sleep cycles, plan a nap, and see how much sleep you need for your age.

What do you want to work out?
Settings Adult · 15 min to fall asleep · 90-min cycles
Clock

Remembered on this device only.

Go to bed at one of these times

to wake up at 7:00 AM, allowing 15 min to fall asleep

Go to bed at 11:15 PM

5 sleep cycles of 90 minutes give you 7 hours 30 minutes of sleep. Get into bed at 11:15 PM, fall asleep by about 11:30 PM and wake up at 7:00 AM.

7 h 30 min is within the 7–9 hours a night recommended for adults (26–64 years) by the National Sleep Foundation.

Recommended for adults (26–64 years): 7–9 hours a night (National Sleep Foundation); 7 hours or more (18–60 years) (American Academy of Sleep Medicine).

Sleep cycles average about 90 minutes but vary between people and from night to night, roughly 70 to 120 minutes, so treat these times as a starting point. If you keep waking up groggy, try a different cycle length or time to fall asleep in Settings. This is planning help, not medical advice.

Why use a sleep calculator?

Waking up is easiest at the end of a sleep cycle, when sleep is lightest, and hardest in the middle of deep sleep. This sleep calculator plans your night in whole cycles: tell it when you need to wake up and it lists the bedtimes that finish a cycle right on time, or tell it when you're going to bed (or that you're going right now) and it lists the best times to set your alarm. It adds the minutes you take to fall asleep, checks every option against the hours recommended for your age, plans naps, and can put your bedtime in your calendar with a wind-down reminder. To time a nap on this device, use the countdown timer.

How to use it

  1. Choose Wake up at, Go to bed at or Nap.
  2. Enter a time or tap a quick pick. In bedtime and nap mode, Now uses the current time.
  3. Open Settings to set your age group, how long you usually take to fall asleep and your cycle length.
  4. Pick one of the times, then add it to your calendar, copy it or share it.

How the sleep calculator works out your bedtime

The sum is simple: bedtime = wake-up time − (number of cycles × cycle length) − time to fall asleep. With the defaults of 90-minute cycles and 15 minutes to fall asleep, waking at 7:00 AM after five cycles means falling asleep at 11:30 PM and getting into bed at 11:15 PM. Six cycles move bedtime 90 minutes earlier, to 9:45 PM. Going the other way,wake-up time = bedtime + time to fall asleep + cycles × cycle length, so going to bed at 11:00 PM gives alarm times of 3:45 AM, 5:15 AM, 6:45 AMand 8:15 AM.

These bedtimes cover the most common alarm times, with 15 minutes to fall asleep:

Bedtimes for common wake-up times
Wake up at6 cycles (9 h)5 cycles (7 h 30 min)4 cycles (6 h)
5:00 AM7:45 PM9:15 PM10:45 PM
5:30 AM8:15 PM9:45 PM11:15 PM
6:00 AM8:45 PM10:15 PM11:45 PM
6:30 AM9:15 PM10:45 PM12:15 AM
7:00 AM9:45 PM11:15 PM12:45 AM
7:30 AM10:15 PM11:45 PM1:15 AM
8:00 AM10:45 PM12:15 AM1:45 AM
8:30 AM11:15 PM12:45 AM2:15 AM
9:00 AM11:45 PM1:15 AM2:45 AM

How much sleep do you need? Recommendations by age

Two expert panels have published age-based ranges. The National Sleep Foundation's 2015 recommendations (Hirshkowitz and colleagues, Sleep Health) cover every age; the American Academy of Sleep Medicine's consensus statements cover children and teenagers (Paruthi and colleagues, 2016, endorsed by the American Academy of Pediatrics) and adults aged 18 to 60 (Watson and colleagues, 2015, with the Sleep Research Society). The figures are hours per 24 hours on a regular basis:

Recommended hours of sleep by age
AgeNational Sleep FoundationAmerican Academy of Sleep Medicine
Newborn (0–3 months)14–17 hours (with naps)No recommendation (normal sleep varies too widely)
Infant (4–11 months)12–15 hours (with naps)12–16 hours, including naps (4–12 months)
Toddler (1–2 years)11–14 hours (with naps)11–14 hours, including naps
Preschooler (3–5 years)10–13 hours (with naps)10–13 hours, including naps
School age (6–13 years)9–11 hours9–12 hours (6–12 years)
Teenager (14–17 years)8–10 hours8–10 hours (13–18 years)
Young adult (18–25 years)7–9 hours7 hours or more (18–60 years)
Adult (26–64 years)7–9 hours7 hours or more (18–60 years)
Older adult (65+ years)7–8 hoursNot covered (the adult statement is for ages 18–60)

Both panels stress that these are ranges for healthy people, and that a little outside them can be normal. What they agree on for adults is the floor: regularly sleeping less than 7 hours is linked with weight gain, diabetes, high blood pressure, heart disease, depression, more mistakes and more accidents. Choose your age group in Settings and every suggestion is tagged as recommended, short or long against it.

What happens during a sleep cycle

Each cycle runs through the same stages. N1 is the drowsy doorway into sleep and lasts only a few minutes. N2 is light sleep, and adults spend about half the night in it. N3, deep or slow-wave sleep, is when the body does most of its physical recovery, and it is hard to wake from. REM sleep, when most vivid dreaming happens, closes the cycle. The mix changes through the night: the first cycles hold most of the deep sleep, while REM periods grow longer toward morning, which is one reason cutting a night short costs you more REM sleep than you might expect.

Being woken from deep sleep is what produces sleep inertia, the heavy, slow, confused feeling that can last from 15 minutes to an hour. Setting your alarm for the end of a cycle makes that less likely, which is the whole idea behind cycle-based bedtimes.

Why the times are a guide, not a guarantee

  • Cycles aren't exactly 90 minutes. The first cycle of the night often runs 70 to 100 minutes and later ones 90 to 120, and your cycles differ from someone else's.
  • Falling asleep takes a different time every night. Stress, caffeine or a late workout can add half an hour, which shifts every cycle that follows.
  • Brief awakenings reset the count. Most people wake for a few seconds several times a night without remembering it.
  • A regular schedule matters most. Going to bed and getting up at the same times every day, weekends included, does more for how rested you feel than hitting a cycle boundary on any single night.

So use the suggestions as a starting point and adjust. If the alarm keeps catching you in deep sleep, nudge the cycle length inSettings by 5 or 10 minutes, or change your time to fall asleep, and see which setting leaves you clear-headed.

Nap calculator: how long should a nap be?

The Nap tab adds your time to fall asleep to the nap you choose, so the alarm goes off after the sleep you planned. For a nap that starts at 1:00 PM with 15 minutes to drop off:

Nap lengths and alarm times for a 1:00 PM nap
NapAlarmWhat to expect
10-minute nap1:25 PMA quick reset. You stay in light sleep, so there's no grogginess.
20-minute power nap1:35 PMThe classic power nap: you wake from light sleep and feel alert within minutes.
60-minute nap2:15 PMReaches deep sleep, which helps memory, but expect to feel groggy for a while after.
90-minute nap2:45 PMOne full sleep cycle: you wake from light sleep after deep and REM sleep.

Early afternoon is the natural time for a nap, when alertness dips after lunch. Mayo Clinic suggests keeping naps to 10 to 20 minutes and avoiding them after 3 p.m., when they can eat into the night's sleep. Night-shift workers are the exception: a nap before the shift is one of the most useful things they can do.

Tips for falling asleep at your new bedtime

  • Fix the wake-up time first. Getting up at the same time every day anchors your body clock; the bedtime follows.
  • Get daylight in the morning and dim the lights at night. Bright light in the evening delays the release of melatonin, the hormone that makes you sleepy.
  • Stop caffeine early. In a 2013 study in the Journal of Clinical Sleep Medicine, 400 mg of caffeine taken even 6 hours before bed cut total sleep by more than an hour.
  • Go easy on alcohol. It can help you nod off, but it suppresses REM sleep and leaves the second half of the night lighter and more broken.
  • Keep the bedroom cool, dark and quiet, and leave work and screens outside it.
  • Don't lie awake for ages. If you can't sleep after about 20 minutes, get up and do something calm in dim light until you feel sleepy, then go back to bed.

Moving your bedtime a lot? Shift it by 15 to 30 minutes every few days rather than all at once. If you snore loudly, stop breathing in your sleep or feel sleepy through the day despite enough hours in bed, talk to a doctor: a sleep disorder such as sleep apnea is worth ruling out.

Shift work, jet lag and early starts

The calculator works for any time of day, so a night-shift worker can enter a 2:00 PM wake-up and get morning bedtimes. To total the hours you work across overnight shifts, use the hours calculator. Before a long trip, thetime zone converter shows what time it will be at home and at your destination, so you can start shifting your bedtime a few days early. Curious whether you're naturally a morning lark or a night owl? Take thechronotype quiz.

More time tools

Add or subtract hours and minutes, or count the time between two clock times, with the time calculator. Time a nap with the countdown timer, focus in timed blocks with thePomodoro timer, time anything with the stopwatch, and count the days to a date with the date calculator.

Frequently Asked Questions

What time should I go to bed if I wake up at 6 AM?

Go to bed at 10:15 PM for five full 90-minute sleep cycles (7 hours 30 minutes of sleep), allowing the usual 15 minutes to fall asleep. For six cycles (9 hours) go to bed at 8:45 PM, and for four cycles (6 hours) at 11:45 PM. Most adults need at least 7 hours, so 10:15 PM is the latest bedtime that gets you there in whole cycles. Enter any other wake-up time in the calculator to get your own list.

How does a sleep calculator work?

It counts in whole sleep cycles. Through the night your brain moves from light sleep into deep sleep and then REM sleep, in cycles that last about 90 minutes on average, and waking at the end of a cycle, when sleep is lightest, usually feels easier than being pulled out of deep sleep. To find a bedtime, the calculator takes your wake-up time, subtracts whole cycles, then subtracts the time it takes you to fall asleep: 7:00 AM minus five 90-minute cycles minus 15 minutes is an 11:15 PM bedtime. It runs the same sum forward to find wake-up times.

How long is a sleep cycle?

About 90 minutes on average, but it varies. Sleep medicine textbooks put the first cycle of the night at roughly 70 to 100 minutes and later ones at 90 to 120, with more deep sleep early in the night and longer REM periods toward morning. A full night holds four to six cycles. Your own cycles also shift from night to night, so if you keep waking up groggy at the suggested times, try a shorter or longer cycle length in the settings.

How many hours of sleep do I need?

It depends on your age. The National Sleep Foundation recommends 7 to 9 hours for adults aged 18 to 64, 7 to 8 hours after 65, 8 to 10 hours for teenagers aged 14 to 17 and 9 to 11 hours for children aged 6 to 13, with more for younger children (naps included). The American Academy of Sleep Medicine recommends 7 hours or more for adults aged 18 to 60, 8 to 10 hours for ages 13 to 18 and 9 to 12 hours for ages 6 to 12. Choose your age group in the settings to see which suggestions meet the range.

Is 6 hours of sleep enough?

Not for most adults. Six hours is exactly four sleep cycles, so you may wake up feeling better than after a 7-hour night that ends mid-cycle, but sleep scientists recommend at least 7 hours a night for adults. In the American Academy of Sleep Medicine and Sleep Research Society consensus, regularly sleeping less than 7 hours was linked to weight gain, diabetes, high blood pressure, heart disease, depression, weaker immunity, more errors and a greater risk of accidents. A few people genuinely need less sleep, but they are rare.

Why do I wake up tired after 8 hours of sleep?

Several things can cause it. Eight hours is five and a third 90-minute cycles, so an 8-hour alarm can go off in deep sleep, and the grogginess that follows (sleep inertia) can last up to an hour. Alcohol, a late heavy meal, a warm or noisy room and an irregular schedule all fragment sleep even when the hours look right, and conditions such as sleep apnea interrupt it without you noticing. If you feel unrefreshed most mornings for weeks despite enough sleep, it is worth talking to a doctor.

How long does it take to fall asleep?

Most healthy adults fall asleep in about 10 to 20 minutes, which is why the calculator assumes 15. Regularly dropping off within a couple of minutes can be a sign that you aren't getting enough sleep, while lying awake for more than 30 minutes on most nights is a common marker of insomnia. Set your own time to fall asleep in the settings and every suggested bedtime and wake-up time moves with it.

How long should a nap be?

Keep it short: 10 to 20 minutes keeps you in light sleep and lifts alertness without grogginess. Naps of 30 to 60 minutes often end in deep sleep, so you wake up foggy, while a 90-minute nap covers a whole cycle and suits a night when you got far too little sleep. Nap early in the afternoon if you can; Mayo Clinic notes that napping after 3 p.m. can interfere with sleep at night. The Nap tab adds your time to fall asleep, so the alarm goes off after the sleep you planned rather than after time spent lying awake.

Does the sleep calculator work for babies and children?

It shows the recommended hours for every age group, but cycle-based bedtimes suit adults and older children best. A baby's sleep cycle lasts only about 50 to 60 minutes and grows longer through childhood, and the totals for children under 6 include daytime naps. For babies and toddlers, aim for the recommended range and a consistent bedtime routine rather than exact 90-minute cycles, and follow your pediatrician's advice.

Can I add my bedtime to my calendar?

Yes. Pick a suggestion and tap Add to calendar to download an .ics file with your bedtime, wake-up time and a wind-down reminder 30 minutes before bed, repeating every night if you like. It opens in Apple Calendar and Outlook, and Google Calendar can import it. A calendar reminder isn't a loud alarm, so set your phone's alarm clock for the wake-up time too. The file is created in your browser and nothing you enter is uploaded; your settings are remembered on this device only.

Advertisement