Sleep calculator New

Pick a wake-up or bedtime and get the right times for 3-6 complete sleep cycles, checked against the recommended sleep for your age.

Quick fill
What you know

Sets the recommended sleep duration (National Sleep Foundation).

Advanced options
min

Typical for adults: 10-20 minutes.

90 min

90 minutes is the average; adjust if you naturally wake at other intervals.

hours

Optional, to calculate your sleep debt.

Fill in the fields above. The result appears instantly as you type.

Complete guide

How sleep cycles work

Sleep is not one uniform state. During the night you go several times through a sleep cycle that lasts about 90 minutes on average (usually 70 to 120). Each cycle has three stages of non-REM sleep, from light to deep, followed by REM sleep, the stage of vivid dreams. An adult goes through four to six cycles a night.

  • N1 (a few minutes): the transition from wake to sleep, easy to wake from.
  • N2 (most of the night): light sleep, body temperature drops, heart rate slows.
  • N3, deep sleep: physical recovery, immune system, growth hormone. Dominates the first cycles.
  • REM: dreams, memory and emotional processing. REM periods get longer towards morning.

If the alarm goes off in deep sleep you can feel groggy and heavy (this is called sleep inertia). The calculator suggests times when a full cycle ends and sleep is lighter.

How it is calculated

bedtime = wake-up time - (cycles × cycle length) - time to fall asleep wake-up time = bedtime + time to fall asleep + (cycles × cycle length)

Example: you want to wake up at 6:30. Five cycles are 5 × 90 = 450 minutes (7 hours 30 minutes), plus 15 minutes to fall asleep, so 7 hours 45 minutes in bed. Go to bed at 22:45 (10:45 pm). For six cycles (9 hours of sleep), at 21:15. The maths wraps correctly past midnight: if you go to bed at 23:50, five cycles later you wake at 7:35 the next day.

How much sleep you need, by age

The right number of cycles depends on age. The ranges below are the ones published by the US National Sleep Foundation in 2015 after an expert panel review; the American Academy of Sleep Medicine (AASM) recommends very similar values, for example at least 7 hours for adults.

AgeRecommended (hours / 24 h)
Newborn (0-3 months)14-17
Infant (4-11 months)12-15
Toddler (1-2 years)11-14
Preschooler (3-5 years)10-13
School age (6-13 years)9-11
Teenager (14-17 years)8-10
Young adult (18-25 years)7-9
Adult (26-64 years)7-9
Older adult (65+ years)7-8

The calculator tags each option: recommended (in range), a bit short, not enough or more than needed. For an adult, five or six cycles (7.5 or 9 hours) are usually the right choice.

In babies and children under 6, cycles last around 50-60 minutes and the daily need includes naps. For them, the calculator plans the night only and shows how much should come from naps.

Time to fall asleep and cycle length

Most adults take 10-20 minutes to fall asleep; the default is 15. Falling asleep the moment your head hits the pillow (under 5 minutes) every night can be a sign you are not getting enough sleep. Regularly needing more than 30 minutes is worth discussing with a doctor. Both values, latency and cycle length, can be changed under Advanced options.

Sleep debt

Sleeping less than you need night after night builds a sleep debt. If you need at least 7 hours and get 6, after a week you owe 7 hours. Enter your recent average under advanced options and the calculator shows how far behind you are.

A weekend lie-in helps a little, but it does not erase a full week of short sleep and it shifts your body clock (social jet lag). It works better to go to bed 30-60 minutes earlier for a few weeks while keeping the same wake-up time.

Limits of the calculator

Real cycles are not identical: they vary between people and between nights, and brief awakenings you do not remember shift them. So the times are a guide, not a guarantee. Research shows that total duration and regularity (the same bed and wake times) matter more than matching a cycle to the minute.

Loud snoring, pauses in breathing during sleep, daytime tiredness despite enough sleep, or insomnia lasting more than three months are reasons to see a doctor. This calculator does not replace medical advice.
See also heart rate zones, calorie needs and life expectancy, where sleep is one of the factors.

Frequently asked questions

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

For an adult, at 23:15 (five cycles, 7.5 hours of sleep) or 21:45 (six cycles, 9 hours), assuming 15 minutes to fall asleep. Going to bed at 22:30 risks waking mid-cycle.

Why do I wake up tired after 8 hours?

You may have woken from deep sleep, kept an irregular schedule or had fragmented sleep (alcohol, noise, apnoea). Try cycle-aligned times and a fixed wake-up time; if tiredness persists, see a doctor.

How long is a sleep cycle?

About 90 minutes on average in adults, ranging roughly from 70 to 120. In babies cycles are shorter, around 50-60 minutes.

How many hours of sleep does an adult need?

7 to 9 hours for adults aged 18-64 and 7-8 hours after 65, according to the National Sleep Foundation. The AASM recommends at least 7 hours a night.

Can I catch up on sleep at the weekend?

Only partly. A longer sleep helps but does not cancel a week of short nights and it shifts your rhythm. Going to bed a little earlier for several nights works better.

Is 6 hours in full cycles better than 7 hours not aligned?

Not necessarily. Four cycles (6 hours) may make waking easier, but the total is still below what you need. In the long run, getting enough sleep matters more.

Sources