Sleep Calculator
Find the best bedtime for your target wake time — or the best wake times for your bedtime — using 90-minute sleep cycles. Wake at the end of a cycle (in light sleep) and skip the grogginess of mid-cycle interruption.
How sleep cycles work
A full night\'s sleep cycles repeatedly through four stages: N1 (transition into sleep, ~5% of the night), N2 (light sleep, ~45%), N3 (deep slow-wave sleep, ~25%), and REM (rapid eye movement, ~25%). One full cycle averages 90 minutes, but individual variation runs from 70 to 110 minutes. The composition of each cycle shifts across the night — early-night cycles have more N3 deep sleep, late-night cycles have more REM. Most cognitive consolidation happens in REM; most physical restoration in N3.
Why waking at cycle end matters
Sleep inertia — the groggy, disoriented feeling after waking — is strongest from N3 deep sleep and minimal from N1 or REM. If your alarm catches you mid-cycle in deep sleep, expect 15–30 minutes of impaired alertness even if you got "enough" total sleep. If it catches you at the end of a cycle (in lighter stages), you transition to wakefulness more easily. The cycle math is approximate, but the principle is consistent: aim for total sleep durations that are multiples of ~90 minutes, plus your sleep latency.
The four-or-six cycle rule for adults
Most adults function best on 5 cycles (7.5 hours) or 6 cycles (9 hours) of actual sleep, plus ~14 minutes of sleep latency. 4 cycles (6 hours) works for occasional short nights but creates measurable cognitive deficit if sustained. 7 cycles (10.5 hours) is generally unnecessary unless you\'re recovering from illness, sleep debt, or hard training. The 2015 Hirshkowitz consensus paper in Sleep Health recommended 7–9 hours for healthy adults aged 18–64, which maps cleanly onto 5–6 cycles plus latency.
If 7.5 hours leaves you tired and 9 hours feels excessive
Your individual cycle is probably not 90 minutes. Cycle length varies 70–110 minutes between people due to genetics, age, and current sleep debt. If you wake naturally feeling refreshed after ~6h 40min, your cycle is likely 100 min (4 × 100 = 400 min = 6h 40min). If 8h 20min feels right but not 9h, same 100-min cycle (5 × 100 = 500 min = 8h 20min). The fastest way to find your cycle: wake naturally on a vacation morning after sufficient prior sleep, note the duration, divide by 5 (or 6 if you slept longer). That\'s your cycle length.
Sleep latency — when 14 minutes isn\'t right for you
The default 14 minutes is the AASM normal-range average. If you have insomnia and routinely take 30+ minutes to fall asleep, adjust the latency input upward — otherwise the calculator will recommend bedtimes that are too late. If you fall asleep in under 5 minutes, you\'re likely sleep-deprived: the right response isn\'t a different bedtime calculation, it\'s consistently going to bed earlier until your latency normalises to the 10–20 minute range. Stage 1 onset within 5 minutes is one of the diagnostic criteria for severe sleep deprivation in sleep medicine.
Why total sleep matters more than perfect cycles
Cycle math optimises the easier-to-wake aspect of sleep, not the restorative aspect. The 2010 Van Dongen et al. landmark study showed that 6 hours of sleep per night for 14 consecutive nights produced cognitive deficits equivalent to 48 hours of total sleep deprivation — and the subjects didn\'t notice. If you\'re consistently getting under 7 hours, no cycle-end timing trick will compensate. Use the cycle calculator to fine-tune a sufficient sleep duration; use sleep hygiene and earlier bedtimes to fix insufficient duration.
Related tools
- Heart Rate Zones Calculator
- Water Intake Calculator
- VO₂ Max Calculator
- HOMA-IR Calculator (sleep deprivation worsens insulin resistance)
Frequently asked questions
- Is the 90-minute sleep cycle real, or is it a myth?
- Real, but with important caveats. The 90-minute average sleep cycle was established by Aserinsky and Kleitman's pioneering 1953 REM sleep research and confirmed by thousands of subsequent polysomnography studies. Each cycle progresses through N1 (light), N2 (deeper), N3 (deep slow-wave), and REM stages. The caveat: 90 minutes is the population average. Individual cycle length varies from 70–110 minutes, and cycles aren't uniform across the night — early-night cycles have more deep slow-wave sleep and shorter REM; late-night cycles have less deep sleep and longer REM. Waking at the end of any cycle (in light sleep) feels easier than waking mid-cycle, regardless of total duration.
- How much sleep do I actually need?
- The National Sleep Foundation 2015 consensus and the AASM 2015 joint statement converge on 7–9 hours for adults aged 18–64 and 7–8 hours for older adults. Individual variation is real — about 30% of adults function well on 6–7 hours, about 10% need 9+. The Hirshkowitz 2015 consensus identified "may be appropriate" ranges of 6–10 hours, with 5 or fewer hours flagged as universally insufficient. Genetic short-sleepers (carriers of the DEC2 mutation) genuinely thrive on 4–6 hours; they are rare (less than 1% of the population), and most people claiming to be one are sleep-deprived without realising it.
- Does waking at the end of a cycle really feel better than mid-cycle?
- Yes — and it's the part of the cycle math that matters. Sleep inertia (the groggy disorientation after waking) is strongest when you're woken from N3 deep slow-wave sleep, milder from N2, and minimal from REM or N1 light sleep. Cycles transition through these stages predictably, so waking near the end of a cycle (lighter stages) feels easier than waking 45 minutes into a cycle (deep stages). The cycle math is approximate — your real cycles may run 80–110 min — but the principle that "wake near cycle end" reduces inertia is well-established.
- What's sleep latency and why does it matter for this calculation?
- Sleep latency is the time between getting into bed and actually falling asleep. The 2015 AASM normal range is 10–20 minutes. Less than 5 minutes usually indicates significant sleep deprivation (you're crashing). Over 30 minutes is one criterion for insomnia. Adjust the calculator's default 14-minute latency: if you typically take 30 minutes to fall asleep, add 16 to the displayed bedtime. If you fall asleep within 5 minutes, you're probably running a sleep debt and should be going to bed earlier, not optimising further.
- Are sleep tracker apps accurate at detecting cycles?
- Roughly. Consumer trackers (Apple Watch, Oura, Whoop, Fitbit) use heart rate variability and motion to estimate sleep stages. The 2017 de Zambotti validation studies of Fitbit and the 2020 study of Oura compared trackers to polysomnography and found ~70–80% accuracy for total sleep time, ~60–70% for REM detection, and ~50–60% for deep sleep detection. They're useful for tracking trends and identifying obvious problems (frequent wake-ups, sleep onset issues) but should not be treated as polysomnography. Using the 90-minute cycle calculator gives you a similar level of approximate guidance with no device required.
Stop estimating. Start tracking.
CalEye reads calories, protein, carbs, and fat from a photo of your plate — no barcode, no manual entry. Free on iOS.
Download CalEye free on iOS →