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.
—
Send feedback
💡 Share your idea or report a problem
✓ Thanks! We'll take a look.
Learn more
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.
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?
Need something this doesn't cover?
Suggest a tool — we'll build it →