Sleep Cycle Calculator
Calculate bedtimes for complete 90-minute sleep cycles based on your desired wake time.
What this tool does
This calculator works backward from a wake time to bedtimes that fall a whole number of 90-minute sleep cycles earlier, adding a fixed 15-minute allowance for falling asleep. It returns targets for 3, 4, 5, and 6 complete cycles and leads with the five-cycle option, which is 7.5 hours asleep. The 90-minute figure is a population average for the NREM-REM cycle described by Dement and Kleitman; individual cycles run shorter and longer and change across the night, so the output is a scheduling heuristic rather than a prediction of your own sleep architecture.
Formula Used
Disclaimer
This calculator is for educational and informational purposes only. It does not provide medical, nutritional, or training advice. Results are mathematical estimates and may not reflect individual circumstances. Consult a qualified coach, registered dietitian, medical professional, or physiotherapist for personal guidance.
This calculator works backward from a wake time to bedtimes that sit a whole number of 90-minute sleep cycles earlier, allowing 15 minutes to fall asleep. It returns targets for 3, 4, 5, and 6 complete cycles. The idea behind it is that human sleep runs through repeating NREM-REM cycles of roughly 90 minutes, first described from all-night EEG recordings by Dement and Kleitman (1957), and that waking at the end of a cycle rather than out of deep sleep may leave you less groggy.
How Sleep Cycle Calculator works
Enter the hour and minute of your alarm. The tool subtracts multiples of 90 minutes, plus a 15-minute sleep-onset allowance, and reports each bedtime in both 24-hour and 12-hour form. For a 07:00 alarm the options are 23:15 (11:15 pm) for five cycles, which is 7.5 hours asleep, 21:45 (9:45 pm) for six cycles at 9 hours, 00:45 for four cycles at 6 hours, and 02:15 for three cycles at 4.5 hours. Five cycles leads the result because 7.5 hours falls inside the 7 hours or more that the American Academy of Sleep Medicine and the Sleep Research Society give for adults (Watson et al., 2015); nine hours is more than many adults need.
The formula
Bedtime (minutes after midnight) = (wake_minutes − cycles × 90 − 15) mod 1440, where 1440 is the number of minutes in a day. The modulo wraps a bedtime that falls before midnight back into the previous evening, which is why a 07:00 alarm with six cycles returns 21:45 the night before rather than a negative time. Working it through: 07:00 is 420 minutes after midnight, six cycles is 540 minutes, the onset allowance is 15, and 420 − 540 − 15 = −135, which wraps to 1305 minutes, or 21:45.
Why the 90-minute figure is a rough one
Ninety minutes is a population average, and the arithmetic compounds it. Adult cycles commonly run anywhere from about 70 to 120 minutes, and they lengthen across the night as slow-wave sleep gives way to longer REM periods. Stack five of them and the spread is wide: five cycles at 70 minutes is 5 hours 50 minutes asleep, at 90 minutes it is 7.5 hours, and at 120 minutes it is 10 hours. Put differently, if your own cycle happens to run 100 minutes, then 7.5 hours of sleep is exactly 4.5 cycles, and the alarm lands in the middle of a cycle, which is the one outcome the method is meant to avoid. The 15-minute onset allowance carries the same caveat: normative sleep latency shifts with age and varies widely between individuals (Ohayon et al., 2004).
Where this method is most accurate
The calculator works best as a scheduling heuristic for someone on a stable sleep-wake routine who wants a consistent bedtime rather than a precisely timed one. Its strongest and least controversial use is simply picking a bedtime that yields enough total sleep. Sleep inertia, the grogginess after waking, is genuinely worse when you wake out of slow-wave sleep, but it also depends on total sleep time, circadian phase, and prior sleep debt, and clock arithmetic alone cannot tell where in a cycle an alarm will fall (Hilditch and McHill, 2019). The tool does not account for sleep disorders, shift work, jet lag, or the different sleep architecture of children and older adults.
Reading the times in your own clock convention
Bedtimes are given in 24-hour form with the 12-hour equivalent alongside, so 23:15 and 11:15 pm are the same instant written two ways. Times after midnight belong to the morning of your wake day: a 07:00 alarm with four cycles gives 00:45, which is the same night, 45 minutes past midnight. Time zones make no difference to the arithmetic, since every figure is a local clock time counted back from your local alarm.
What this tool does not do
This calculator does not diagnose sleep disorders, prescribe sleep duration, or measure sleep quality. It cannot detect sleep apnoea, insomnia, or circadian rhythm disorders. It does not track sleep debt, adjust for caffeine or alcohol, or account for light exposure or room temperature. It provides scheduling estimates and does not replace clinical sleep assessment.
Disclaimer
This tool is for educational and informational purposes. It is not medical advice, diagnosis, or treatment. Consult a qualified healthcare provider or sleep specialist before making decisions about sleep habits, especially if experiencing chronic fatigue, insomnia, or other sleep-related concerns. Individual sleep needs vary based on age, health status, activity level, and circadian phenotype.
Questions
- Why does the calculator use 90 minutes per cycle?
- Ninety minutes is the commonly quoted average for one full progression through the NREM and REM stages in adults, following the cyclic EEG pattern Dement and Kleitman reported in 1957. Individual cycles run from roughly 70 to 120 minutes and lengthen across the night, with early cycles holding more slow-wave sleep and later ones more REM.
- What is the 15-minute buffer for?
- It is sleep-onset latency, the gap between lying down and actually falling asleep. Fifteen minutes is a rough population figure; normative values shift with age and vary widely between people, from a few minutes to well over half an hour. If you know your own tends to be longer or shorter, treat the suggested bedtime as that many minutes out.
- Why does the tool lead with five cycles rather than six?
- Five cycles is 7.5 hours asleep, which falls inside the 7 or more hours the American Academy of Sleep Medicine and the Sleep Research Society give for adults. Six cycles is 9 hours, more than many adults need. All four options remain listed, since sleep need varies with age, activity, and recovery.
- Does waking between cycles always feel better?
- Not reliably. Sleep inertia is worse after waking out of slow-wave sleep, so a cycle boundary is a better moment in principle. In practice clock arithmetic cannot tell where in a cycle your alarm will land: if your own cycle runs 100 minutes, a 7.5-hour night is 4.5 cycles and the alarm falls mid-cycle. Total sleep time, circadian alignment, and sleep debt all matter more than cycle phase.
- How do I read a bedtime that falls after midnight?
- It belongs to the same night, in the early hours of your wake day. A 07:00 alarm with four cycles gives 00:45, meaning 45 minutes past midnight on the morning you wake. Every time is shown in both 24-hour and 12-hour form, so 23:15 and 11:15 pm are the same moment.
- Can this tool help with shift work or jet lag?
- Not directly. The calculator assumes a stable sleep-wake schedule and does not adjust for circadian misalignment, which is the central problem in both shift work and jet lag. Timed light exposure and gradual schedule shifts address that misalignment; targeting a cycle boundary does not.
Sources & Methodology
Bedtime = (wake_minutes − cycles × 90 − 15) mod 1440. Uses the roughly 90-minute NREM-REM sleep cycle described from all-night EEG recordings by Dement and Kleitman (1957), with a fixed 15-minute sleep-onset allowance. Returns targets for 3, 4, 5, and 6 complete cycles and leads with 5 cycles (7.5 h), which sits inside the 7 or more hours the AASM and Sleep Research Society consensus statement gives for adults. The 90-minute figure is a population average, not a per-person cycle length.
- › Dement W, Kleitman N. Cyclic variations in EEG during sleep and their relation to eye movements, body motility, and dreaming. Electroencephalogr Clin Neurophysiol. 1957;9(4):673-90.
- › Watson NF, Badr MS, Belenky G, et al. Joint Consensus Statement of the American Academy of Sleep Medicine and Sleep Research Society on the Recommended Amount of Sleep for a Healthy Adult. J Clin Sleep Med. 2015;11(8):931-52.
- › Ohayon MM, Carskadon MA, Guilleminault C, Vitiello MV. Meta-analysis of quantitative sleep parameters from childhood to old age in healthy individuals: developing normative sleep values across the human lifespan. Sleep. 2004;27(7):1255-73.
- › Hilditch CJ, McHill AW. Sleep inertia: current insights. Nat Sci Sleep. 2019;11:155-65.
- › Kleitman N. Sleep and Wakefulness. Revised ed. University of Chicago Press; 1963.
Spotted something off?
Calculations or display — let us know.
More in Timing & Pacing
View all 8 →- Eating Window ClockWork out when a chosen eating window closes and how long the remaining gap runs.
- HIIT Work-Rest Ratio CalculatorCalculate total HIIT session time and work-to-rest ratio from your interval structure.
- Hiking Time Calculator (Naismith's Rule)Estimate hiking time from distance and ascent using Naismith's 1892 rule.
- Tabata Timer Setup CalculatorCalculate total workout time for Tabata and custom interval training protocols
- EMOM Round CalculatorCalculate total rep volume across EMOM-style workouts with fixed reps per minute.
- Rest Time Between Sets CalculatorFind evidence-based rest intervals matched to your training goal, endurance, hypertrophy, or strength.