Sleep Cycle Calculator
Find your perfect bedtime and wake-up time based on natural sleep cycles.
I want to wake up at:
Recommended bedtimes
💡 Tip: Try to wake up at the end of a sleep cycle to feel more refreshed. Learn why ↓
Sleep Cycle Timeline
Understanding Sleep Cycles
Sleep is not a single, uniform state of unconsciousness — it is a highly active, structured process that unfolds in repeating cycles throughout the night. Each cycle lasts approximately 90 minutes and moves through four distinct stages: two stages of light sleep, one stage of deep sleep, and a final stage of REM (rapid eye movement) sleep. Most adults complete four to six of these cycles per night, and each one serves a different, essential purpose for your brain and body.
Stage 1 — Light Sleep (N1): This is the transitional phase between wakefulness and sleep. It typically lasts just one to seven minutes and is the stage you can be most easily roused from. Your muscles begin to relax, your heart rate slows, and your brain produces theta waves. If you have ever felt a sudden jerk or falling sensation as you drift off, that is called a hypnic jerk and it occurs in this stage.
Stage 2 — Light Sleep (N2): You spend more time in this stage than any other — roughly 45–55% of your total sleep time. Body temperature drops, breathing becomes more regular, and the brain produces bursts of rapid activity called sleep spindles, which are thought to play a role in memory consolidation. Even though this is technically "light sleep," it's genuinely restorative.
Stage 3 — Deep Sleep (N3): Also called slow-wave sleep, this is the most physically restorative stage. Growth hormone is released, tissue repairs occur, and your immune system strengthens. Your brain produces slow delta waves, and it is very difficult to wake someone from this stage. Waking abruptly during deep sleep is the primary cause of sleep inertia — that heavy, disoriented grogginess that can linger for up to 30 minutes.
Stage 4 — REM Sleep: REM sleep is when most vivid dreaming occurs. Your brain becomes almost as active as when you are awake, processing emotions, consolidating memories, and supporting creative thinking. Your body is temporarily paralyzed to prevent acting out dreams. REM episodes grow longer with each successive cycle — the first cycle might have only 10 minutes of REM, while the final cycle before waking can include 45–60 minutes.
A crucial pattern to understand: sleep cycles in the first half of the night contain more deep sleep (N3), while cycles in the second half are dominated by REM sleep. This is why cutting your sleep short by even 90 minutes can disproportionately reduce REM sleep — depriving your brain of the emotional regulation and memory processing it depends on.
Waking at the end of a complete cycle — during the lightest phase of sleep — is the key to feeling naturally alert. This is exactly the principle behind the Sleep Cycle Calculator: align your alarm to a natural waking point, and you will notice the difference.
How the Sleep Calculator Works
The Sleep Cycle Calculator uses a simple but powerful formula: it calculates optimal sleep and wake times by counting backward or forward in 90-minute intervals, then adding a "time to fall asleep" buffer to account for the fact that you don't fall asleep the moment your head hits the pillow.
If you set a wake-up time (e.g., 7:00 AM), the calculator counts backward in 90-minute steps, subtracts your fall-asleep time, and shows you the bedtimes that would let you complete 3, 4, 5, or 6 full cycles. For example, with a 15-minute fall-asleep estimate and a 7:00 AM alarm, a 5-cycle night means you should be in bed by 11:45 PM.
If you set a bedtime (e.g., 11:00 PM), the calculator adds your fall-asleep buffer and then counts forward in 90-minute steps to show you the wake times that end a complete cycle.
Go to Bed Now mode uses the current time and updates live, so you always see the optimal times based on right now — useful for those nights when you're already in bed scrolling your phone.
The fall-asleep time (sleep onset latency) defaults to 15 minutes — a reasonable average for healthy adults. Studies suggest most people fall asleep within 10–20 minutes. If you tend to fall asleep the moment you lie down, reduce the slider. If you often lie awake for 30 minutes or more, increase it for more accurate results.
Note that 90 minutes is an average — individual cycles can range from 80 to 120 minutes. Factors like age, fitness level, alcohol consumption, and stress can all shift your cycle length. The calculator gives you a reliable starting point; listen to your body and adjust over time.
Sleep Recommendations by Age
The CDC and National Sleep Foundation recommend different sleep durations across life stages. These guidelines reflect the varying demands of growth, brain development, and physical recovery at different ages. The table below shows recommended hours alongside the corresponding number of 90-minute sleep cycles.
| Age Group | Recommended Sleep | Typical Cycles |
|---|---|---|
| Newborns (0–3 months) | 14–17 hours | 9–11 |
| Infants (4–11 months) | 12–15 hours | 8–10 |
| Toddlers (1–2 years) | 11–14 hours | 7–9 |
| Preschoolers (3–5 years) | 10–13 hours | 7–8 |
| School-age (6–12 years) | 9–12 hours | 6–8 |
| Teenagers (13–18 years) | 8–10 hours | 5–7 |
| Adults (18–64 years) | 7–9 hours | 5–6 |
| Older Adults (65+) | 7–8 hours | 5–6 |
Source: CDC Sleep and Sleep Disorders guidelines; National Sleep Foundation — How Much Sleep Do You Really Need?. Individual needs vary — athletes, people recovering from illness, and those under significant stress may need more sleep than these ranges suggest.
Tips to Fall Asleep Faster
Knowing the right bedtime is only half the equation — actually falling asleep when you get there is the other half. If your sleep onset latency is consistently over 30 minutes, or if you lie awake worrying about tomorrow, these evidence-backed strategies can help shorten that gap.
Keep a consistent sleep schedule
Your circadian rhythm — your body's internal clock — runs on a roughly 24-hour cycle and is strongly cued by light and behavior. Going to bed and waking up at the same time every day, including weekends, is one of the most effective things you can do for sleep quality. Within a few weeks, you'll find yourself naturally becoming drowsy at your target bedtime without an alarm.
Optimize your sleep environment
Your bedroom should be cool (16–19°C / 60–67°F), dark, and quiet. Body temperature naturally drops as you fall asleep, and a cool room supports this process. Use blackout curtains or a sleep mask to block light — even small amounts of light can suppress melatonin production. White noise machines or earplugs can help if noise is an issue.
Reduce screen exposure before bed
Blue light emitted by phones, tablets, and laptops suppresses melatonin production by up to 50% and can delay your internal clock by 1–3 hours. Try putting screens away at least 30–60 minutes before your target bedtime. If you must use devices, enable night mode or wear blue-light-blocking glasses. Reading a physical book is a great alternative — it's relaxing without the stimulation of social media or video.
Watch your caffeine and alcohol intake
Caffeine has a half-life of 5–7 hours, meaning half of a 3 PM coffee is still active in your system at 10 PM. For sensitive individuals, cutting off caffeine by noon can make a significant difference. Alcohol is equally deceptive — while it may make you feel drowsy initially, it fragments sleep in the second half of the night, suppresses REM sleep, and causes early waking. Avoiding alcohol within three hours of bedtime is a reasonable guideline.
Build a wind-down routine
Your nervous system needs time to shift from the alertness of daytime to the calm required for sleep. A 20–30 minute wind-down routine signals to your brain that sleep is coming. This could include a warm shower or bath (the subsequent drop in body temperature triggers drowsiness), light stretching or yoga, journaling to clear your mind of tomorrow's tasks, or listening to calm music or a podcast at low volume.
Try the 4-7-8 breathing technique
Developed by Dr. Andrew Weil, this technique activates the parasympathetic nervous system and can noticeably reduce the time it takes to fall asleep. Inhale quietly through your nose for 4 seconds, hold your breath for 7 seconds, then exhale completely through your mouth for 8 seconds. Repeat 4 cycles. The extended exhale triggers a relaxation response and lowers heart rate within minutes.
Exercise regularly — but time it right
Regular aerobic exercise is one of the most well-studied sleep aids. It deepens slow-wave sleep, reduces the time it takes to fall asleep, and can help with conditions like insomnia and sleep apnea. However, vigorous exercise within 1–2 hours of bedtime can be stimulating for some people, raising core body temperature and releasing adrenaline. Morning or afternoon workouts tend to have the most positive effect on nighttime sleep.
Avoid lying awake in bed
If you've been lying awake for more than 20 minutes, get up and do something calm in dim light — read, stretch, or write — until you feel genuinely sleepy. This preserves the mental association between your bed and sleep (a technique called stimulus control therapy). Lying awake and frustrated in bed trains your brain to associate the bed with wakefulness, making the problem worse over time.