Sleep Calculator

Tell the calculator when you need to wake up and it gives you bedtimes that end a sleep cycle. Or enter when you are going to bed and get wake-up times. It also covers naps and sleep needed by age, and all of it runs in your browser.

Your sleep

I want to
min
min

Falling asleep takes 10 to 20 minutes for most healthy adults. A sleep cycle averages about 90 minutes but varies between people, so change either number if you know yours.

Clock

Cycle length varies from person to person and through the night, so these times are a starting point and not a promise of waking refreshed. If you are tired all the time, talk to a doctor.

Go to bed at one of these times

 

 

The calendar file adds the selected times with a reminder. A calendar reminder is not a phone alarm, so also set a real alarm for the wake-up time.

Recommended sleep by age

Age groupNSFAASMCycles

Hours per 24 hours. NSF is the National Sleep Foundation (2015). AASM is the American Academy of Sleep Medicine: children 2016, adults with the Sleep Research Society 2015, with slightly different age brackets (6 to 12 and 13 to 18 years). Preschool figures include naps. Cycle counts use your cycle length and are a rough guide, especially for children.

How to use the sleep calculator

This sleep calculator turns a wake-up time or a bedtime into times that line up with 90-minute sleep cycles. Pick one of three modes.

  1. Wake up at: enter the time your alarm has to go off. You get five bedtimes, from two to six cycles before it.
  2. Go to bed: enter the time you are getting into bed, or press Now. You get the wake-up times that end a cycle.
  3. Nap: enter the time you lie down and get alarm times for a 20-minute power nap, a 90-minute full cycle and a length of your own.

The cards for four, five and six cycles have a darker outline, and each one is marked as in, below or above the hours recommended for your age group. Tap a card to select it, then copy the alarm text or download a calendar file with a reminder at the bedtime and the wake-up time. A calendar reminder is not a phone alarm, so set a real one as well.

How does the calculator work out the times?

Sleep moves through stages in roughly repeating cycles. The Sleep Foundation puts the average at about 90 minutes, with the first cycle often 70 to 100 minutes and later ones about 90 to 120. A typical night has four to six cycles. The calculator uses one fixed length, 90 minutes by default, and adds the time you take to fall asleep.

Bedtime = wake-up time − time to fall asleep − (cycles × 90 minutes)
Wake-up time = bedtime + time to fall asleep + (cycles × 90 minutes)

Example: you must be up at 6:00 am and you fall asleep in 15 minutes. Five cycles are 7 hours 30 minutes, so you go to bed at 10:15 pm. Four cycles would mean 11:45 pm, and six would mean 8:45 pm.

What time should I go to bed for 6, 7 or 8 am?

With 15 minutes to fall asleep and 90-minute cycles:

Wake up at4 cycles (6 h)5 cycles (7.5 h)6 cycles (9 h)
5:00 am10:45 pm9:15 pm7:45 pm
6:00 am11:45 pm10:15 pm8:45 pm
7:00 am12:45 am11:15 pm9:45 pm
8:00 am1:45 am12:15 am10:45 pm

For an adult, five or six cycles is the realistic target. Four cycles is 6 hours, below the 7 to 9 hours the National Sleep Foundation recommends, so treat it as the exception.

How much sleep do I need at my age?

The National Sleep Foundation published its recommendations in 2015 after an expert panel reviewed the research. The American Academy of Sleep Medicine (AASM) published its own consensus statements for children in 2016 and, with the Sleep Research Society, for adults in 2015.

Age groupNSFAASM
Newborn, 0 to 3 months14 to 17 hoursnot covered
Infant, 4 to 11 months12 to 15 hours12 to 16 hours (4 to 12 months, naps included)
Toddler, 1 to 2 years11 to 14 hours11 to 14 hours (naps included)
Preschool, 3 to 5 years10 to 13 hours10 to 13 hours (naps included)
School age, 6 to 13 years9 to 11 hours9 to 12 hours (6 to 12 years)
Teen, 14 to 17 years8 to 10 hours8 to 10 hours (13 to 18 years)
Adult, 18 to 64 years7 to 9 hoursat least 7 hours
Older adult, 65 and over7 to 8 hoursat least 7 hours

The calculator only offers age groups from 3 years up. Babies and toddlers sleep in several blocks through the day, so a single bedtime calculation does not fit them. The NSF also says sleep outside its recommended range can be appropriate for some people, but being far outside it is rare.

How long should a nap be?

Short. The Sleep Foundation advises naps of no more than 30 minutes, because waking from longer naps is more likely to bring sleep inertia, the groggy stretch after waking that usually lasts 15 to 60 minutes. A 20-minute power nap is the usual choice. If you have the time, a 90-minute nap covers one full cycle. Which works better for you varies. The nap mode adds your time to fall asleep, so a 20-minute nap that starts at 2:00 pm with 15 minutes to drop off needs an alarm at 2:35 pm.

How long does it take to fall asleep?

For healthy adults it is typically between 10 and 20 minutes, according to the Sleep Foundation. Dropping off in under 8 minutes can mean you are sleep deprived, and regularly taking much longer than 20 to 30 minutes may point to insomnia. The default here is 15. If you lie awake for 45 minutes most nights, enter 45, and consider speaking to a doctor.

Is the 90-minute rule reliable?

It is a useful approximation and nothing more. Your cycles are not exactly 90 minutes, they change length through the night, and they differ from other people's. Waking at the end of a cycle is plausible but not guaranteed, so do not worry if a calculated time still feels rough. Total sleep, a regular schedule and a dark, quiet room matter more than hitting an exact minute. This page is general information, not medical advice. Ongoing tiredness, loud snoring with pauses in breathing, or trouble sleeping for weeks are reasons to see a doctor.

Sources

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 cycles (7.5 hours of sleep), 11:45 pm for four (6 hours) or 8:45 pm for six (9 hours). These count 90-minute cycles plus 15 minutes to fall asleep. Most adults should aim for 7 to 9 hours, so 10:15 pm or earlier is the better pick.

What time should I wake up if I go to bed at 11 pm?

With 15 minutes to fall asleep, five cycles end at 6:45 am, six at 8:15 am and four at 5:15 am. Five or six cycles give 7.5 or 9 hours, which fits the 7 to 9 hours recommended for adults. Four cycles is only 6 hours.

How long is a sleep cycle?

About 90 minutes on average, but it varies. According to the Sleep Foundation the first cycle is often 70 to 100 minutes and later ones run roughly 90 to 120 minutes, and cycle length differs between people. A typical night has four to six cycles. You can change the cycle length in the calculator.

How does a sleep calculator work?

It counts backwards from your wake-up time, or forwards from your bedtime, in whole sleep cycles, and adds the time you need to fall asleep. Waking at 7:00 am with 15 minutes to fall asleep and five 90-minute cycles gives a bedtime of 11:15 pm. It is arithmetic, not a measurement of your own sleep.

How much sleep do I need by age?

The National Sleep Foundation recommends 7 to 9 hours for adults aged 18 to 64, 7 to 8 hours from 65, 8 to 10 hours for teens, 9 to 11 hours for school-age children and 10 to 13 hours for preschoolers. The American Academy of Sleep Medicine says adults should get at least 7 hours.

How long should a nap be?

For a quick reset, around 20 minutes. The Sleep Foundation advises keeping naps under 30 minutes, because longer ones are more likely to cause grogginess when you wake. A 90-minute nap is one full cycle and is the other common choice if you have the time, but how it feels varies from person to person.

How long does it take to fall asleep?

Between 10 and 20 minutes for healthy adults, according to the Sleep Foundation. Falling asleep in under 8 minutes can point to sleep deprivation, and taking much longer than 20 to 30 minutes regularly may suggest insomnia. Enter your own number in the calculator, because it changes every time you pick a bedtime.

Does waking at the end of a sleep cycle really feel better?

Sometimes, but it is not guaranteed. Your cycles are not exactly 90 minutes and they change through the night, so the calculated time is an approximation. Total sleep and a regular schedule matter more. Grogginess after waking, called sleep inertia, usually fades within 15 to 60 minutes.