Sleep Calculator: Bedtime & Wake-Up Time

· How we calculate · Free, no sign-up

Quick answer

Sleep runs in roughly 90-minute cycles, and waking between cycles feels better. Count back 5 or 6 cycles (7.5–9 hours) plus about 15 minutes to fall asleep from your wake-up time. Example: to wake at 7:00 AM, go to bed at 9:45 PM or 11:15 PM.

Tell us when you need to wake up and we’ll suggest bedtimes that line up with complete 90-minute sleep cycles — or enter when you’re going to bed to see the best times to set your alarm.

minutes
The average adult takes 10–20 minutes.

How to use the sleep calculator

  1. Choose I want to wake up at and enter your alarm time to get the best bedtimes, or choose I’m going to bed at (or tap “Going to bed now”) to get the best wake-up times.
  2. Adjust time to fall asleep if you usually take more or less than 15 minutes to drift off.
  3. Pick one of the times marked Ideal — five or six complete sleep cycles. Times are shown in your device’s 12- or 24-hour format.

Sleep cycles explained

During the night your brain repeats a cycle of sleep stages. Each cycle starts with light sleep (stage N1, then N2), moves into deep slow-wave sleep (N3), and ends with REM (rapid eye movement) sleep, when most vivid dreaming happens. A full cycle lasts about 90 minutes on average, and a typical night contains four to six cycles. Early cycles contain more deep sleep; later cycles contain longer REM periods.

Being woken during deep sleep often causes sleep inertia — that heavy, groggy feeling that can last for 15–30 minutes. Timing your alarm for the end of a cycle, when sleep is lighter, makes waking up easier. That is the idea behind this calculator.

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

Worked examples

How much sleep do you need?

The table below shows the National Sleep Foundation’s recommended ranges (Hirshkowitz et al., 2015) alongside the American Academy of Sleep Medicine (AASM) consensus recommendations for children (2016) and adults (2015). Infant and child figures include naps.

Age groupNational Sleep FoundationAASM consensus
Newborn (0–3 months)14–17 hoursNot specified
Infant (4–11 / 4–12 months)12–15 hours12–16 hours
Toddler (1–2 years)11–14 hours11–14 hours
Preschool (3–5 years)10–13 hours10–13 hours
School age (6–13 / 6–12 years)9–11 hours9–12 hours
Teen (14–17 / 13–18 years)8–10 hours8–10 hours
Young adult (18–25 years)7–9 hours7 hours or more
Adult (26–64 years)7–9 hours7 hours or more
Older adult (65+ years)7–8 hours7 hours or more

Tips for better sleep

This calculator gives general guidance, not medical advice. If you regularly struggle to fall or stay asleep, snore loudly, or feel very sleepy during the day despite enough time in bed, talk to a doctor or sleep specialist.

Embed this calculator on your website — free

Copy this code into your page. The calculator stays up to date automatically and resizes to fit.

Frequently asked questions

How does a sleep cycle calculator work?

Sleep runs in cycles of roughly 90 minutes, each moving through light sleep, deep sleep and REM sleep. The calculator counts back (or forward) whole cycles from your wake-up time, plus the time it takes you to fall asleep, so your alarm is more likely to go off at the end of a cycle rather than in the middle of deep sleep.

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

With 15 minutes to fall asleep, aim for 9:45 PM (six cycles, 9 hours of sleep) or 11:15 PM (five cycles, 7.5 hours). 12:45 AM gives four cycles (6 hours), which is less than most adults need.

How many sleep cycles do I need?

Most adults do best with five or six cycles a night, which is 7.5 to 9 hours of sleep. That fits the consensus recommendation of at least 7 hours for adults.

Is every sleep cycle exactly 90 minutes?

No. 90 minutes is an average; individual cycles usually last about 80 to 110 minutes and change through the night, with more deep sleep early and more REM sleep towards morning. Treat the suggested times as a starting point and adjust by 10–15 minutes if you still wake up groggy.

How long does it take to fall asleep?

Most healthy adults fall asleep within about 10 to 20 minutes, which is why the default is 15 minutes. If you usually take longer, change the “time to fall asleep” value so the suggestions shift accordingly.