Sleep Calculator
Live- Cycles count from when you fall asleep, not when you go to bed. Add ~15 minutes for falling-asleep time.
Sleep is not one long event but a series of 90-minute cycles. Each cycle moves through light sleep into deep sleep and then into REM, the dreaming phase, before returning to light sleep and starting again. Waking up at the end of a cycle, in light sleep, leaves you feeling rested. Waking up in the middle of a cycle, especially during deep sleep, is the cause of that heavy, foggy sensation we associate with a bad night. The math is simple. Pick the time you have to be up. Subtract multiples of 90 minutes (plus the 15 minutes most adults need to actually fall asleep), and the result is the bedtime that lines up with the end of a complete cycle. The calculator runs the math in both directions: tell it when you need to wake up and it shows the bedtimes for 4, 5, or 6 cycles of sleep; tell it when you are heading to bed and it shows wake times that hit cycle boundaries. Most healthy adults function best on five or six cycles, which is roughly 7.5 to 9 hours.
Why 90 minutes matters
The 90-minute cycle is a robust finding in sleep research. The cycle's structure is consistent across most healthy adults and across most nights, though cycle length varies by person from roughly 80 to 110 minutes. Ninety is the round-number average and the standard most sleep calculators use. The lighter sleep at the start and end of each cycle is the easiest to wake from. Deep sleep, which dominates the early cycles, and REM sleep, which dominates later cycles, are both far harder to wake from. A misaligned alarm that fires during deep sleep produces the classic 'I felt like I was hit by a truck' morning, while an alarm in light sleep can feel almost peaceful.
Why six cycles is usually the target
Most adults need seven to nine hours of sleep, which works out to four and a half to six cycles. Six cycles, just under nine hours, is the upper end of what feels restorative for most people. Five cycles, seven and a half hours, is the realistic weekday target for many. Four cycles, six hours, is enough to function but consistently produces noticeable cognitive decline after several days in a row. Three cycles, four and a half hours, is the emergency floor: it is better than zero sleep but should not be a regular pattern.
A quick way to find your personal cycle length is to track your sleep on a few weekends when you can wake naturally with no alarm. The total time you sleep tends to land on a clean multiple of your individual cycle. Divide that number by 5 or 6, and you have your true cycle length. Most people will be within ten minutes of the 90-minute average.
Falling asleep accurately
The 15-minute default for time-to-fall-asleep is the population average for healthy sleepers. Some people fall asleep in under five minutes, which can actually indicate sleep deprivation, while others take 30 minutes or more, especially after stimulating evenings or under stress. Adjust the input to match your reality, otherwise the bedtime suggestions will overshoot or undershoot.
Beyond the math: the things that move sleep quality more than timing
Cycle alignment matters, but four other factors typically dominate sleep quality. Caffeine after 2 pm. Even a cup at midafternoon has half-life enough to suppress adenosine in the brain at bedtime. If sleep is a problem, this is the first lever. Screens in the hour before bed. Blue light suppresses melatonin release, delaying sleep onset by 30 to 60 minutes. Alcohol within three hours of bed. It is sedating but disrupts the second half of the night, especially REM sleep. Bedroom temperature. Body temperature drops as you fall asleep; a warm room interferes. Sixteen to nineteen degrees Celsius (60 to 67 Fahrenheit) is the typical optimum range.
When to ignore the calculator
If you wake naturally at the same time every day without an alarm, you have already found your cycle alignment and the calculator's suggestions will roughly match your normal pattern. If you have insomnia or another sleep disorder, cycle timing is far less important than treating the underlying problem; see a sleep doctor. Shift workers and parents of young children operate outside the model the calculator assumes; the math still applies in fragments but cycle counting is harder to use as a planning tool.
Aligning the alarm to a cycle
The specific minute your alarm goes off matters less than how close it lands to the end of a cycle. If your calculated wake time is 06:45 and your actual alarm is set to 07:00, the fifteen-minute drift is small enough that the alarm still catches you in light sleep. Drifts of half an hour or more start to undermine the benefit. A common practical pattern is to set the alarm slightly before the cycle target rather than after, since hitting snooze and falling back into a partial cycle creates the worst grogginess profile of all the timing choices.
Frequently asked questions
Falling asleep is not instantaneous. The median healthy adult takes 10 to 20 minutes from lights-out to sleep onset. The 15-minute default approximates that population average. Adjust the input if you know your personal time differs significantly.
Related calculators
- HealthBMR CalculatorCalculate your basal metabolic rate using the Mifflin-St Jeor equation, plus daily calorie needs at five common activity levels.
- HealthCalorie & Macro CalculatorCalculate the daily calories and macronutrient grams you need to lose, maintain, or gain weight. Uses Mifflin-St Jeor BMR with realistic activity multipliers.
- HealthHydration CalculatorCalculate your recommended daily water intake in ml, liters, cups, and 500 ml bottles. Adjusts for activity, climate, and pregnancy.