Skip to content
Popular Calculators
Browse Health calculators

Sleep Calculator

Bedtimes and wake-up times in whole sleep cycles, checked against the hours you actually need — so a neatly timed six hours is never passed off as enough.

I want to (optional)

Count back from a wake-up time, or forward from a bedtime.

Your wake-up time, or your bedtime.

Sets the recommended hours each option is checked against.

10 to 20 minutes is typical.

90 is the usual average; real cycles run 70 to 120 minutes.

About the Sleep Calculator

Most sleep calculators count back from your alarm in 90-minute cycles and hand you a list of bedtimes, as though waking at the end of a cycle were a precise science and every option on the list were equally good.

Two things are missing from that picture.

Ninety minutes is an average. Real sleep cycles run from roughly 70 to 120 minutes, differ from person to person, and change through the night.

Timing matters less than total sleep. Four perfectly timed cycles is still six hours — below the seven hours an adult is advised to get. A calculator that offers that bedtime without comment is quietly recommending too little sleep.

This sleep calculator does the cycle arithmetic, but it also checks every option against the recommended hours for your age and says plainly when one falls short. The suggested time is the latest bedtime that is still enough sleep, not simply the next one on the list.

How to Use the Sleep Calculator

Choose whether you want to wake up at a set time (the calculator counts back to bedtimes) or go to bed at a set time (it counts forward to wake-up times).

Enter the time, pick your age group, and adjust the two assumptions if you know better:

Time to fall asleep defaults to 15 minutes. Ten to twenty is typical.

Sleep cycle length defaults to 90 minutes. If you find you wake naturally at, say, seven hours and ten minutes, your cycles may be shorter.

How the Times Are Worked Out

Counting back from a wake-up time:

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

Counting forward from a bedtime:

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

Times wrap around midnight, so a wake-up time of 06:00 with six cycles lands on the previous evening.

Step-by-Step Example

Alarm at 07:00. Adult. 15 minutes to fall asleep. 90-minute cycles.

  6 cycles:  07:00 − 9 h 00 − 0:15  =  21:45   9 h asleep
  5 cycles:  07:00 − 7 h 30 − 0:15  =  23:15   7 h 30 asleep
  4 cycles:  07:00 − 6 h 00 − 0:15  =  00:45   6 h asleep     ← short
  3 cycles:  07:00 − 4 h 30 − 0:15  =  02:15   4 h 30 asleep  ← short

The recommended range for adults is 7 to 9 hours, so the four- and three-cycle options are flagged. The suggested bedtime is 23:15 — the latest one that still clears seven hours.

Why the Cycle Length Is Adjustable

The 90-minute figure comes from averaging, and averages hide a lot.

Across a night, early cycles are dominated by deep (slow-wave) sleep and later ones by REM sleep. Cycle lengths drift as the night goes on, and they differ between people and from one night to the next.

The spread is not small:

  6 cycles at  70 min  =   7 h
  6 cycles at  90 min  =   9 h
  6 cycles at 120 min  =  12 h

That is a five-hour range for "six cycles". So the cycle length is an input here rather than a hidden constant, and the output is best read as a window — give or take fifteen minutes — rather than an appointment.

Total Sleep Beats Clever Timing

The idea behind cycle timing is sound as far as it goes: waking from light sleep usually feels easier than being pulled out of deep sleep. But the effect is modest, and it is easy to let it justify cutting sleep short.

The recommended ranges, by age group:

Age groupRecommended hours
6 to 12 years9 to 12
13 to 18 years8 to 10
18 to 64 years7 to 9
65 and over7 to 8

For children and teenagers these come from the American Academy of Sleep Medicine's consensus; for adults, from the National Sleep Foundation. Regularly sleeping under seven hours as an adult is linked with worse outcomes across a long list of measures, from mood and concentration to blood pressure.

So when the arithmetic and the recommendation disagree, this calculator sides with the recommendation.

Falling Asleep Is a Signal Too

The time it takes you to fall asleep is worth noticing in its own right.

Under five minutes, every night, usually means sleep debt. A well-rested person rarely drops off instantly.

Over thirty minutes, most nights, is one of the markers used when assessing insomnia. The usual advice — a fixed wake-up time and less time lying awake in bed — tends to help more than going to bed earlier.

Understanding Your Result

Best time is the latest bedtime (or earliest wake-up time) that gives at least the minimum recommended sleep for your age group.

All options lists three to six cycles, each with its sleep duration, and marks the ones that fall below the recommended minimum.

Recommended sleep shows the range for your age group and how many cycles the suggested time gives you.

Worth knowing picks out whatever matters most for your inputs: a very short or long time to fall asleep, a non-standard cycle length, or no option meeting the minimum at all.

When Should You Use This Calculator?

When setting a new routine — a new job, a new school term, or recovering from a period of short sleep.

Before an early start, to see which bedtime actually gives you enough.

When you wake up groggy at a consistent time, as a prompt to try shifting by one cycle or fifteen minutes.

Not as a way to justify five or six hours. If the only way to hit a neat cycle boundary is to sleep less, sleep more instead.

Common Mistakes

Treating 90 minutes as exact. Cycles vary, so the times are a window.

Forgetting the time it takes to fall asleep. Getting into bed at the listed time is not the same as being asleep at it.

Choosing the shortest option because it lines up with a cycle. Six hours is still six hours.

Changing wake-up time at weekends. A consistent wake-up time does more for how rested you feel than any cycle arithmetic.

Using an alarm set to the minute as proof the method works or fails. One night tells you very little; judge it over a week or two.

Persistent trouble sleeping, loud snoring, pauses in breathing, or daytime sleepiness despite enough time in bed are worth raising with a doctor. Nothing here is medical advice.

Frequently Asked Questions

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

For most adults, about 11:15 pm. That allows 15 minutes to fall asleep and five 90-minute cycles, which is seven and a half hours of sleep. Going to bed at 9:45 pm gives six cycles and nine hours, while 12:45 am gives only six hours, which is below the adult minimum.

How long is a sleep cycle?

About 90 minutes on average, but real cycles run from roughly 70 to 120 minutes and vary between people and across the night. Early cycles contain most of the deep sleep and later ones most of the REM sleep, so the 90-minute figure is a convenient average rather than a fixed clock.

Is it better to wake up at the end of a sleep cycle?

Waking from light sleep usually feels easier than waking from deep sleep, which is the idea behind cycle timing. But the effect is modest, and total sleep matters far more. Four perfectly timed cycles is still only six hours, and no amount of timing makes up the difference.

How many hours of sleep do I need?

Adults aged 18 to 64 are advised to get seven to nine hours, and adults over 65 seven to eight. Teenagers need eight to ten and children aged six to twelve need nine to twelve. Individual needs vary, but regularly sleeping under seven hours as an adult is linked to worse health outcomes.

How long should it take to fall asleep?

Ten to twenty minutes is typical. Regularly falling asleep within five minutes usually points to sleep debt rather than good sleep, and regularly taking more than thirty minutes is one of the markers doctors use when assessing insomnia. Either pattern is worth paying attention to over time.

Does a consistent wake-up time matter?

Yes, and probably more than hitting the end of a cycle. A fixed wake-up time, weekends included, anchors the body clock, makes it easier to fall asleep at night, and reduces the groggy Monday feeling that comes from sleeping late at weekends and shifting your rhythm.

Last reviewed September 24, 2026 by the CalculatorPeak editorial team.