Find the perfect bedtime or wake-up time based on 90-minute sleep cycles. Wake up refreshed, not groggy.
Sleep is not a single continuous state — it is a series of 90-minute cycles, each containing stages of light sleep, deep sleep, and REM sleep. Waking up mid-cycle (especially during deep sleep) triggers sleep inertia, that groggy feeling even after a full night of sleep. By timing your wake-up to the end of a complete cycle, you wake naturally during light sleep and feel more alert. Our sleep calculator calculates exactly when to go to bed or set your alarm to align with these natural sleep rhythms. All calculations run entirely in your browser — your data never leaves your device.
Sleep is not a single uniform state — it is a cyclical process consisting of repeating 90-minute stages. Each complete sleep cycle passes through four distinct phases:
The sleep inertia problem: When an alarm forces you awake during deep sleep (N3), adenosine — a sleep pressure chemical — is still elevated in the brain, and you experience grogginess, impaired cognition, and reduced alertness for 15–60 minutes. This is sleep inertia. By contrast, waking at the end of a complete cycle (during the light N1/N2 stage) often feels natural and alert because the brain has already partially transitioned back toward wakefulness.
Our calculator works backward from your target wake time (or forward from your bedtime) in 90-minute increments, adding 14 minutes for average sleep onset time (the time it takes to fall asleep after getting into bed). This gives you bedtimes or wake times aligned with the natural end of a sleep cycle — the point where waking causes the least disruption.
Most adults need 5–6 complete cycles per night (7.5–9 hours). Our calculator highlights 5-cycle (7.5 hr) and 6-cycle (9 hr) options as the sweet spots for full recovery, while also showing 4-cycle (6 hr) for nights where sleep opportunity is limited.
James needs to wake at 6:30 AM. Working backward in 90-minute cycles with 14 minutes for sleep onset:
Why is 7.5 hours (5 cycles) often better than 8 hours? Setting an alarm for 8 hours may wake James mid-cycle in deep sleep (N3), triggering sleep inertia and grogginess. Getting up after 7.5 hours — aligned to a cycle boundary — he wakes in light sleep and feels more alert despite technically less total sleep time. The cycle boundary matters as much as total duration.
Conversely, if James must go to bed at 11:30 PM and works forward: add 14 min for onset (sleep at 11:44 PM), then 90-min cycles: optimal wake times are 1:14 AM (2 cycles), 2:44 AM (3 cycles), 4:14 AM (4 cycles), 5:44 AM (5 cycles), or 7:14 AM (6 cycles).
Sleep cycle length variation: The 90-minute average varies between individuals and across the night. Earlier cycles tend to be shorter (80–90 min) with more deep sleep; later cycles run longer (90–110 min) with more REM. Our calculator uses 90 minutes as the standard approximation — if you consistently feel best at a slightly different wake time, trust your body's feedback over the formula.
Age-related changes: Deep sleep (N3) decreases substantially with age. Adults over 60 typically get less slow-wave sleep and wake more frequently during the night. Sleep efficiency (the proportion of time in bed spent asleep) also declines with age. Older adults often benefit from slightly earlier bedtimes and may naturally wake earlier as circadian rhythms shift.
Sleep debt: Accumulated sleep deprivation — even mild chronic short-sleeping — builds a sleep debt that cannot be fully repaid by a single long sleep session. Cognitive impairment from chronic sleep restriction persists even when subjective sleepiness normalizes. The most effective intervention is consistent adequate sleep duration for multiple nights.
Circadian rhythm: Your internal biological clock regulates sleep-wake cycles with a natural period of approximately 24 hours, entrained by light exposure. Morning bright light suppresses melatonin and promotes wakefulness; evening light delays the circadian clock. Screen light in the 1–2 hours before bed can delay sleep onset by 30–90 minutes, reducing total sleep time for those with fixed morning wake obligations.
REM rebound: When sleep is cut short — by an alarm, alcohol, or sleep apnea — REM sleep is preferentially lost because it concentrates in the final hours of sleep. REM is critical for emotional regulation and memory consolidation. After periods of REM deprivation, the brain compensates with longer, more intense REM on subsequent nights (REM rebound). This is why extended sleep after a week of short nights feels especially vivid and dreamful.
Nap timing and duration: A 20-minute nap during early afternoon avoids deep sleep entirely and reduces grogginess; it can restore alertness for 2–3 hours. A 90-minute nap completes a full cycle and offers deeper restoration without impacting nighttime sleep. Naps taken after 3–4 PM or longer than 30 minutes (without completing a full cycle) increase sleep pressure disruption at bedtime.
Sleep and fitness: Deep sleep is when the body releases the majority of its daily growth hormone output — essential for muscle protein synthesis, fat metabolism, and physical recovery. Inadequate sleep measurably reduces training adaptation, increases injury risk, impairs reaction time, and elevates cortisol, promoting fat storage and muscle breakdown. For athletes, sleep is as important a recovery tool as nutrition and rest days.
Most adults need 7–9 hours of sleep per night. Teenagers need 8–10 hours, school-age children 9–11 hours, and infants much more. Individual variation exists — some people function well on 7 hours while others need 9. The best indicator is whether you feel rested and alert throughout the day without relying on caffeine.
A sleep cycle is approximately 90 minutes long and consists of multiple stages: light sleep (N1, N2), deep sleep (N3, also called slow-wave sleep), and REM (rapid eye movement) sleep. Most adults cycle through 5–6 complete sleep cycles per night. Waking at the end of a cycle, rather than in the middle, helps you feel more refreshed.
Waking up in the middle of a sleep cycle — particularly during deep sleep — causes sleep inertia (grogginess). This is why 7.5 hours (5 cycles) or 9 hours (6 cycles) often feels better than exactly 8 hours. Our sleep calculator suggests bedtimes aligned to complete sleep cycles so you wake up at the end of a cycle feeling alert.
The best bedtime is one that allows you to complete 5–6 sleep cycles and wake up feeling rested. For most adults who wake at 6–7 AM, ideal bedtimes are 9:30–11:30 PM. The calculator adds 14 minutes to account for average sleep onset time, so the bedtimes shown are when to get into bed, not when you will actually fall asleep.
Sleep is critical for athletic performance and body composition. During deep sleep, the body releases growth hormone — essential for muscle repair and fat metabolism. Poor sleep raises cortisol and ghrelin (hunger hormone) levels, making weight loss harder. Studies show people who sleep less than 7 hours lose more muscle mass during calorie restriction and have worse workout performance.