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, though individual cycles can range from 80 to 110 minutes. The 90-minute figure emerged from early sleep research by Nathaniel Kleitman in the 1950s. 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. During REM, the brain is nearly as active as when awake, while the body's muscles are temporarily paralysed. 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 — often caused by alcohol, sleep apnea, or insufficient total sleep — 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 that some sleep debt can be partially recovered with extra sleep over several nights, but full neurological recovery — particularly for REM-stage debt — can take days to weeks. Chronic long-term sleep debt is linked to elevated risk of obesity, diabetes, cardiovascular disease, and reduced life expectancy. 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. Napping after 3 pm can interfere with nighttime sleep for most people by reducing sleep pressure (adenosine build-up).

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. Individual variation exists — some adults genuinely function well on 6 hours, while others need 10. Persistent daytime sleepiness on 7+ hours of sleep may indicate a sleep disorder worth discussing with a healthcare professional.

The circadian rhythm is your body's internal 24-hour clock, regulated primarily by light exposure and the hormone melatonin. It controls when you feel sleepy and alert, body temperature, hormone release, and metabolism. For most people, the optimal sleep window aligns with darkness — typically 10 pm to 6 am or 11 pm to 7 am. Night owls (delayed chronotypes) naturally feel sleepy later, while morning larks (early chronotypes) prefer earlier bedtimes. 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

Related Articles

View all articles
Shift Work and Sleep: Why Night Shifts Fight Your Circadian Rhythm and What Helps

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.

Jun 15, 2026
Chronotypes and Circadian Rhythms: Why Night Owls Can't Just Choose to Be Morning People

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.

Jun 10, 2026
Sleep Debt: Why You Can't Catch Up on Weekends — And What the Science Says

Sleep Debt: Why You Can't Catch Up on Weekends — And What the Science Says

Weekend lie-ins restore how rested you feel — but not the metabolic and cognitive damage from a week of short sleep. Here's how sleep debt accumulates, what it does to your body, and why consistency beats catch-up.

Jun 8, 2026
Sleep Calculator — Find the Best Bedtime & Wake Time for Your Schedule

Sleep Calculator — Find the Best Bedtime & Wake Time for Your Schedule

Learn how sleep cycles work, why waking mid-cycle causes grogginess, and how to use a free sleep calculator to find optimal bedtimes and wake times for refreshed mornings.

Jun 6, 2026