Sleep Cycle Calculator

What time should you sleep to wake up feeling rested?

Enter your target wake-up time or bedtime and get cycle-aligned sleep and wake times that minimize mid-cycle interruptions. Based on the 90-minute sleep cycle model used by sleep researchers.

Updated June 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Think of sleep less like a long stretch of rest and more like a series of waves, each crashing onto shore and retreating before the next one builds. Every 90 minutes, your brain completes one full wave — moving from light sleep through slow-wave deep sleep and back up through REM before starting again. Waking at the top of a wave, just as it finishes, feels completely different from being dragged out mid-crash.

The 90-minute figure is a population average derived from studies measuring brain electrical activity during sleep. Your personal cycle might be slightly shorter or longer, which is why the result here is an estimate rather than a precise prescription. Still, using 90 minutes as a target gets you close enough that the practical difference is meaningful: people who time their sleep to cycle boundaries report waking up feeling more rested even when the total hours are the same.

The sleep onset adjustment matters more than most people realize. If you tell yourself you will get 7.5 hours of sleep by going to bed at 11:00 PM for a 6:30 AM alarm, but it takes you 20 minutes to fall asleep, you are actually getting about 7 hours and 10 minutes of sleep — not an even number of cycles. That leftover time lands you inside cycle 5 rather than at its end, which is exactly when you feel the most disoriented on waking.

When To Use This
Right tool, right situation

Use this calculator when you have a fixed wake-up time and want to find a bedtime that minimizes mid-cycle waking — the most common situation for weekday mornings. It is also useful in reverse: if you know you will not get to bed until late, use it to find the latest practical alarm that still lands at a cycle boundary rather than splitting cycle 4 at its worst point.

It works well for planning around irregular schedules — shift workers, travelers crossing time zones, and students during exam periods all benefit from having concrete anchor times rather than vague intentions to get more sleep. The alternate times output gives you flexibility: if the ideal bedtime lands in the middle of something you cannot leave, the next cycle boundary is only 90 minutes away.

Do not use this calculator to self-diagnose sleep disorders, chronic fatigue, or insomnia. If you consistently wake up exhausted regardless of how many cycles you complete, or if you cannot fall asleep within a normal window, those are medical questions that fall outside what cycle timing can address. The calculator assumes healthy, continuous sleep — it cannot account for sleep apnea interruptions, frequent waking, or conditions that fragment cycles mid-way.

Common Mistakes
Why results sometimes look wrong

The most common mistake is ignoring sleep onset latency entirely. People calculate backwards from their alarm and go to bed at exactly the right clock time for 7.5 hours, but because they lie there awake for 15 to 20 minutes first, they are perpetually waking up about a quarter of the way through their final cycle. The fix is to go to bed 15 to 20 minutes earlier than the raw math suggests.

A second mistake is treating the 5-cycle recommendation as universal. Some people are genuine short sleepers who feel fully restored after 4 cycles. If you have been getting 6 hours for years, feel alert without caffeine by mid-morning, and do not experience mood disruptions, you may not need to engineer 7.5 hours. Forcing extra cycles on a natural short sleeper can actually reduce sleep quality by increasing time spent in lighter sleep stages.

A third mistake specific to this calculator is using it to plan sleep during illness, high stress, or travel recovery. During these periods, cycles tend to run shorter or longer than 90 minutes, and the body prioritizes deep sleep over REM differently than normal. The 90-minute model works well for stable, routine nights — it is less reliable as a guide when your body is in recovery mode.

The Math
Worked examples and deeper derivation

The core calculation is straightforward. Sleep time equals number of cycles multiplied by 90 minutes. Add your sleep onset latency to that total to get the time you need between lying down and waking up. From there, subtract from your wake time to get your bedtime, or add to your bedtime to get your wake time.

Bedtime = Wake time minus (cycles x 90 minutes) minus sleep latency Wake time = Bedtime plus (cycles x 90 minutes) plus sleep latency

For example, if you want to wake at 6:30 AM, target 5 cycles, and typically fall asleep in 15 minutes: 5 x 90 = 450 minutes of sleep, plus 15 minutes = 465 minutes before wake time. 465 minutes is 7 hours 45 minutes. Subtract that from 6:30 AM and you get 10:45 PM as your bedtime.

The alternate times shown in the results apply the same formula with adjacent cycle counts — one fewer and one more — so you can see whether a slightly earlier or later bedtime might work better for your schedule without losing cycle alignment.

Early work shift with a firm 5:45 AM alarm
Wake-up time: 5:45 AM, 5 cycles, 15 minutes to fall asleep
The calculator returns a bedtime of 10:00 PM. This gives exactly 7.5 hours of cycle-aligned sleep. Going to bed at 10:15 PM instead would mean waking mid-cycle and feeling groggy even though the difference is only 15 minutes.
New parent catching a nap window
Bedtime: 1:00 AM, 3 cycles, 5 minutes to fall asleep (exhausted)
The calculator returns a wake time of 5:35 AM — 4.5 hours later. While short, waking at the end of cycle 3 is measurably better than waking at hour 4 mid-cycle. The warning flags this as unsustainable, which is accurate.
Traveler adjusting to a new time zone
Wake-up time: 7:00 AM local, 4 cycles, 20 minutes to fall asleep
The result is a bedtime of 11:40 PM. For someone arriving from a distant time zone, this gives a concrete anchor point to work toward rather than just guessing. Four cycles at 6 hours is below the ideal range but acceptable for the adjustment period.
Expert Unlock
The thing most explanations skip

The 90-minute average masks a real biological variable: cycle length changes across the night. Early cycles are dominated by deep slow-wave sleep and run slightly longer; later cycles shift toward REM and tend to be shorter. Waking during a late-night REM-heavy cycle is often less disorienting than waking from an early deep-sleep cycle, which means the harm of missing a cycle end is not symmetric — disrupting cycle 2 hurts more than disrupting cycle 5. A fixed 90-minute model treats all cycles identically, so its precision degrades toward morning when cycle compression makes the actual boundary earlier than calculated.

Why do I still feel tired even after 8 hours of sleep?

What is a sleep cycle and how long does one last?
A sleep cycle is one complete pass through the stages of sleep — light sleep, deep sleep, and REM — before the pattern repeats. Each cycle lasts roughly 90 minutes for most adults, though it can range from 80 to 100 minutes depending on age and individual biology. Waking mid-cycle, even after many hours in bed, leaves you in the groggiest state possible because you are being pulled out of deep or REM sleep before the cycle completes.
How many sleep cycles do I actually need per night?
Most adults function best with 5 cycles (7.5 hours), though some do well on 4 (6 hours) and others need 6 (9 hours). The 7-9 hour guidance from sleep health organizations maps almost exactly to 5 to 6 complete cycles. If you consistently feel rested on 6 hours, you are likely a natural short sleeper completing 4 efficient cycles — not simply getting away with less sleep.
Why does the calculator add 15 minutes before the sleep time?
The 15-minute sleep onset latency accounts for the time between lying down and actually falling asleep. If you skip this adjustment and set your alarm based purely on clock time, you will wake up mid-cycle. The default of 15 minutes is the average for healthy adults — if you fall asleep faster or slower, adjust the field to match your own experience for a more accurate result.

Need something this doesn't cover?

Suggest a tool — we'll build it →