Sleep Calculator

Find the best bedtime or wake-up time based on 90-minute sleep cycles so you wake feeling refreshed, not groggy.

๐Ÿ˜ด Sleep Calculator

Enter your required wake-up time and get the best bedtimes.

Enter your planned bedtime and get the best wake-up times.

Wake-Up Time
Bedtime
Time to Fall Asleep14 min
min
5 min30 min

Recommended bedtimes for your 7:00 AM wake-up:

Recommended wake-up times from your bedtime:

๐Ÿ˜ด What is a Sleep Calculator?

A sleep calculator helps you find the ideal bedtime or wake-up time by aligning your schedule with your natural 90-minute sleep cycles. Each night your brain progresses through a repeating sequence of sleep stages: light NREM sleep, deep slow-wave NREM sleep, and REM (rapid eye movement) sleep. One complete pass through all stages takes approximately 90 minutes. Waking at the end of a cycle, during the lighter NREM Stage 1 or 2 transition, feels natural and energising. Waking mid-cycle, especially during deep Stage 3, causes sleep inertia: grogginess and cognitive fog that can linger for up to an hour.

The calculator addresses a common frustration: setting an alarm for a full 8 hours but still waking up exhausted. Eight hours of sleep spans roughly 5.3 cycles. Waking after 5.3 cycles means being pulled out of deep sleep partway through the sixth cycle. A minor adjustment, going to bed 27 minutes earlier or later to land on a 5-cycle or 6-cycle boundary, can transform how you feel in the morning without adding total sleep time. The same logic applies in reverse: if you know your bedtime, the calculator finds wake times that fall at cycle endpoints.

A common misconception is that more sleep is always better. Oversleeping (9 to 10-plus hours regularly) is associated with higher all-cause mortality in epidemiological studies, likely as a marker of underlying illness rather than a direct cause. The research-backed sweet spot for most adults is 5 to 6 complete cycles per night (7.5 to 9 hours). Another frequent error is treating all hours of sleep as equivalent. Sleep quality varies through the night: the first two cycles are richest in deep slow-wave sleep, which drives physical recovery and immune function; later cycles are dominated by REM sleep, which consolidates memory and regulates emotion. Cutting sleep short by even 90 minutes disproportionately eliminates REM, explaining why chronic short sleepers often struggle with mood and concentration.

This calculator adds a configurable fall-asleep offset (default 14 minutes, the population average for sleep onset latency) to ensure the cycle timing starts from actual sleep, not from when you lie down. Adjusting this to match your personal pattern makes the bedtime and wake-up recommendations more accurate. Use it alongside a consistent daily schedule: research consistently shows that keeping the same wake time every day, including weekends, is the single most effective way to improve sleep quality over time.

๐Ÿ“ Formula

Bedtime  =  Wake Time − (Cycles × 90 min) − Fall-Asleep Offset
Cycles = number of complete 90-minute sleep cycles (typically 4 to 7)
90 min = average duration of one complete sleep cycle (NREM 1 + NREM 2 + NREM 3 + REM)
Fall-Asleep Offset = sleep onset latency (time from lying down to actually falling asleep; default 14 min)
Wake Time formula: Wake Time = Bedtime + Fall-Asleep Offset + (Cycles × 90 min)
Example (wake at 7:00 AM, 5 cycles, 14-min offset): 7:00 AM − 450 min − 14 min = 10:16 PM bedtime
Example (bed at 11:00 PM, 5 cycles, 14-min offset): 11:00 PM + 14 min + 450 min = 6:44 AM wake time

๐Ÿ“– How to Use This Calculator

Steps

1
Choose your mode - Select "I need to wake up at..." to find ideal bedtimes, or "I'm going to bed at..." to find the best wake-up times based on your planned bedtime.
2
Enter your target time - Type the time you need to wake up or plan to go to sleep. The calculator works with any time in 24-hour or 12-hour format.
3
Adjust the fall-asleep offset - Drag the slider to match your personal sleep onset time. The default is 14 minutes. If you usually fall asleep quickly, lower it. If it takes you 25 or 30 minutes, raise it.
4
Click Calculate to see recommended times - Four options appear, one for each cycle count from 4 to 7. The 5-cycle (7.5h) and 6-cycle (9h) options are highlighted as the recommended range for most adults.

๐Ÿ’ก Example Calculations

Example 1 — 7:00 AM Wake-Up (Standard Work Day)

What time should a working adult go to bed to wake refreshed at 7:00 AM?

1
Wake time: 7:00 AM. Fall-asleep offset: 14 minutes. Total time needed: cycles x 90 min + 14 min.
2
5 cycles (7.5h sleep): 7:00 AM − 450 min − 14 min = 10:16 PM. This is the most practical option for most adults.
3
6 cycles (9h sleep): 7:00 AM − 540 min − 14 min = 8:46 PM. Ideal if your schedule allows an earlier bedtime and you need extra recovery.
Recommended bedtimes: 10:16 PM (5 cycles) or 8:46 PM (6 cycles)
Try this example →

Example 2 — 6:30 AM Wake-Up (Early Start)

A nurse with a 6:30 AM hospital shift needs to know the best bedtime.

1
Wake time: 6:30 AM. Fall-asleep offset: 14 min. For 5 cycles: 6:30 AM − 464 min (450 + 14) = 9:46 PM.
2
For 4 cycles (6h sleep, minimum): 6:30 AM − 374 min (360 + 14) = 12:16 AM. This is a last-resort option for a late night, but not sustainable.
3
Best advice: aim for the 9:46 PM bedtime (5 cycles, 7.5h) on work nights. Prioritising cycle-aligned sleep over squeezing in an extra hour of evening time reduces fatigue significantly on shift work.
Recommended bedtime: 9:46 PM for 7.5 hours sleep
Try this example →

Example 3 — 11:30 PM Bedtime (Late Night)

A student goes to bed at 11:30 PM. What are the best wake-up times?

1
Bedtime: 11:30 PM. Fall-asleep offset: 14 min. Actual sleep starts at 11:44 PM.
2
5 cycles: 11:44 PM + 450 min = 7:14 AM. This is the recommended wake target for this bedtime.
3
6 cycles: 11:44 PM + 540 min = 8:44 AM. Good for a rest day or weekend if no early commitments.
Recommended wake times: 7:14 AM (5 cycles) or 8:44 AM (6 cycles)
Try this example →

โ“ Frequently Asked Questions

How long is a sleep cycle?+
One complete sleep cycle lasts approximately 90 minutes for adults. It includes NREM Stage 1 (5 to 10 minutes, drowsiness), NREM Stage 2 (20 minutes, light sleep, body temperature drops, heart rate slows), NREM Stage 3 (20 to 40 minutes, deep slow-wave sleep), and REM sleep (10 to 25 minutes early in the night, increasing with later cycles). Early cycles are shorter and deeper; later cycles are longer and richer in REM.
Why do I wake up tired after 8 hours of sleep?+
Eight hours of sleep spans approximately 5.3 cycles. If your alarm fires mid-cycle, particularly during deep NREM Stage 3, you experience sleep inertia: grogginess and reduced performance that lasts 15 to 60 minutes. Adjusting your bedtime or wake time by 15 to 30 minutes to land on a complete cycle boundary can solve this without adding total sleep time. Use the Sleep Calculator to find your optimal timing.
How many sleep cycles do I need per night?+
Most adults need 5 to 6 complete cycles per night, equating to 7.5 to 9 hours of sleep. The National Sleep Foundation recommends 7 to 9 hours for adults aged 18 to 64. Teenagers need 8 to 10 hours (5 to 7 cycles). Older adults (65-plus) typically need 7 to 8 hours (4 to 5 cycles). Consistently sleeping fewer than 4 cycles is associated with impaired immune function and metabolic disruption.
What is sleep inertia and how long does it last?+
Sleep inertia is the disorientation and impaired performance felt immediately after waking from deep NREM Stage 3 sleep. It typically clears within 15 to 30 minutes but can last up to 90 minutes in cases of severe sleep deprivation. For people in safety-critical roles (pilots, surgeons, emergency responders), sleep inertia is a documented performance and safety risk. Timing your alarm to the end of a sleep cycle is the most effective mitigation without medication.
What is sleep onset latency and why is the default 14 minutes?+
Sleep onset latency (SOL) is the time from lying down in bed to actually falling asleep. The average SOL for healthy adults is 10 to 20 minutes; 14 minutes is the midpoint commonly cited in sleep research. SOL under 5 minutes indicates severe sleep deprivation. SOL over 30 minutes may indicate sleep onset insomnia or excessive stimulation near bedtime. Adjust the calculator's offset to your own typical SOL for more accurate bedtime targets.
Does a 20-minute nap help if I miss a full cycle?+
Yes. A 20-minute power nap (set alarm for 25 minutes to account for sleep onset) ends before you enter deep Stage 3 sleep, which begins around the 20 to 25-minute mark. This prevents sleep inertia and restores alertness for 2 to 3 hours. A 90-minute nap completes one full cycle, including some REM, and is more restorative but requires more time and produces more post-nap grogginess as the body transitions out of a full cycle. Avoid naps after 3 PM as they can delay evening sleep onset.
What is the difference between REM sleep and deep sleep?+
Deep sleep (NREM Stage 3, also called slow-wave sleep) is physically restorative: growth hormone is released, muscles repair, the immune system strengthens, and the glymphatic system clears brain waste products. REM sleep is cognitively restorative: the brain processes and consolidates declarative memories, regulates emotional responses, and supports creativity. Both stages are essential. Deep sleep dominates the first half of the night; REM dominates the second half, which is why sleeping only 5 or 6 hours disproportionately cuts REM.
What time should I stop drinking caffeine?+
Caffeine has a half-life of 5 to 6 hours in most adults. For a 10:30 PM bedtime, stop caffeine by 2:30 to 3:30 PM. For a 9:00 PM bedtime, a 1:00 PM cutoff is safer. Older adults and those on medications that inhibit CYP1A2 (the enzyme that metabolises caffeine) may need a 10-hour buffer. Even decaf coffee contains 15 to 30 mg of caffeine per cup, enough to affect sensitive individuals.
How does alcohol affect sleep cycles?+
Alcohol initially increases deep NREM sleep in the first half of the night but suppresses REM throughout. As the liver metabolises alcohol in the second half of the night, sleep becomes fragmented, REM rebounds, and early-morning waking is common. The net result is reduced sleep quality despite potentially falling asleep faster. A standard drink (14g of pure alcohol) takes approximately one hour to metabolise. For alcohol-free sleep at 10:30 PM, finish drinking by 7:30 PM.
Should I keep the same sleep schedule on weekends?+
Yes. Sleep research consistently shows that a consistent wake time (within 30 minutes every day) is the single most effective way to stabilise your circadian rhythm and improve sleep quality. Sleeping in significantly on weekends (social jetlag) resets your biological clock in a pattern similar to traveling two time zones, making Monday mornings feel like waking in a new time zone every week. Using the calculator to find a consistent bedtime based on a fixed wake time and then applying it daily produces the best long-term results.
Can children and teenagers use this sleep cycle calculator?+
Yes. The 90-minute cycle length applies across all ages from toddlers onward. However, total sleep needs differ: teenagers (14 to 17) need 8 to 10 hours (5 to 7 cycles), school-age children (6 to 13) need 9 to 11 hours (6 to 7 cycles), and preschoolers (3 to 5) need 10 to 13 hours including naps. Teenagers also have a biologically later circadian phase and naturally feel alert later at night, making early school start times a documented public health concern according to the American Academy of Pediatrics.