Why use this calculator
Most people set an alarm and then guess a bedtime, which is why so many wake up groggy after what looked like enough hours. Sleep is not uniform. It moves through light, deep and REM stages in cycles averaging about 90 minutes, and being woken out of deep sleep produces sleep inertia, the heavy fogged feeling that can take half an hour to shake off.
Working backwards in whole cycles makes the alarm more likely to land in light sleep, and it also exposes the part people forget entirely, which is the ten to twenty minutes it takes to actually fall asleep after the light goes out. The calculator gives you three honest options rather than one, then checks each against the nightly sleep range recommended for your age, so a tidy cycle count cannot talk you into a short night.
How to use it
- Enter the hour your alarm goes off on a 24 hour clock, so 7 for 7 AM and 17 for 5 PM if you work nights.
- Enter the minutes of that alarm time separately, from 0 to 59.
- Then enter how long you usually take to fall asleep from lights out, which for most people is ten to twenty minutes and is worth estimating honestly rather than optimistically.
- Leave the sleep cycle length at 90 minutes unless a sleep study or a tracker you trust suggests yours runs shorter or longer, since real cycles range from about 70 to 120 minutes.
- Finally pick the age group, which sets the recommended nightly range the options are judged against.
- Read the bedtimes as lights out times, not as the moment you head upstairs.
What each result means
- Target Wake-up Time
- The alarm time every option below is counted back from. Change it and all the bedtimes move with it.
- Bedtime for 6 Sleep Cycles
- Lights out for six complete cycles, the longest option here and the one to use when repaying sleep debt.
- Bedtime for 5 Sleep Cycles
- Lights out for five complete cycles, which lands inside the recommended range for most adults on a normal week.
- Bedtime for 4 Sleep Cycles
- Lights out for four cycles, a genuinely short night that is workable occasionally but below the recommended adult range.
- Time Needed to Fall Asleep
- The sleep onset latency you entered, already built into every bedtime shown so you do not have to subtract it again.
- Recommended Sleep for This Age Group
- The nightly range recommended for your age band, used as the reality check on the cycle options above.
- Cycles Needed to Hit That Range
- How many whole cycles it takes to land inside the recommended range at the cycle length you entered.
- If You Fell Asleep Now
- Wake times if you went to bed at this moment, useful when the decision is tonight rather than in general.
The formula
Bedtime = wake time minus (number of cycles multiplied by cycle length) minus sleep onset latency
Cycle length defaults to 90 minutes, the population average, with a realistic range of 70 to 120 minutes. Sleep onset latency is the time from lights out to sleep, typically 10 to 20 minutes in a healthy adult.
Time asleep = cycles multiplied by cycle length, so 5 cycles at 90 minutes is 7.5 hours and 6 cycles is 9 hours
The cycles needed to reach the recommended range are the lowest count whose total meets the lower bound and the highest count that stays inside the upper bound for your age group.
How this number is used in practice
Cycle arithmetic is the smaller half of the problem. Sleep researchers consistently find that regular timing matters more than clever timing: going to bed and getting up within about the same half hour every day, weekends included, stabilises the body clock and makes falling asleep faster and waking easier.
A perfectly calculated bedtime followed on Tuesday and abandoned on Saturday produces social jetlag, which feels a lot like flying two time zones east every week. If you only change one thing, make the wake time constant and let the bedtime follow it.
The 90 minute figure is an average, not a law. Individual cycles run from roughly 70 to 120 minutes, they lengthen across the night as REM sleep takes a larger share, and they shift with age, alcohol, illness and stress. That is why the calculator offers several options instead of one exact minute.
Use it to choose between candidate bedtimes, then judge by how you actually feel over a week. Persistent trouble falling asleep, regularly taking more than 30 minutes to drop off, loud snoring with pauses in breathing, or daytime sleepiness despite adequate hours are all reasons to talk to a doctor rather than to move an alarm by 15 minutes.
Worked examples
Alarm at 7:00 AM, 15 minutes to fall asleep, 90 minute cycles
Lights out at 9:45 PM for 6 cycles, 11:15 PM for 5 cycles, or 12:45 AM for 4 cycles.
Alarm at 6:00 AM, slower to drop off at 20 minutes
Lights out at 8:40 PM for 6 cycles, 10:10 PM for 5 cycles, or 11:40 PM for 4 cycles.
Teenager with a 6:30 AM alarm and longer 100 minute cycles
Lights out at 8:20 PM for 6 cycles, giving 10 hours asleep against a recommended 8 to 10 hours.
When people use it
- Choosing a bedtime that fits a fixed early alarm
- Deciding between an earlier night and one more cycle before a big day
- Setting a realistic school night bedtime for a teenager
- Rebuilding a sleep schedule after shift work or travel
- Checking whether the hours you actually sleep meet the recommendation for your age
Tips
- Keep the wake time fixed seven days a week and let the bedtime move, because the body clock anchors on waking.
- Count the bedtimes as lights out, not as the time you start getting ready for bed.
- If you are regularly taking more than 30 minutes to fall asleep, get up and do something dull rather than lying there.
- Caffeine has a half life of about five hours, so an afternoon coffee is still working at bedtime.
- Keep the room dark and cool, and stop using bright screens in the half hour before lights out.
- Alcohol shortens the time to fall asleep but suppresses REM, so the total looks fine and the rest is not.
- A 90 minute nap completes one cycle; a 10 to 20 minute nap boosts alertness without entering deep sleep.
What it assumes, and where it stops being accurate
- A 90 minute cycle is a population average. Real cycles run from about 70 to 120 minutes and lengthen through the night.
- Sleep onset latency is assumed constant, when in practice it varies with caffeine, stress, light and how tired you are.
- The model assumes uninterrupted sleep and cannot account for night waking, a new baby, pain or a snoring partner.
- It is not accurate for shift workers whose body clock is fighting the schedule, or during jet lag while the clock resets.
- Recommended ranges are general population guidance, not a personal prescription, and individual need varies inside them.
- It does not detect or treat sleep disorders such as insomnia, restless legs or obstructive sleep apnoea.
Terms used on this page
- Sleep cycle
- One pass through light, deep and REM sleep, averaging about 90 minutes in adults.
- Sleep onset latency
- The time from lights out to actually falling asleep, typically 10 to 20 minutes.
- Sleep inertia
- The grogginess felt after waking out of deep sleep, which can last 15 to 30 minutes or longer.
- REM sleep
- Rapid eye movement sleep, when most vivid dreaming happens and memory consolidation is strongest.
- Social jetlag
- The body clock shift caused by sleeping on very different schedules on work days and days off.
Questions people ask
- Why are sleep cycles about 90 minutes?
- A full cycle passes through light sleep, deeper slow wave sleep and REM before returning towards light sleep, and that circuit averages roughly 90 minutes in adults. It is an average rather than a fixed clock: individual cycles range from about 70 to 120 minutes, and the proportion of REM rises in the later cycles of the night.
- Why do I feel worse after eight hours than after six?
- Because how you feel on waking depends on which stage the alarm interrupts, not only on the total. Being pulled out of deep slow wave sleep produces sleep inertia, a heavy disoriented feeling that can last 15 to 30 minutes or more. Waking near the end of a cycle, in lighter sleep, feels far easier even after less total sleep.
- How long should it take me to fall asleep?
- Ten to twenty minutes is typical for a healthy adult. Consistently falling asleep in under five minutes usually signals real sleep deprivation rather than a talent, while regularly taking more than 30 minutes is one of the standard markers of insomnia and is worth raising with a doctor if it continues for several weeks.
- Can I catch up on sleep at the weekend?
- Partly. A long weekend sleep repays some of the debt from a short week, but it does not restore everything, and a much later wake time on Saturday and Sunday shifts your body clock so Monday morning feels like jet lag. A smaller, steadier fix beats a large irregular one for both alertness and mood.
- Does the calculator work for night shift?
- The arithmetic does, because you can enter any wake time on the 24 hour clock, including a 4 PM alarm. The biology is harder. Sleeping against your body clock produces lighter, shorter sleep whatever the cycle count, so a dark cool room, consistent shift patterns and careful light exposure matter more than the exact bedtime here.
- Should I use a tracker's cycle length instead of 90 minutes?
- Only if you trust it. Consumer wearables estimate sleep stages from movement and heart rate rather than measuring brain activity, so their stage boundaries are approximate. Their week to week trend in total sleep and timing is more useful than any single night's cycle length. If a figure looks stable across weeks, it is reasonable to enter it.
Use this with
Sleep Calculator answers one part of the question. These pick up where it stops: Sleep Cycle Calculator, BMR Calculator, Heart Rate Zones Calculator and Calories Burned Calculator.
Where these figures come from
This calculation is jurisdiction-neutral arithmetic. No country-specific rules are applied.
- Centers for Disease Control and Prevention, Sleep. Recommended hours of sleep by age
- NHS, Sleep and tiredness. Sleep hygiene and when to see a doctor
- Sleep Foundation, How sleep works. Sleep stages and cycle length
Sleep Calculator produces an estimate for general information. It is not financial, tax, medical, legal or engineering advice. read the full disclaimer. Spotted a wrong number? Report it and it gets fixed. The form picks up this calculator and the inputs you used.