BMITool · Free health calculator

Sleep Calculator

Enter your details

Your result

Enter your details and calculate to see your personalized estimate.

The sleep calculator works backwards. Give it the time you must wake and the hours you want, and it subtracts the sleep and the minutes you usually need to fall asleep, leaving a bedtime. For a 07:00 alarm, eight hours, and fifteen minutes to drift off, that is 22:45 the night before. The cycle view does the same sum in blocks of ninety minutes: four cycles is about six hours, five cycles about seven and a half, six cycles about nine. Waking at the end of a cycle, in light sleep, usually feels easier than being dragged out of deep sleep halfway through one.

Ninety minutes is an average, not a law. Real cycles run about eighty to one hundred and twenty minutes, and their contents change as the night goes on: early cycles carry most of the deep sleep, the stage where the body repairs tissue and the brain clears waste, while later cycles carry more REM sleep, the dreaming stage where memory is consolidated. That is why the calculator's cycle bedtimes are planning aids rather than predictions: they aim your waking at a light-sleep boundary, but they cannot promise which stage you will be in at the alarm. Waking during REM, by contrast, often leaves a vivid dream in mind and a groggy first few minutes, which is why the alarm sometimes feels kind and sometimes cruel on identical amounts of sleep.

The tool also shows the recommended range for your age group, and the ranges are wider than people expect: eight to ten hours for teenagers, seven to nine for adults, and seven to eight for older adults. Those figures come from the National Institutes of Health and the National Heart, Lung, and Blood Institute, and they describe what most people need rather than a target to hit exactly. Some adults genuinely need six and a half hours and some need nine; the right amount is the one that leaves you alert through the day without an alarm and without a heavy reliance on caffeine.

Timing tools only help if the habits around them cooperate. A consistent schedule, kept even at weekends, anchors the body clock more effectively than any bedtime calculation, because the clock expects sleep at the same hour each night. A dark, cool, quiet room helps, and so does keeping bright screens out of the last half hour: light, especially from phones, tells the brain to stay awake. Caffeine late in the day and alcohol in the evening both fragment sleep, the first by delaying its onset and the second by breaking up the second half of the night. Shift workers face a harder version of the same problem, and the same rules still apply: keep the sleep window as regular as the roster allows, use blackout curtains and earplugs for daytime sleep, and avoid bright light on the way home in the morning.

Short sleep is not only about feeling tired the next day. Regularly sleeping under seven hours is linked with worse mood, poorer concentration, higher blood pressure, and weaker control of blood sugar, and the effects accumulate over weeks rather than appearing after a single late night. A calculator can fix a bedtime, but it cannot fix a disorder: loud snoring with pauses in breathing, insomnia lasting weeks, restless legs, or falling asleep while driving are clinical signals. Sleep apnoea in particular is common, underdiagnosed, and very treatable, so persistent symptoms deserve a conversation with a clinician rather than a different bedtime.

This tool can never replace a professional doctor's assessment. If any health condition bothers you, consult a physician.

Worked example: an 07:00 alarm and an eight-hour target

Take a 07:00 wake time, an 8-hour sleep target, and 15 minutes to fall asleep. Bedtime: 07:00 minus 8 hours (480 minutes) minus 15 minutes = 22:45 the previous evening. By cycles: 5 cycles is 5 x 90 = 450 minutes, so bedtime is 07:00 minus 450 minus 15 = 23:15. Six cycles is 540 minutes, giving 21:45, and four cycles is 360 minutes, giving 00:45. The 8-hour target sits between the five- and six-cycle options, so 22:45 is the practical compromise.

Sleep stages across a typical 90-minute cycle

StageWhat happens
N1 light sleepDrifting off; easy to wake; a few minutes
N2 light sleepHeart rate and temperature fall; about half the night
N3 deep sleepHardest to wake from; body repairs tissue
REM sleepDreaming; brain active, muscles still
Cycle lengthAbout 90 minutes, ranging 80-120
Cycles per nightUsually 4-6 cycles

When the problem is not the bedtime

This calculator plans timing; it does not diagnose sleep disorders. Loud snoring with breathing pauses, excessive daytime sleepiness, insomnia lasting weeks, restless legs, or falling asleep while driving are clinical signals, not scheduling problems. Sleep apnoea is common, underdiagnosed, and very treatable, and no bedtime calculation substitutes for assessment. If symptoms persist despite regular hours, discuss them with a healthcare provider rather than adjusting the calculator.

Choose your anchor: alarm time or bedtime

  1. Choose a direction: work backwards from your alarm time, or forwards from your bedtime.
  2. Enter the sleep duration you are aiming for, usually seven to nine hours as an adult.
  3. Enter how long you normally take to fall asleep; fifteen minutes is a typical figure.
  4. Compare the plain bedtime with the four, five, and six cycle options, and pick the one you can keep every night.

Sources: the 90-minute cycle and sleep-duration guidance

Cycles, five versus six, and falling asleep

Do sleep cycles get longer or shorter during the night?

Yes, they change across the night: early cycles carry more deep sleep, later ones more dreaming REM sleep, and individual cycles run roughly 80 to 120 minutes. That is why the calculator's cycle bedtimes are planning aids, not predictions.

Is five cycles better than six if I cannot fit nine hours?

Seven and a half hours from five cycles is usually enough for most adults, and it beats six fragmented hours. But if you regularly need an alarm to wake from five cycles and feel groggy for an hour, six cycles is probably closer to your real need.

Why does the calculator add time to fall asleep?

Most people take 10 to 20 minutes to drift off, and ignoring that quietly steals a quarter of an hour every night.

What time should I go to bed if I need to wake at 6:30 am?

22:15 the night before. The maths: 6:30 am minus 8 hours is 22:30, minus 15 minutes to fall asleep is 22:15. By cycles it is 22:45 for five 90-minute cycles, 21:15 for six, and 00:15 for four — the 8-hour target sits between the five- and six-cycle options, just as the worked example's 07:00 wake gives a 22:45 bedtime between 23:15 and 21:45.

Is it better to sleep seven hours or seven and a half?

Seven and a half hours is five full ninety-minute cycles, so it often feels better than seven hours, which can end mid-cycle in deep sleep. But the total matters more than the exact boundary: if you regularly wake groggy from five cycles, six cycles may be closer to your real need. Try each for a week and judge by how alert you feel by mid-morning.

Does a daytime nap change the bedtime the calculator gives?

A short nap of twenty to thirty minutes before mid-afternoon has little effect on the night, but a long or late nap lowers sleep pressure and can push bedtime later. The calculator assumes no nap, so if you nap most days, treat its bedtime as a starting point and move it later only if you find yourself lying awake.

Related calculators

Other tools that go with this one are the Calories Burned Calculator, Walking Pace Calculator and Heart Rate Zones Calculator.