Sleep Calculator

What time should I go to bed? Set when you need to wake up and get bedtimes that end on a full sleep cycle, or wake-up times for a bedtime.

Wake-up time

The time your alarm rings. Bedtimes are counted back from it in whole sleep cycles.

11:15 PMbedtime for 5 cycles, 7 h 30 min of sleep

To wake up at 7:00 AM after 5 full sleep cycles, go to bed at 11:15 PM and be asleep by 11:30 PM.

Bedtimes for a 7:00 AM wake-up

  • 9:45 PM6 cycles, 9 h of sleepEnough sleep
  • 11:15 PM5 cycles, 7 h 30 min of sleepSuggested
  • 12:45 AM4 cycles, 6 h of sleepShort night
  • 2:15 AM3 cycles, 4 h 30 min of sleepShort night

Working

5 × 90 min = 7 h 30 min of sleep

7:00 AM − 7 h 30 min = 11:30 PM, asleep

11:30 PM − 15 min to fall asleep = 11:15 PM, in bed

A guide, not a measurement: cycle length changes from night to night and person to person. If you often wake up worn out after enough hours, talk to a doctor.

Age group

The CDC advises 7 or more hours of sleep at this age. Under 6, see the chart below.

Time to fall asleep
min
Sleep cycle length
min

Most adults fall asleep in 10 to 20 minutes, and a cycle averages about 90.

Clock
12-hour24-hour

Bedtime chart by wake-up time

The time to go to bed for each wake-up time, by hours of sleep
Wake up at9 h sleep7 h 30 min sleep6 h sleep
4:00 AM6:45 PM8:15 PM9:45 PM
4:30 AM7:15 PM8:45 PM10:15 PM
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
9:30 AM12:15 AM1:45 AM3:15 AM
10:00 AM12:45 AM2:15 AM3:45 AM

Bedtimes for 6, 5 and 4 sleep cycles of 90 minutes, with 15 minutes to fall asleep. The bold column is the one suggested for 18 to 60 years.

Hours of sleep by age

Recommended hours of sleep a day for each age group
AgeSleep a day
0 to 3 monthsNewborn14 to 17 hours
4 to 12 monthsInfant12 to 16 hours, with naps
1 to 2 yearsToddler11 to 14 hours, with naps
3 to 5 yearsPreschool10 to 13 hours, with naps
6 to 12 yearsSchool age9 to 12 hours
13 to 17 yearsTeen8 to 10 hours
18 to 60 yearsAdult7 or more hours
61 to 64 yearsAdult7 to 9 hours
65 and overAdult7 to 8 hours

From the CDC, based on the American Academy of Sleep Medicine and the National Sleep Foundation. The calculator counts cycles from age 6.

When should I wake up, and when should I go to bed? The times change as you type, counted in whole sleep cycles for your age.

No account and no app: the times you type stay on this page, and only your settings are kept, in this browser.

  • Bedtime and wake-up times
  • Naps and sleep debt
  • 12 or 24-hour clock

How to wake up feeling refreshed

Time your alarm for the end of a sleep cycle, when sleep is lightest, in three steps.

  1. Set your wake-up time

    Open Wake up at and enter the time your alarm rings. To plan from a bedtime, open Go to bed at or press Now.

  2. Time to fall asleep

    Most adults take 10 to 20 minutes to drift off, so 15 is filled in. Change it and your age group in the settings.

  3. Pick your bedtime

    Read the bedtime for each number of sleep cycles. For a 7:00 AM alarm, the one marked for adults is 11:15 PM.

Sleep cycles and stages of sleep

A sleep cycle is one pass through the stages of sleep: light sleep, deep sleep and then REM sleep, when most dreaming happens. A night holds four to six cycles. Deep sleep fills the early ones, and REM sleep takes up more of each cycle towards morning.

The 90 minute sleep cycle is an average. The Sleep Foundation puts the first cycle at 70 to 100 minutes and later ones at 90 to 120, and a study of 6,064 recorded cycles in the journal Sleep Health found a median of 96 minutes. Set your own length in the settings if 90 does not suit you.

An alarm that rings in deep sleep leaves you groggy. Waking as a cycle ends, in light sleep, is easier. So the calculator counts back whole cycles from your alarm, then the time you take to fall asleep: five cycles before 7:00 AM is 11:30 PM, so go to bed at 11:15 PM.

Sleep needs fall as you grow up. The CDC table, built on advice from the American Academy of Sleep Medicine and the National Sleep Foundation, gives children of 6 to 12 years 9 to 12 hours, teenagers 8 to 10 hours, adults 7 or more hours, and people of 65 and over 7 to 8 hours.

Pick an age group and the calculator marks the bedtimes that give that much sleep. With 90-minute cycles an adult reaches 7 hours 30 minutes in five cycles. A 12 or 13 year old needs six cycles for 9 hours, so a 7:00 AM school alarm means lights out at 9:45 PM.

Under 6 years the hours include daytime naps and a child's sleep cycles are shorter than an adult's, so the calculator starts at age 6. The chart under the calculator still lists the hours for newborns, infants, toddlers and preschool children.

Sleep debt and catching up on sleep

What is sleep debt? It is the gap between the sleep you need and the sleep you got. Need 8 hours and sleep 6 hours 30 minutes for five nights, and you owe 7 hours 30 minutes. The Hours slept tab adds it up from the times you went to bed and got up.

Can you catch up on sleep? Partly. The American Academy of Sleep Medicine says more than 9 hours a night can suit people recovering from sleep debt. Sleep doctors usually suggest an extra hour or two a night over several nights, not one very long lie-in at the weekend.

Falling asleep in under 8 minutes can itself be a sign that you are short of sleep. If you keep to enough hours and still feel worn out most days, see a doctor: a calculator plans your time in bed, but it cannot spot sleep apnea or insomnia.

Sleep cycle calculator, naps and sleep debt

  • Sleep now

    Press Now to see when to wake up if you go to sleep now, with one time for each full sleep cycle.

  • Nap calculator

    Get the alarm time for a 10 or 20-minute power nap, or for one full sleep cycle of 90 minutes.

  • Sleep debt calculator

    Enter bedtime and wake time for up to 14 nights to total your sleep and the hours you are short.

  • Sleep calculator by age

    Pick one of five age groups, from 6 years to 65 and over, and the right number of cycles is marked.

  • Sleep cycle length

    Not everyone runs on 90 minutes. Set your cycle from 60 to 120 minutes and every time moves with it.

  • Hours of sleep

    See how much sleep you will get from each bedtime or alarm, with the time to fall asleep taken out.

Your sleep times stay private

The times are worked out in this tab on your device, so when you sleep is never sent anywhere.

  • Processing

    Your browser counts the sleep cycles itself. No bedtime, alarm or nap you enter leaves this page.

  • Storage

    Only your settings (age group, cycle length, clock) are kept, in this browser. The times are not.

  • Account

    A free sleep calculator with no sign-up and no app to install. Open the page and plan tonight.

Questions about sleep

How much sleep do I need?

Adults need 7 or more hours a night, teenagers 8 to 10 and children of 6 to 12 need 9 to 12, says the CDC. Over 65, it is 7 to 8.

What time should I go to bed?

Count back five 90-minute cycles plus 15 minutes to fall asleep: 11:15 PM for a 7:00 AM alarm, or 9:45 PM for six cycles.

What time should I wake up?

At the end of a sleep cycle. In bed at 11:00 PM and asleep by 11:15, that is 6:45 AM after five cycles or 8:15 AM after six.

How long is a sleep cycle?

About 90 minutes on average. The first is often 70 to 100 minutes and later ones 90 to 120, with four to six cycles per night.

Is 6 hours of sleep enough?

Not for most adults. The American Academy of Sleep Medicine advises 7 or more hours a night and links less to worse health.

How long should a nap be?

About 20 minutes, so you wake before deep sleep. In a NASA study of pilots, a 26-minute nap raised alertness by 54%.

Why do I wake up tired?

Often the alarm caught you in deep sleep. That grogginess is called sleep inertia and usually fades within 15 to 60 minutes.

How long does it take to fall asleep?

Most adults take 10 to 20 minutes. The calculator starts at 15 and lets you set anything from 0 to 120 minutes.

Still stuck, or found a problem? Email dobliquestudio@gmail.com and we will help.