Sleep Calculator

Find the best time to go to bed or wake up based on how much sleep you want to get.

I want to
8h of sleep · 15 min to fall asleepChange
Sleep goal
Or set your own, 4 to 12 hours 8h
Time to fall asleep 15 min

Tell me when, and I'll work out the rest.

Better sleep, together.

Track your sleep, build healthier routines, and watch your little owl grow.

Meet your Owluno

Working on other habits too? Try Storey, a habit tracker where your habits build a city.

How Does the Sleep Calculator Work?

Pick a wake-up time or a bedtime and choose how much sleep you want. The calculator counts the hours for you, and it adds the time you expect to take to fall asleep, so the answer is when to be in bed rather than when to be asleep.

  • Bedtime = wake-up time − sleep goal − time to fall asleep
  • Wake-up time = bedtime + time to fall asleep + sleep goal

You get the time that matches your goal plus one option with 30 minutes more sleep and one with 30 minutes less. Each shows time asleep and time in bed, which is your sleep plus the minutes it takes to drift off. The 15 minutes it starts with is an assumption you can change, not a measurement of you.

Results are clock times. On the nights the clocks change for daylight saving, you will really sleep an hour more or less. Everything is worked out in your browser, and nothing you enter is saved or sent anywhere.

What Time Should You Go to Bed?

Start from when you need to be up and count back. These are the bedtimes for common wake-up times.

Based on 8 hours of sleep and 15 minutes to fall asleep.
Wake up atAsleep byGo to bed at
5:00 AM9:00 PM8:45 PM
5:30 AM9:30 PM9:15 PM
6:00 AM10:00 PM9:45 PM
6:30 AM10:30 PM10:15 PM
7:00 AM11:00 PM10:45 PM
7:30 AM11:30 PM11:15 PM
8:00 AM12:00 AM11:45 PM
8:30 AM12:30 AM12:15 AM
9:00 AM1:00 AM12:45 AM
9:30 AM1:30 AM1:15 AM
10:00 AM2:00 AM1:45 AM

Want a different amount of sleep, or take longer to drop off? Change the sleep settings in the calculator and it will redo the sums.

How Much Sleep Do You Need?

It depends on your age. The CDC's recommendations for adults are:

  • 18 to 60: 7 or more hours a night
  • 61 to 64: 7 to 9 hours
  • 65 and older: 7 to 8 hours

This calculator is built for adults. Teenagers need more, 8 to 10 hours, and younger children more again.

Had a few short nights lately? The Sleep Debt Calculator adds up how much sleep you've missed this week.

Picked a bedtime but still lying awake? An afternoon coffee may be part of it. The Caffeine Half-Life Calculator estimates how much caffeine is still in your system when you go to bed.

Planning a nap rather than a night's sleep? The Nap Calculator helps you pick a nap length and set your alarm, with a built-in timer.

Hours are only part of it. The CDC describes quality sleep as uninterrupted and refreshing, which is something a calculator can't measure. If you get enough hours and still feel tired most days, a doctor is the right person to ask.

Understanding Sleep Cycles

Sleep moves through repeating cycles of non-REM and REM sleep. According to the National Heart, Lung, and Blood Institute, a cycle lasts 80 to 100 minutes and most people go through four to six of them a night. Deep sleep is more common early in the night, and REM sleep, when most dreaming happens, is more common later.

Because a cycle is a range and not a fixed 90 minutes, this calculator plans around your total sleep instead of trying to time cycles. It can't know which stage you will be in when the alarm goes off, and it can't promise how you will feel when you wake.

Frequently Asked Questions

How much sleep do adults need?

The CDC recommends 7 or more hours a night for adults aged 18 to 60, 7 to 9 hours from 61 to 64, and 7 to 8 hours from 65.

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

For 8 hours of sleep, allowing 15 minutes to fall asleep, be in bed by 10:45 PM. For 7 and a half hours, 11:15 PM.

How long does a sleep cycle last?

About 80 to 100 minutes, according to the National Heart, Lung, and Blood Institute, with four to six cycles in a usual night.

Does the calculator account for time to fall asleep?

Yes. It allows 15 minutes unless you change it, and you can set anything from 0 to 60 minutes in the sleep settings.

Is sleeping for exactly eight hours necessary?

No. Eight hours is a common target inside the recommended range, not a rule. The CDC's guidance for most adults is at least 7 hours, and the right amount changes with age.

Can a sleep calculator tell when I am in deep sleep?

No. It only does clock arithmetic and has no way to see how you sleep, so it can't predict sleep stages or the best moment to wake.

Sources: CDC, About Sleep and NHLBI, Sleep Phases and Stages. This page is general information for adults, not medical advice.

Last updated .