🌙

Sleep Smarter,
Wake Up Better

Find your perfect bedtime or wake-up time based on 90-minute sleep cycles — the science of waking up without grogginess.

4 sleep cycle options Sleep right now mode Nap calculator Age-based guide No sign-up

Enter the time you need to wake up. We'll show you the best bedtimes to hit complete sleep cycles.

Go to bed at one of these times
Recommended sleep by age — National Sleep Foundation
Age groupHours per nightCycles
Newborn (0–3 mo)14–17 hrs9–11
Infant (4–11 mo)12–15 hrs8–10
Toddler (1–2 yr)11–14 hrs7–9
Pre-school (3–5 yr)10–13 hrs6–8
School age (6–13 yr)9–11 hrs6–7
Teenager (14–17 yr)8–10 hrs5–6+
Young adult (18–25 yr)7–9 hrs5–6
Adult (26–64 yr)7–9 hrs ← Most common5–6
Older adult (65+ yr)7–8 hrs4–5
Based on National Sleep Foundation guidelines
90-minute cycle + 14-minute sleep onset formula
Runs entirely in your browser — no data sent anywhere
Advertisement (728×90)

How this sleep calculator works

The calculator uses a well-established formula based on the average 90-minute sleep cycle and a sleep onset latency (the time it takes to fall asleep) of 14 minutes:

Bedtime = Wake-up time − (N × 90 min) − 14 min
Where N = number of complete sleep cycles (4, 5, or 6 for adults)

The calculator shows four results simultaneously — one for each of 4, 5, 6, and 7 sleep cycles — rather than asking you to pick in advance. This lets you choose the option that best fits your schedule while still landing on a complete cycle boundary, where sleep is naturally lightest and easiest to wake from.

The "best" recommendation defaults to 5 complete cycles (7.5 hours) — the midpoint of the 7–9 hour range recommended for adults by the National Sleep Foundation, and the cycle count most associated with optimal daytime alertness in sleep research.

The 90-minute sleep cycle — what happens while you sleep

Sleep is not a single uniform state. Your brain and body cycle through four distinct stages approximately every 90 minutes throughout the night. Understanding these stages explains why when you wake up matters as much as how long you sleep.

One complete 90-minute sleep cycle

N1
N2
N3
REM
N1 Light (~5–10 min)
N2 Baseline (~20 min)
N3 Deep sleep (~20–40 min)
REM (~20–25 min)
N1 · Stage 1
Light sleep
~5–10 minutes
The transition from wakefulness to sleep. Muscle activity slows. Easy to wake from. This is the stage you should aim to be in when your alarm goes off.
N2 · Stage 2
Baseline sleep
~20 minutes
Heart rate slows. Body temperature drops. Sleep spindles occur — brief bursts of brain activity that help consolidate memories and block out external stimuli.
N3 · Stage 3
Deep sleep
~20–40 minutes
The most physically restorative stage. Growth hormone is released. Immune function is strengthened. Tissue is repaired. Very hard to wake from — waking here causes maximum grogginess.
REM · Stage 4
REM sleep
~20–25 minutes
Rapid Eye Movement sleep. Brain activity resembles wakefulness. Dreams occur. Critical for emotional regulation, learning, and memory consolidation. Increases in later cycles.
Key insight: Early-night cycles (cycles 1–3) contain more N3 deep sleep. Later cycles (4–6) contain more REM sleep. This means if you cut your sleep short, you lose disproportionately more REM sleep — the stage most critical for cognitive performance and mood — which is why even mild sleep deprivation impairs mental function noticeably.

Sleep inertia — why timing your wake-up matters

Sleep inertia is the grogginess, disorientation, and impaired performance that occurs immediately after waking. It is caused by one thing: being pulled out of deep sleep (N3) before the cycle is complete. Sleep inertia can last from 15 minutes to over 90 minutes depending on which sleep stage you were in at the moment of waking.

By timing your alarm to the end of a complete 90-minute cycle — when you are naturally in N1 light sleep — you wake at the point of easiest transition. The difference between waking at the right point and the wrong point is often the difference between feeling immediately alert and feeling like you need three coffees to function.

This is why 7.5 hours (5 complete cycles) often feels better than 8 hours that includes waking mid-cycle. Duration alone doesn't predict how you'll feel upon waking — timing does.

Nap calculator — the science of the perfect nap

Not all naps are equal. The effectiveness of a nap depends almost entirely on its length — specifically, whether it cuts a sleep cycle short or allows a complete one.

Nap lengthWhat happensFeel on wakingBest for
10–20 min (power nap)Stays in N1–N2; no deep sleep entered Alert immediatelyQuick alertness boost; workday nap
30 minEnters N2, sometimes N3; wakes mid-cycleOften groggy (sleep inertia)Generally not recommended
60 minEnters N3 deep sleep; may not complete cycleModerate grogginessMemory consolidation if you can allow wake time
90 min (full cycle)Completes one full cycle including REM Refreshed, minimal grogginessShift workers; catching up; performance recovery
The 3 PM rule: Avoid napping after 3 PM. Your circadian rhythm naturally produces a sleep pressure dip in early afternoon (around 1–3 PM) — this is the ideal nap window. Napping later than 3 PM reduces homeostatic sleep pressure and delays your night-time sleep onset, making it harder to fall asleep at your usual bedtime.

Evidence-based sleep improvement tips

Consistency is the single most important habit

Going to bed and waking up at the same time every day — including weekends — is more impactful than any other sleep intervention. Your circadian rhythm is a 24-hour biological clock that regulates the release of cortisol (wakefulness) and melatonin (sleepiness). Irregular sleep schedules disrupt this rhythm, making it harder to fall asleep, harder to wake up, and reducing the quality of sleep in between.

Light exposure — the most powerful circadian signal

Bright light in the morning (especially sunlight) is the strongest signal your circadian clock receives. It triggers cortisol release, suppresses residual melatonin, and anchors your wake time. Getting 10–20 minutes of morning light within an hour of waking dramatically improves daytime alertness and makes it easier to fall asleep at the correct time that night.

Conversely, blue light from screens (phones, tablets, laptops, TVs) in the 2 hours before bed suppresses melatonin production, delaying sleep onset by 30–60 minutes. Use night mode, blue-light blocking glasses, or — most effectively — simply put screens away at least 30 minutes before bed.

Temperature

Core body temperature must drop 1–2°C (2–3°F) to initiate and maintain sleep. The ideal bedroom temperature for most adults is 15–19°C (60–67°F). A cool bedroom accelerates this core temperature drop. Taking a warm bath 1–2 hours before bed is counterintuitively effective — the warming draws blood to the surface, and the subsequent cooling once you get out accelerates the core temperature drop that triggers sleep onset.

Caffeine's hidden half-life

Caffeine has a half-life of approximately 5–6 hours in most adults, meaning a 200mg coffee at 3 PM still has ~100mg active in your system at 8–9 PM. Caffeine works by blocking adenosine receptors — adenosine is the chemical that builds sleep pressure throughout the day. Caffeine doesn't reduce your need for sleep; it just delays you feeling it. The sleep pressure accumulated during the day still needs to be discharged, but caffeine delays and compresses it, reducing sleep quality even when it doesn't delay sleep onset. Most sleep researchers recommend stopping caffeine consumption by 2 PM for people who sleep around 10–11 PM.

Frequently asked questions

How does a sleep calculator work?+
The calculator uses the average 90-minute sleep cycle and a 14-minute sleep onset latency to calculate optimal bedtimes or wake-up times. The formula is: Bedtime = Wake-up time − (N × 90 minutes) − 14 minutes, where N is the number of complete sleep cycles. By timing your alarm to the end of a complete cycle — when sleep is naturally lightest — you reduce sleep inertia (grogginess) and wake up feeling more alert.
How many hours of sleep do adults need?+
The National Sleep Foundation recommends 7–9 hours per night for adults aged 18–64, and 7–8 hours for adults 65 and older. In sleep cycle terms, this is 5–6 complete cycles of 90 minutes. Most adults feel best with 5 complete cycles (7.5 hours). Individual variation exists — some people genuinely function well on 6 hours (4 cycles) while others need 9 (6 cycles). Consistently needing more than 9 hours may indicate an underlying health issue worth discussing with a doctor.
What is sleep inertia?+
Sleep inertia is the grogginess, cognitive impairment, and disorientation that occurs immediately after waking. It is caused by being woken from deep sleep (N3 stage) mid-cycle. Sleep inertia can last 15 minutes to over 90 minutes. By waking at the end of a complete 90-minute cycle — when you are in N1 light sleep — this calculator helps minimise sleep inertia. This is why 7.5 hours (5 cycles) often feels more refreshing than 8 hours that cuts a cycle short.
Is 6 hours of sleep enough?+
Six hours is below the recommended 7–9 hours for adults and is associated with impaired cognitive function, reduced immune response, and increased long-term health risks when maintained chronically. However, if you must sleep 6 hours, completing 4 full cycles (exactly 6 hours after 14 minutes of sleep onset latency) will feel better than sleeping 6.5 hours and waking mid-cycle. Use cycle timing to maximise whatever sleep window you have, but prioritise extending sleep duration where possible.
What is the best length for a nap?+
The two best nap lengths are 10–20 minutes (a "power nap" that stays in N1–N2 sleep and causes no grogginess) and 90 minutes (one complete sleep cycle including REM, with minimal grogginess). Avoid 30-minute naps — they typically enter N3 deep sleep but don't complete the cycle, causing significant sleep inertia. The best time to nap is early afternoon (1–3 PM). Avoid napping after 3 PM as it disrupts night-time sleep onset.
Can you catch up on lost sleep at weekends?+
Short-term sleep debt (a few nights of insufficient sleep) can be partially recovered with 1–2 nights of longer sleep, though recovery is not one-to-one. Chronic sleep debt (weeks or months of insufficient sleep) causes cumulative damage to metabolism, immune function, and cognitive ability that extra weekend sleep cannot fully reverse. Research also shows that irregular sleep schedules — sleeping significantly later on weekends — disrupt the circadian rhythm in a phenomenon sometimes called "social jet lag," which independently impairs daytime function regardless of total sleep hours.
Why do I wake up before my alarm and feel fine?+
When you wake spontaneously before your alarm feeling refreshed, you have almost certainly just completed a sleep cycle naturally and your body has transitioned into light sleep (N1). This is your circadian rhythm and sleep architecture working correctly. It often happens when you are well-rested and not accumulating sleep debt. The alarm then becomes disruptive because it may pull you back into a new cycle that you then have to be woken from mid-way.
Advertisement (728×90)