Sleep calculator

To wake up at , go to bed at

Counting min to fall asleep. Set the 7:00 AM alarm

Size

Press Esc to leave full screen

How it works

  1. Set your wake-up time

    Tap the time and turn the wheels. Three bedtimes appear: 6, 5 or 4 sleep cycles of about 90 minutes, plus time to fall asleep.

  2. Or go to bed now

    Switch to “Go to bed now” to see when to set the alarm. Tap the time to plan for later tonight.

  3. Set the alarm

    Tap a time to open the alarm clock already set for it, or adjust how long you take to fall asleep.

Any suggestions for improvement?

We build tools that are as simple and intuitive as possible, with a few bonuses here and there. Tell us what would make this one better.

How the sleep calculator works

Sleep is not one long block. It comes in cycles: light sleep, deep sleep, then dream (REM) sleep, and around again. A cycle lasts about 90 minutes on average, and most nights hold four to six of them. Waking up as a cycle ends, when sleep is light, often feels easier than being pulled out of deep sleep.

The calculator starts from the time you need to be up and counts back in 90-minute steps. It also adds the time it takes to fall asleep, 15 minutes by default, which you can change. For a 7:00 AM alarm:

  • 9:45 PM gives 6 cycles, about 9 hours of sleep.
  • 11:15 PM gives 5 cycles, about 7 hours 30 minutes.
  • 12:45 AM gives 4 cycles, about 6 hours: a short night.

In “Go to bed now” mode, it does the opposite: it adds the time to fall asleep and full cycles to the current time, and suggests when to set the alarm. Each suggested time opens the online alarm clock, already set to the nearest available time.

Bedtimes for common wake-up times

With 15 minutes to fall asleep:

Wake up at9 hours (6 cycles)7.5 hours (5 cycles)6 hours (4 cycles)
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

Each wake-up time above links to its alarm page, which also lists these bedtimes.

What happens during a sleep cycle

A cycle moves through stages. First comes light sleep (stages N1 and N2), where you can still wake up easily. Then deep sleep (N3), which is hardest to wake from and dominates the first part of the night. Each cycle ends with REM sleep, when most vivid dreams happen. As the night goes on, deep sleep shrinks and REM periods get longer.

The Sleep Foundation notes that the first cycle is often the shortest, around 70 to 100 minutes, while later cycles tend to last 90 to 120 minutes. Sleep specialists at Lausanne University Hospital give an average of 90 to 110 minutes per cycle. So 90 minutes is a convenient average, not a fixed rule.

How much sleep do you need?

The American Academy of Sleep Medicine and the Sleep Research Society recommend that adults sleep 7 hours or more per night on a regular basis. Children and teenagers need more. In cycle terms, 5 cycles (7.5 hours) or 6 cycles (9 hours) fit that range for most adults. Four cycles (6 hours) is fine now and then, but not as a habit.

Most healthy adults fall asleep in about 10 to 20 minutes. If you fall asleep the moment your head hits the pillow, you may be short on sleep. If it often takes more than half an hour, set the “to fall asleep” value higher so the times stay realistic.

Planning around a real schedule

  • An early flight or shift. If you must be up at 4:30 AM, 4 cycles mean a 10:15 PM bedtime and 5 cycles 8:45 PM. Moving dinner and screens earlier that evening makes the earlier time realistic.
  • A late evening out. Back home at 12:30 AM with a 7:00 AM alarm? Lights out by 12:45 AM gives 4 full cycles. Going to bed at 1:30 AM would leave the alarm in the middle of the fourth cycle, which may feel worse than a slightly shorter night.
  • Shift work. The math is the same during the day. Block the light and noise, keep the same sleep window on work days, and pick a wake-up time first.
  • Teenagers and children. They need more sleep than adults. Use 6 cycles as a floor and check the advice of a pediatrician for the exact amount by age.

Limits of the 90-minute rule

  • Everyone is different. Your cycles may be closer to 80 or 110 minutes, and they change from night to night. Treat the times as a starting point and adjust by 15 minutes if you often wake up groggy.
  • Total sleep matters more. Hitting the end of a cycle does not make up for a short night. Six hours on time is still six hours.
  • A regular schedule helps. Going to bed and getting up at about the same time every day, weekends included, usually does more than any calculation.
  • It is not medical advice. If you are tired despite enough sleep, snore loudly, or struggle to fall asleep most nights, talk to a doctor or a sleep specialist.

Turn the result into an alarm

Tap any time above to open the alarm already set, like the 6:30 AM alarm or the 7:00 AM alarm. The alarm has a dark night mode that keeps the room dim. To total your sleep over a week, add each night in the time calculator.

Questions

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

Around 9:45 PM for 6 sleep cycles (9 hours) or 11:15 PM for 5 cycles (7.5 hours), counting 15 minutes to fall asleep. 12:45 AM gives 4 cycles, only 6 hours.

How long is a sleep cycle?

About 90 minutes on average. The first cycle of the night is often 70 to 100 minutes, and later ones 90 to 120 minutes, so it varies from person to person and through the night.

How many sleep cycles do I need?

Most nights hold four to six cycles. For adults, 5 cycles (about 7.5 hours) or 6 cycles (about 9 hours) match the recommendation of 7 hours or more.

Is it better to sleep 6 hours or 7.5 hours?

7.5 hours, in most cases. Waking at the end of a cycle can feel easier, but total sleep matters more, and adults are advised to get 7 hours or more.

How long does it take to fall asleep?

For most healthy adults, about 10 to 20 minutes. The calculator uses 15 minutes by default; set your own value with the wheel under the times.

How much sleep do adults need?

The American Academy of Sleep Medicine and the Sleep Research Society recommend 7 hours or more per night for adults. Some people need more.

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

You may be waking in the middle of deep sleep, sleeping lightly, or keeping an irregular schedule. Try shifting your bedtime by 15 to 30 minutes. If it lasts, see a doctor.

When should I wake up if I go to bed now?

Switch to “Go to bed now”. The calculator adds 15 minutes to fall asleep plus 4, 5 or 6 cycles of 90 minutes to the current time, and links to the matching alarm.

Does it work for night shifts?

Yes. Any wake-up time works, day or night. A 3:00 PM wake-up after a night shift gives bedtimes of 5:45 AM, 7:15 AM or 8:45 AM.