Sleep Calculator

Wake up feeling refreshed by timing your sleep to complete full 90-minute cycles. Calculate the best bedtimes for a given wake-up time, or the best wake-up times if you go to bed now.

How Sleep Cycles Work

Sleep comes in cycles of roughly 90 minutes, each containing multiple stages: light sleep (N1/N2), deep sleep (N3), and REM (Rapid Eye Movement) sleep. Waking mid-cycle — especially during deep sleep — causes sleep inertia: the groggy, disoriented feeling that can last 30–60 minutes.

By timing your alarm to the end of a complete cycle, you wake naturally from light sleep and feel alert immediately.

CyclesTotal SleepRecommended For
4 cycles6 hoursShort-term only — minimum viable sleep
5 cycles7.5 hoursMost adults — good alertness and recovery
6 cycles9 hoursTeenagers, athletes, recovery days
Frequently Asked Questions
A typical sleep cycle lasts around 90 minutes, though it can vary from 80 to 110 minutes between individuals and cycles. Early-night cycles contain more deep sleep (N3); later cycles contain more REM sleep. This calculator uses 90 minutes as the standard.
Waking mid-cycle triggers sleep inertia — a groggy state caused by adenosine still clearing from the brain. It can also indicate poor sleep quality from apnea, noise, alcohol, or caffeine, or a circadian rhythm mismatch. Try shifting your alarm to align with 90-minute boundaries.
The CDC and National Sleep Foundation recommend 7–9 hours for adults aged 18–64, and 7–8 hours for adults 65+. Teens need 8–10 hours; school-age children 9–12 hours. Chronic sleep below 7 hours is associated with obesity, diabetes, heart disease, and impaired cognition.
REM (Rapid Eye Movement) sleep is the stage when most dreaming occurs. It is critical for emotional regulation, memory consolidation, and creativity. REM makes up about 20–25% of total sleep time in adults, with longer REM periods in later cycles. Sleep deprivation disproportionately reduces REM sleep.
A sleep cycle is one complete pass through the four sleep stages: N1 (light sleep), N2 (intermediate), N3 (deep/slow-wave sleep), and REM. The cycle repeats throughout the night, averaging about 90 minutes per cycle. Waking at the end of a complete cycle — rather than mid-cycle — reduces sleep inertia (grogginess) because you emerge from lighter sleep stages.
REM sleep is critical for several brain functions: memory consolidation (converting short-term memories to long-term), emotional processing, creativity, and learning. Adults typically cycle through 4–6 REM periods per night, with each REM episode growing longer in the second half of the night. Chronic REM deprivation is linked to mood disorders, impaired learning, and poor emotional regulation.
Sleep debt is the cumulative difference between the sleep you need and the sleep you actually get. Losing just 1–2 hours per night over a week creates significant cognitive and physical impairment comparable to a full night of total sleep deprivation. Research suggests some sleep debt can be partially recovered with extra sleep over several nights, but full neurological recovery can take days to weeks. Consult a healthcare professional if you consistently struggle to get adequate sleep.
Nap duration matters for how you feel upon waking. A 10–20 minute "power nap" (staying in N1/N2 light sleep) boosts alertness and mood without causing grogginess. A 90-minute nap completes one full sleep cycle, including REM, and can improve creativity and procedural memory. Avoid naps of 30–60 minutes — these leave you in deep N3 sleep when you wake, causing significant sleep inertia.
Sleep requirements decrease significantly with age. The National Sleep Foundation recommends: Newborns (0–3 months) 14–17 hours; Infants (4–11 months) 12–15 hours; Toddlers (1–2 years) 11–14 hours; School-age children (6–13 years) 9–11 hours; Teenagers (14–17 years) 8–10 hours; Adults (18–64 years) 7–9 hours; Older adults (65+) 7–8 hours.
The circadian rhythm is your body's internal 24-hour clock, regulated primarily by light exposure and the hormone melatonin. For most people, the optimal sleep window aligns with darkness — typically 10 pm to 6 am or 11 pm to 7 am. Consistent sleep and wake times — even on weekends — are the most powerful way to stabilise your circadian rhythm and improve sleep quality.

About This Sleep Calculator

This free sleep calculator suggests optimal bedtimes or wake-up times based on 90-minute sleep cycles. Enter when you want to wake up to find the best times to fall asleep, or enter your bedtime to find the ideal wake-up times.

Sleep occurs in 90-minute cycles moving through light, deep, and REM stages. Waking up at the end of a complete cycle — rather than in the middle of deep sleep — reduces sleep inertia and makes you feel more alert in the morning.

When to use this calculator

  • Finding a bedtime that avoids waking up mid-cycle
  • Calculating how many complete sleep cycles fit in your schedule
  • Planning sleep around an early morning event or flight
  • Understanding why some mornings feel worse than others

Standards & References

Related Articles

In-depth guides and technical articles.

View all →
Why Caffeine Causes a Crash — Adenosine, the Two-Process Sleep Model, and the Science of Strategic Napping
Caffeine blocks adenosine receptors but doesn't clear the accumulated adenosine — when it's metabolised, adenosine floods the now-unblocked receptors, causing a crash proportional to the sleep debt built up while caffeine was present. Here's the two-process model of sleep (adenosine pressure plus the circadian clock), how the SCN's 24-hour molecular oscillation works, why SWS rebound is prioritised over REM in recovery sleep, and the biomechanics behind the "nappuccino" being more effective than either caffeine or napping alone.
Why the First Half and Last Half of Your Night Do Different Things — Sleep Stages, Memory, and Nap Strategy
Sleep stages don't repeat in equal proportions across the night — slow-wave deep sleep dominates the first third, REM dominates the last third. Cutting sleep short primarily loses REM; shifting sleep later primarily loses SWS. Here's what each stage does (SWS for physical restoration and declarative memory, N2 spindles for procedural memory, REM for emotional processing), why the "coffee nap" works, and how nap duration determines which stages you reach.
Teenage Sleep Isn't Laziness: The Biology Behind the Circadian Shift and Why School Start Times Matter
Teenagers' late sleep patterns aren't laziness — puberty causes a documented biological shift in circadian timing, pushing melatonin onset later and making early school start times equivalent to asking an adult to perform their best at 3 AM. Here's the neuroscience, why adolescents need 8-10 hours (more than adults), what happens when schools shift start times to 8:30 AM or later, and what this means for using a sleep calculator when your biology and your school schedule disagree.
Shift Work and Sleep: Why Night Shifts Fight Your Circadian Rhythm and What Helps
Night shift workers fight their own circadian rhythm — bright daylight signals "daytime" to the brain exactly when they need to sleep. Here's why standard sleep hygiene isn't enough for shift workers, the strategic light exposure techniques (including sunglasses on the commute home), rotating shift challenges, and napping strategies for night shifts.
Chronotypes and Circadian Rhythms: Why Night Owls Can't Just Choose to Be Morning People
Night owls aren't lazy — chronotype is 50–60% heritable and adolescent biology genuinely delays sleep timing. Here's how circadian rhythms work, the measurable health costs of social jetlag, why school start times are a public health issue, and how light exposure can shift (but not transform) chronotype.