Free calculators with the working shown
CalcTools

Free health & fitness calculator

Sleep Calculator

Work out when to go to bed or when to set your alarm so you wake at the end of a sleep cycle. Uses 90-minute cycles plus the time you take to fall asleep, with recommended sleep hours by age.

Start calculating →How it works ↓

  • 100% free
  • Instant results
  • No sign-up, private
Sleep Calculator

Free · No sign-up · Calculated in your browser

Why sleep cycles matter

Sleep is not one long, even state. Through the night you move through repeating cycles of light sleep (stages N1 and N2), deep slow-wave sleep (N3) and REM sleep, when most vivid dreaming happens. In adults one cycle lasts roughly 90 minutes on average, although it varies between about 70 and 120 minutes from person to person and from cycle to cycle. Early cycles contain more deep sleep; later cycles contain more REM.

Waking from deep sleep often leaves you groggy and slow for a while, a state called sleep inertia. Waking near the end of a cycle, when sleep is lighter, usually feels easier. This calculator counts back (or forward) in 90-minute steps and adds the time you normally take to fall asleep, so your alarm is more likely to land between cycles.

bedtime = wake-up time − minutes to fall asleep − (number of cycles × 90 min)

Worked examples

Situation6 cycles (9 h)5 cycles (7.5 h)4 cycles (6 h)
Wake at 07:00, 15 min to fall asleepbed 21:45bed 23:15bed 00:45
Wake at 06:30, 15 min to fall asleepbed 21:15bed 22:45bed 00:15
In bed at 22:30, 15 min to fall asleepwake 07:45wake 06:15wake 04:45
In bed at 23:45, 15 min to fall asleepwake 09:00wake 07:30wake 06:00

For most adults, five or six cycles (7.5 to 9 hours of actual sleep) fit the recommended range. Four cycles is a short night: fine occasionally, but not as a habit.

How much sleep do you need?

The U.S. National Sleep Foundation's recommendations, developed with an expert panel, are the most widely used guide. The American Academy of Sleep Medicine likewise advises at least 7 hours a night for adults.

AgeRecommended per day
Preschool children (3–5 years)10–13 hours (including naps)
School-age children (6–13 years)9–11 hours
Teenagers (14–17 years)8–10 hours
Adults (18–64 years)7–9 hours
Older adults (65+)7–8 hours

Regularly sleeping less than about 7 hours as an adult is linked with weight gain, high blood pressure, weaker immunity, poorer concentration and a higher risk of accidents. Needs vary a little between people, so if you wake naturally on free days feeling rested after 8 hours, that is probably your number.

Getting the most from the calculator

  • Be honest about how long you take to fall asleep. If you usually read in bed or lie awake for half an hour, enter 30 minutes. The default of 15 minutes suits many healthy adults.
  • Treat the times as targets, not exact science. Cycle length differs between people and between nights, so you may need to shift your bedtime by 10–20 minutes to find what feels best.
  • Keep the same wake-up time every day, including weekends where possible. A regular rhythm makes falling asleep and waking easier than any single "perfect" bedtime.
  • Morning light and evening darkness help set your body clock. Get daylight soon after waking and dim screens and lights in the hour before bed.

Common mistakes

  • Counting time in bed as sleep. Eight hours in bed with 40 minutes of lying awake is closer to seven hours of sleep.
  • Repeated snoozing. Snooze periods of 5–10 minutes start a new, fragmented bout of light sleep and rarely leave you more rested. Set the alarm for the time you really need to get up.
  • Using naps that are too long. A short nap of 10–20 minutes refreshes without much grogginess; naps of 30–60 minutes often end in deep sleep. If you nap longer, aim for about 90 minutes, a full cycle.
  • Caffeine late in the day. Caffeine's effects can last 5–6 hours or more, so a 4 pm coffee can still delay sleep at 10 pm.

If you regularly snore loudly, stop breathing during sleep, or feel very sleepy during the day despite enough time in bed, talk to a doctor: these can be signs of sleep apnoea or another sleep disorder that a calculator cannot detect.

Frequently asked questions

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

Allowing 15 minutes to fall asleep and 90-minute cycles: 23:15 for five cycles (7.5 hours) or 21:45 for six cycles (9 hours).

How long is a sleep cycle?

About 90 minutes on average in adults, but it ranges from roughly 70 to 120 minutes and changes through the night.

How many hours of sleep do adults need?

7–9 hours for adults aged 18–64 and 7–8 hours for those 65 and older, according to the National Sleep Foundation.

Why do I feel tired after 8 hours of sleep?

You may have woken during deep sleep, had fragmented sleep, or spent part of those hours awake in bed. Persistent tiredness despite enough sleep is worth discussing with a doctor.

Sources

  • Hirshkowitz M, et al. National Sleep Foundation's sleep time duration recommendations: methodology and results summary. Sleep Health, 2015;1(1):40–43.
  • Watson NF, et al. Recommended amount of sleep for a healthy adult: a joint consensus statement of the American Academy of Sleep Medicine and Sleep Research Society. Sleep, 2015;38(6):843–844.
  • Carskadon MA, Dement WC. Normal human sleep: an overview. In: Principles and Practice of Sleep Medicine, 6th ed., Elsevier, 2017.

Last reviewed 14 October 2026. Results are estimates; see our disclaimer.

Related calculators