Skip to content
RightYantra
Calculators

Sleep Calculator

Work out when to go to bed so you wake at the end of a sleep cycle rather than in the middle of one — or, from a bedtime, when to set the alarm. The calculator counts whole cycles of about 90 minutes plus the time it takes you to fall asleep, both adjustable, and checks each option against the recommended hours of sleep for your age.

How to use it· 4 steps
  1. Choose what to work out: a bedtime for a fixed wake-up time, a wake-up time for a bedtime, or wake-up times if you go to sleep now.
  2. Enter the time, then adjust how long you usually take to fall asleep — 15 minutes is the default.
  3. Leave the cycle length at 90 minutes unless you know yours runs shorter or longer, and choose your age group.
  4. Pick one of the options. Those that fit the recommended hours for your age are highlighted.
Sleep CalculatorRuns on your device

Step by step

How to use the sleep calculator

  1. 1Choose what to work out: a bedtime for a fixed wake-up time, a wake-up time for a bedtime, or wake-up times if you go to sleep now.
  2. 2Enter the time, then adjust how long you usually take to fall asleep — 15 minutes is the default.
  3. 3Leave the cycle length at 90 minutes unless you know yours runs shorter or longer, and choose your age group.
  4. 4Pick one of the options. Those that fit the recommended hours for your age are highlighted.

Sleep cycles, and the idea behind the calculator

Sleep is not one continuous state. Through the night you move in cycles through light sleep (stages N1 and N2), deep slow-wave sleep (N3) and REM sleep, the stage most associated with vivid dreaming. A full cycle averages about 90 minutes in adults, and a typical night contains four to six of them.

The cycles change as the night goes on: deep sleep is concentrated in the first few, and REM periods grow longer towards morning.

The idea behind a sleep-cycle calculator is that waking from light sleep near the end of a cycle feels easier than being pulled out of deep sleep. The heavy, disoriented grogginess called sleep inertia is strongest when you wake from slow-wave sleep. So the calculator counts back, or forward, in whole cycles: to wake at 7:00 after five 90-minute cycles, allowing 15 minutes to fall asleep, you would be in bed by 11:15 pm.

What the 90 minutes really means

Ninety minutes is an average, not a timer. Individual cycles commonly run anywhere from about 70 to 120 minutes; they vary across the night and from one night to the next, and the first of the night is often shorter.

That makes the precise times here targets rather than guarantees. After five cycles your real end-of-cycle point could easily be half an hour either side of the prediction, so treat each time as a target to aim for rather than an appointment.

If you know your own rhythm — say you reliably wake naturally a few minutes before a 7:30 alarm after going to bed at 11 — you can tune the cycle length and the time to fall asleep to match. If a sleep tracker gives you stage estimates, bear in mind that consumer wearables infer stages from movement and heart rate, and are far less precise about them than a laboratory sleep study.

The bigger lesson is that total sleep matters far more than landing on a cycle boundary. Seven and a half hours that end mid-cycle beat six hours that end neatly.

How much sleep you need, by age

The National Sleep Foundation's 2015 recommendations, produced by an expert panel and published by Hirshkowitz and colleagues in Sleep Health, are: newborns (0–3 months) 14–17 hours; infants (4–11 months) 12–15 hours; toddlers (1–2 years) 11–14 hours; preschoolers (3–5 years) 10–13 hours; school-age children (6–13 years) 9–11 hours; teenagers (14–17 years) 8–10 hours; young adults (18–25) and adults (26–64) 7–9 hours; and adults 65 and over 7–8 hours.

The American Academy of Sleep Medicine and the Sleep Research Society reached a matching consensus for adults in 2015: at least 7 hours a night, on a regular basis, for adults aged 18 to 60. Their 2016 recommendations for children run close to the NSF's, with 9–12 hours for ages 6 to 12 and 8–10 hours for teenagers aged 13 to 18.

Those ranges are why the calculator flags its options. For an adult, five cycles (7½ hours) and six (9 hours) sit inside 7–9 hours; four cycles (6 hours) does not. For a teenager, only six cycles reaches the 8–10-hour range — worth knowing when school starts early. Babies and young children have much shorter cycles, so the cycle arithmetic starts at school age.

Getting the most from the times

Consistency does more than any calculator. Going to bed and getting up at the same times every day, weekends included, keeps your body clock steady; big swings between weekdays and weekends produce the jet-lag-like effect researchers call social jet lag.

Be honest about how long you take to fall asleep. Most healthy adults take somewhere around 10 to 20 minutes. Regularly taking more than about 30 minutes is one of the markers sleep clinicians look at for insomnia, and is worth raising with a doctor.

Then the basics the research keeps confirming: daylight in the morning, caffeine kept to earlier in the day, a dark and cool bedroom, and alcohol kept away from bedtime — it can help you fall asleep but fragments the second half of the night.

These times are a planning aid, not medical advice. Loud snoring, gasping during sleep, or daytime sleepiness that persists despite enough time in bed can be signs of a sleep disorder such as sleep apnoea, which no calculator can detect — that is a conversation for a doctor.

Answers

Frequently asked questions

What time should I go to bed to wake up at 6 am?

Counting 90-minute cycles and 15 minutes to fall asleep: 8:45 pm for six cycles (9 hours), 10:15 pm for five (7½ hours) or 11:45 pm for four (6 hours). For most adults the five- and six-cycle times fit the recommended 7–9 hours.

Is it better to sleep 6 hours or 7.5 hours?

Seven and a half, for almost every adult. Both can end at a cycle boundary, but 6 hours is below the 7-hour minimum recommended for adults, and regularly sleeping that little builds up a sleep debt.

How long is a sleep cycle?

About 90 minutes on average in adults, but individual cycles commonly range from about 70 to 120 minutes and change through the night. You can set your own cycle length in the calculator.

How long does it take to fall asleep?

Most healthy adults take around 10 to 20 minutes. The calculator assumes 15 by default — change it to match you. Regularly taking more than 30 minutes is worth discussing with a doctor.

Does the calculator work for naps?

It is built for a night's sleep. For a nap, about 20 minutes tends to avoid deep sleep and the grogginess that comes with it, while a 90-minute nap covers roughly one full cycle.

Is anything I enter stored?

No. The times are calculated in your browser, and nothing is saved or sent.