A Free Calculator · 90-Minute Cycles · Updated 2026
What time should you go to sleep tonight?
Sleep researchers broadly agree on one thing: waking mid-cycle feels awful.
This calculator works backwards from your alarm time in complete 90-minute cycles,
so your brain can surface naturally instead of being yanked out of deep sleep.
Enter your wake time, adjust the fall-asleep buffer if needed, and get three
cycle-aligned bedtime targets.
3 cycle-aligned bedtime options·Counts back in 90-min cycles·Adjustable fall-asleep buffer
Important — read before using
These are general estimates based on the average ~90-minute sleep cycle. Real sleep cycles
vary between roughly 70 and 120 minutes, and your personal cycle length may differ from
the average. The bedtimes here are planning targets, not medical prescriptions. If you
regularly struggle to fall asleep, stay asleep, or feel unrefreshed after adequate sleep,
those are symptoms worth discussing with a doctor — a suspected sleep disorder requires
clinical evaluation, not a calculator.
Bedtime by sleep cycle — counting back from your alarm
Enter when you need to wake up and your typical fall-asleep time. The calculator shows three bedtime targets aligned with 6, 5, or 4 complete 90-minute cycles. We recommend aiming for the 5- or 6-cycle options whenever your schedule allows.
The time your alarm goes off — or the time you need to be awake.
min
How long it typically takes you to fall asleep after lying down. Most adults take 10–20 minutes; 15 is the default. If it regularly takes you 30+ minutes, that may be worth discussing with a doctor.
For a 6:30 AM wake-up, aim to be asleep by
(5 cycles, 7.5 h)
or (6 cycles, 9 h)
6 cycles — 9 h sleep
5 cycles — 7.5 h sleep
4 cycles — 6 h sleep
The formulas, in full
Nothing here is a black box. These are the exact calculations the tool runs — the same
arithmetic you could do on paper. The named constants match the code precisely.
The table below summarises what each cycle-count option means in terms of total sleep
time and typical subjective quality. Most adults should target 5–6 cycles most nights.
Cycles
Total sleep (approx.)
Corresponds to
Quality / suitability note
6 cycles
9 h
Upper end of recommended adult range
Optimal for recovery, learning consolidation, and athletes. Also appropriate after illness or accumulated debt. Most adults don't need this routinely.
5 cycles
7.5 h
Mid-range — most adults' sweet spot
Aligns with the 7–9 h recommendation for most adults. Enough slow-wave and REM to support memory, mood, and immune function. The primary recommendation from this calculator.
4 cycles
6 h
Below recommended minimum for most adults
Survivable for occasional short nights but associated with impaired cognition, reaction time, and mood if sustained. Not a routine target for most adults. Treat this as an emergency floor.
Total sleep times assume a 90-minute average cycle and do not include the fall-asleep
buffer, which is added to the bedtime target but does not count as sleep. Individual
cycle length varies roughly 70–120 minutes — these figures are averages.
Why sleep cycle timing matters
The mechanism behind this calculator is sleep inertia — the grogginess that results
from being woken during deep sleep — and how cycle-aware timing reduces it.
Deep sleep is hardest to interrupt without consequence
During N3 (slow-wave) sleep — which dominates the first half of the night — your
brain is least responsive to the outside world. Being woken in this stage produces
the strongest sleep inertia: the thick, disoriented fogginess that can last 20–30
minutes. Late cycles shift toward more REM and lighter NREM, where arousal is easier
and less disruptive. Cycle-aligned alarms aim to land you at the end of a cycle —
near the lighter stages — rather than in the middle of deep sleep.
Consistency in wake time anchors your internal clock more than bedtime does
Circadian research consistently shows that a fixed wake time is the most powerful
lever you have on sleep quality — more so than a fixed bedtime. Waking at the same
time every day (including weekends) regulates the hormonal and neurological cues
that govern sleep pressure and alertness throughout the day. This calculator is
structured around your wake time for exactly this reason: fix your alarm, then let
the bedtime target follow from that anchor.
The 90-minute figure is an average — your cycles may differ
Published research puts the average adult sleep cycle at roughly 90 minutes, but
individual cycles genuinely vary between about 70 and 120 minutes. Your first cycle
of the night tends to be shorter; later cycles are longer. If you find that waking
15 minutes earlier or later than these targets leaves you feeling better, that is
real data — adjust your bedtime or alarm accordingly. No calculator knows your
personal cycle length.
How to actually use these targets
Five practical steps to get the most from cycle-aligned sleep timing.
Fix your wake time first
Decide what time you need to be up and set that as a non-negotiable. Your bedtime adjusts around it — not the other way around. Anchoring your morning is the foundation of consistent sleep quality.
Choose the 5- or 6-cycle target as your primary goal
The 4-cycle option (6 hours) is a floor for emergencies, not a routine. Most nights, aim for the 5-cycle bedtime (7.5 hours of sleep) as your default. Use the 6-cycle option after illness, intense exercise, or accumulated sleep debt.
Start winding down 30–60 minutes before your target bedtime
The fall-asleep buffer assumes you are relaxed and in bed at the target time. If you are still screen-lit and stimulated, the actual onset delay will be longer and you'll miss the cycle window. The bedtime in the calculator is the time to be in bed and settling, not the time to start getting ready for bed.
Test and adjust by one cycle at a time
If the 5-cycle target still leaves you groggy, try the 6-cycle option for a week. If you wake up naturally 10–15 minutes before your alarm, your personal cycle may be slightly shorter than 90 minutes — you can try moving the alarm forward by 15 minutes rather than shifting the bedtime.
Track actual sleep onset, not just bedtime
The fall-asleep buffer is a model input — calibrate it against reality. If you're consistently lying awake for 45 minutes before sleep, bump the buffer to 45 in the calculator. The goal is to have the bedtime target reflect the time you actually intend to fall asleep, not just the time you get into bed.
Where to buy
Got your numbers? Here's where to pick up what you need:
The terms that appear in sleep research, fitness trackers, and sleep study reports —
defined plainly.
Sleep cycle
One complete pass through all sleep stages: N1 (light), N2 (light-to-medium), N3 (deep/slow-wave), and REM. The average duration is roughly 90 minutes, though individual cycles range from about 70 to 120 minutes. Adults typically complete 4–6 cycles per night.
NREM sleep (Non-REM)
The three non-dreaming stages of sleep. N1 is the lightest transition stage. N2 is where most of the night is spent — temperature drops, heart rate slows. N3 is deep slow-wave sleep, the most restorative stage, dominant in the first half of the night.
REM sleep
Rapid Eye Movement sleep — the stage most associated with vivid dreaming, memory consolidation, and emotional processing. REM periods lengthen across the night; the final cycles of the night are disproportionately REM-rich, which is one reason cutting sleep short hits creative and emotional processing hardest.
Slow-wave sleep (N3 / SWS)
The deepest NREM stage, characterised by large slow delta waves in the EEG. It is hardest to wake from and produces the worst sleep inertia if interrupted. Physical restoration, growth hormone release, and immune function are linked to adequate N3. It is front-loaded — most N3 happens in the first 3–4 hours of a full night of sleep.
Sleep inertia
The groggy, disoriented feeling that follows waking — especially severe when aroused from N3. Sleep inertia impairs reaction time, decision-making, and mood and can last 20–30 minutes or more. Cycle-aligned alarms aim to reduce it by targeting wake-up near the end of a cycle, when sleep is lightest.
Sleep onset latency
The time between lying down with the intention to sleep and actually falling asleep. The healthy range is roughly 10–20 minutes. Consistently falling asleep in under 5 minutes may indicate sleep deprivation; consistently taking 30 or more minutes may indicate insomnia.
Circadian rhythm
The body's internal ~24-hour clock, driven by light and temperature cues, that governs the timing of alertness, sleepiness, hormone release, and body temperature. A consistent wake time is the most reliable way to anchor it; irregular schedules (including "social jetlag" — sleeping in on weekends) disrupt it even if total hours are adequate.
Sleep debt
The cumulative shortfall between the sleep you need and the sleep you got. Unlike a financial debt, sleep debt cannot be fully "paid back" in one long weekend session — research suggests only partial recovery is possible, and chronic debt causes lasting impairment that short-term catch-up sleep does not reverse. Prevention is more effective than recovery.
Frequently asked
A sleep cycle is one complete pass through the stages of sleep: lighter NREM stages (N1 and N2), deep slow-wave sleep (N3), and REM. The average cycle lasts roughly 90 minutes, though individual cycles vary between about 70 and 120 minutes and tend to shift in composition across the night — early cycles contain more slow-wave sleep; later cycles contain more REM. This calculator uses the 90-minute average as a planning estimate. It is not a substitute for medical evaluation of your sleep.
Waking during deep slow-wave sleep (N3) produces sleep inertia — the heavy, disoriented grogginess that can linger for 20–30 minutes or more. Sleep inertia is most severe when you're roused from the deepest stage of a cycle. By timing your alarm to fall near the end of a full cycle, you aim to wake during the lighter stages — N1 or the transition out of REM — when arousal is easier and grogginess is reduced. This calculator targets those lighter-sleep endpoints.
Most adults need 7–9 hours of sleep per night, which corresponds to 5–6 complete 90-minute cycles. Six cycles (9 hours) is the upper end of that range and is generally associated with optimal cognitive performance and recovery. Five cycles (7.5 hours) is the most commonly recommended target for adults. Four cycles (6 hours) falls below the recommended minimum for most adults and should be treated as a floor, not a routine. Individual needs vary — some people genuinely thrive on less; a small minority need more. If you regularly feel unrefreshed after 7–8 hours, discuss it with a doctor, as a sleep disorder may be involved.
The fall-asleep buffer (also called sleep onset latency) is the time between lying down and actually falling asleep. It's not zero — most healthy adults take 10–20 minutes. The default of 15 minutes represents the midpoint of that typical range. If you fall asleep very quickly (under 5 minutes), that can actually be a sign of sleep deprivation. If it regularly takes 30 or more minutes, that may indicate insomnia worth discussing with a doctor. The buffer shifts the bedtime target earlier: to get the sleep cycles in, you need to be in bed before your intended sleep start time.
No — the 90-minute figure is an average. Individual cycles range from roughly 70 to 120 minutes, and the duration shifts across the night: the first cycle is often shorter (closer to 70–80 minutes), and later cycles tend to be longer (closer to 100–110 minutes). This calculator uses 90 minutes as a practical planning estimate. Because of this variability, the bedtimes it produces are targets, not precise alarms — they give you a time window where waking is more likely to coincide with a lighter sleep stage, not a guarantee.
Both matter, but for different reasons. Total sleep duration determines whether you accumulate enough of each stage (especially slow-wave and REM). Wake time matters for circadian alignment: waking at the same time each day anchors your internal clock, which regulates alertness, hormone release, and sleep pressure. Most sleep researchers recommend fixing your wake time first and then working backwards to set bedtime — exactly what this calculator does. Irregular wake times (sleeping in on weekends) can disrupt your circadian rhythm even if total sleep hours are adequate.
This calculator is designed for nighttime sleep planning — counting back full cycles from a morning wake time. For naps, the logic is different: a 20-minute nap (ending before slow-wave sleep) avoids grogginess; a 90-minute nap completes one full cycle and can include REM. Napping too late in the day (after 3 PM for most people) reduces sleep pressure and can make it harder to fall asleep at night. A separate nap calculator on this site handles nap-specific timing.
The arithmetic is exact for the inputs you provide — the page shows every formula. The accuracy of the resulting bedtime depends on how closely your personal cycle length matches the 90-minute average and how accurately you estimate your fall-asleep latency. Think of the output as a well-informed target, not a precise prescription. Consistent results over several nights (waking naturally before your alarm, feeling rested) are a better signal that the timing suits you than any calculator can be. These are general estimates, not medical advice; for ongoing sleep difficulties or a suspected sleep disorder, see a doctor.
Common mistakes with this calculator
The arithmetic is simple, but a few input errors consistently produce bedtime
targets that feel off — even when the math is right.
Ignoring the fall-asleep buffer
Most people set the buffer to zero and aim to be asleep the moment they lie down. The default 15-minute buffer is there because most healthy adults take 10–20 minutes to actually fall asleep. Omit it and every bedtime target runs 15 minutes too late — you start your first cycle already behind schedule.
Treating the 90-minute cycle as an exact constant
Sleep cycles average roughly 90 minutes, but individual cycles range from about 70 to 120 minutes, and the first cycle of the night is often shorter. The suggested bedtimes are targets within a window, not precise alarms. If you consistently wake groggy at the recommended time, try shifting your alarm 10–15 minutes earlier or later before abandoning cycle-aligned timing entirely.
Using the 4-cycle (6 h) option as a regular target
The 4-cycle bedtime is an emergency floor, not a routine plan. Consistently sleeping 6 hours is associated with measurable cognitive effects — including adaptation where you stop noticing how impaired you are. If your schedule only allows 6 hours most nights, the more useful fix is examining what is consuming the time window, not optimizing the alarm.
Sleeping in on weekends to compensate for a late bedtime
Irregular wake times shift your circadian anchor. Sleeping two hours later on Saturday than on a weekday is enough to create a form of social jetlag that makes Monday harder — even if the extra sleep feels restorative in the moment. A fixed wake time anchors consistent sleep quality more reliably than a fixed bedtime does.