Sleep Calculator

Find the perfect bedtime or wake-up time based on 90-minute sleep cycles. Waking between cycles means waking refreshed — this calculator shows you exactly when.

select a time
Mode
Time
Sleep schedule (click to copy)

Choosing Your Target

5-6 cycles for a normal night
Aim for the "Ideal" options (5-6 cycles) on a typical night — this is the range most adults need to feel properly rested.
4 cycles when time is tight
A "Good" 4-cycle night (6 hours) is a reasonable compromise occasionally, but isn't a sustainable long-term schedule.
Consistency matters more than any single night
Waking at the same time daily — including weekends — improves sleep quality more than optimizing any one night's cycle count.

How to Use the Sleep Calculator

  1. Enter your wake time — what time you need to wake up tomorrow.
  2. Or enter your bedtime — when you plan to go to sleep, to see recommended wake times.
  3. Include sleep onset time — the average person takes 10–20 minutes to fall asleep. Add this to calculate when to get into bed.
  4. Read optimal wake times — the calculator shows times aligned with complete 90-minute sleep cycles.
  5. Choose your cycle count — 5 cycles (7.5 hours) is ideal for most adults. 6 cycles (9 hours) for recovery. 4 cycles (6 hours) minimum for function.
😴 Why sleep cycles matter: Waking mid-cycle causes sleep inertia — the groggy, disoriented feeling that can last hours. Waking at the end of a complete 90-minute cycle allows natural emergence from light sleep, making you feel alert immediately. The difference between waking at the right vs wrong point in a cycle can determine your entire day's cognitive function.

Understanding Sleep Science

🌙 Sleep Cycles
Sleep occurs in approximately 90-minute cycles, each containing: N1 (light sleep, transition), N2 (true sleep, body temperature drops, heart rate slows), N3 (deep sleep/slow wave sleep, most restorative physically), and REM (rapid eye movement, dreams, memory consolidation, emotional processing). Early cycles have more deep sleep; later cycles have more REM.
📊 Sleep Stages
N1 (5% of sleep): falling asleep, hypnic jerks are common. N2 (45%): sleep spindles and K-complexes appear in EEG; memory consolidation begins. N3 (25%): slow wave sleep; growth hormone released; immune system strengthened; hardest to wake from. REM (25%): brain activity similar to waking; muscle paralysis prevents acting out dreams; creativity and emotional memory processed.
⏰ Chronotypes
Morning larks (morning chronotype): naturally wake early, peak alertness in morning. Evening owls (evening chronotype): naturally sleep late, peak alertness in evening/night. Genetics determine chronotype (PER3 gene variants). Approximately 25% early chronotype, 25% late, 50% intermediate. Chronotype shifts with age: teenagers naturally shift later, shift back in adulthood, shift earlier in older age.
😴 Sleep Deprivation Effects
17 hours without sleep: cognitive impairment equivalent to 0.05% BAC (legal driving limit in many countries). 24 hours: 0.10% BAC equivalent. Chronic mild deprivation (6 hours/night): cumulative deficit that subjective adaptation masks. People sleeping 6 hours believe they are performing normally but show measurable cognitive deficits. Sleep debt cannot be fully repaid — chronic deprivation causes lasting effects.
🧠 Sleep and Memory
Memory consolidation during sleep: hippocampal memories transfer to cortical storage during deep sleep. REM sleep processes emotional memories and enables creative connections between unrelated concepts. 'Sleep on it' advice is scientifically validated — problems are genuinely more solvable after sleep due to unconscious memory processing. Students who sleep after studying perform significantly better on tests than those who stay awake.
☕ Caffeine and Sleep
Caffeine blocks adenosine receptors (adenosine causes sleepiness). Half-life of caffeine: approximately 5–6 hours. A 3 PM coffee still has 25% of its caffeine at 11 PM — disrupting sleep onset and deep sleep quality. Caffeine consumed after 2 PM consistently reduces total deep sleep by 20% even when sleep onset is not affected. The sleepiness returns when caffeine clears, often as afternoon crash.

Optimising Sleep Quality

Sleep hygiene fundamentals

Evidence-based sleep hygiene practices: consistent sleep/wake schedule (even weekends — the most important factor for circadian rhythm stability). Dark, cool room (18–19°C/65–67°F optimal core body temperature for sleep). No screens 1 hour before bed (blue light suppresses melatonin by up to 3 hours). No caffeine after 2 PM. No alcohol close to bedtime (alcohol induces sleep but suppresses REM, causing fragmented second-half sleep). Regular exercise (but not within 2–3 hours of bedtime). These practices consistently improve sleep quality across population studies.

Napping strategy

Strategic napping improves afternoon alertness and performance. Optimal nap duration: 10–20 minutes (power nap — enters N2, avoids deep sleep that causes grogginess). 90-minute nap (one full cycle) is also effective but requires appropriate scheduling. Timing: 1–3 PM aligns with natural post-lunch circadian dip. Caffeine nap: drink coffee, nap immediately for 20 minutes — caffeine takes 20–30 minutes to be absorbed, so you wake just as it takes effect. NASA research showed 26-minute naps improved pilot performance by 34% and alertness by 100%.

Sleep disorders and when to seek help

Common sleep disorders: insomnia (difficulty falling/staying asleep, affects 30% of adults occasionally, 10% chronically). Sleep apnoea (breathing interruptions during sleep — affects 24% of men, 9% of women, mostly undiagnosed). Restless leg syndrome. Narcolepsy. Circadian rhythm disorders. Signs warranting medical evaluation: consistently taking over 30 minutes to fall asleep, waking multiple times per night, feeling unrefreshed despite adequate hours, snoring loudly (partner report), excessive daytime sleepiness despite 7–9 hours of sleep. CBT-I (Cognitive Behavioural Therapy for Insomnia) is the first-line treatment for insomnia — more effective than sleep medication long-term.

😴 Optimal sleep schedule calculation: Work backward from required wake time. Subtract 15 minutes for sleep onset. Count back in 90-minute increments: 5 cycles (7.5 hours) = ideal, 6 cycles (9 hours) = recovery night, 4 cycles (6 hours) = minimum. Example: 7 AM wake, 5 cycles: get into bed by 7:00 AM − 7h30m − 15min = 11:15 PM. Set alarm for 7:00 AM. This calculation maximises the chance of waking at the end of a complete cycle.

How the Times Are Calculated

Bedtime = Wake time − 14 min (to fall asleep) − (Cycles × 90 min). Wake time = Bedtime + 14 min + (Cycles × 90 min).

Worked example

Waking at 7:00 AM, targeting 5 cycles: 7:00 AM − 14 min − (5 × 90 min) = 7:00 AM − 14 min − 7h30m = 11:16 PM bedtime. For 6 cycles: 7:00 AM − 14 min − 9h = 9:46 PM bedtime.

90 minutes and 14 minutes are practical averages, not exact biological constants for every individual — see the note in the detailed output above.

Avoid These Mistakes

Chasing the "perfect" cycle count every single night
These times are a helpful starting point, not a rigid rule — individual variation means the exact minute matters less than roughly aligning with a cycle boundary.
Ignoring how you actually feel
If a calculated time consistently leaves you groggy, trust your own body's feedback over the calculator — adjust the cycle length assumption for yourself over time.
Treating this as medical advice
Persistent sleep problems (chronic insomnia, loud snoring, extreme daytime sleepiness) warrant a conversation with a doctor, not just a bedtime adjustment.

Frequently Asked Questions

How long is a sleep cycle?
A sleep cycle lasts approximately 90 minutes. Each cycle includes light sleep (N1, N2), deep sleep (N3), and REM sleep. Adults typically complete 4–6 cycles per night. Waking up at the end of a cycle, rather than in the middle, significantly reduces sleep inertia (the groggy feeling).
How many hours of sleep do I need?
Adults (18–64): 7–9 hours (5–6 cycles). Teenagers (14–17): 8–10 hours. Children (6–13): 9–11 hours. Older adults (65+): 7–8 hours. Consistently sleeping fewer than 6 hours increases risk of obesity, cardiovascular disease, and cognitive impairment.
Why do I still feel tired after 8 hours?
You may have woken up during a deep sleep (N3) or REM phase. Sleep quality matters as much as duration. Other factors include sleep apnoea, irregular sleep schedule, blue light exposure before bed, caffeine, alcohol, or underlying health conditions.
What is REM sleep?
Rapid Eye Movement (REM) sleep is the stage where most dreaming occurs. It's essential for memory consolidation, emotional processing, and creativity. REM periods get longer in later cycles — the final cycles of a full night's sleep have the most REM. Cutting sleep short loses disproportionately more REM.

References

🏥 National Sleep Foundation / AASM
Age-based sleep duration guidelines and general sleep-cycle science referenced here follow recommendations published by the National Sleep Foundation and the American Academy of Sleep Medicine.
👩‍⚕️ Your doctor
This tool provides general scheduling guidance, not medical advice. Persistent sleep problems are worth discussing with a healthcare provider — sleep disorders often need professional diagnosis.