Sleep Calculator
When should you sleep to wake up refreshed?
Calculate your optimal bedtime or wake-up time based on natural sleep cycles to wake up refreshed instead of groggy.
—
Send feedback
💡 Share your idea or report a problem
✓ Thanks! We'll take a look.
Learn more
How It Works
The formula, explained simply
Your brain doesn't sleep uniformly throughout the night. Instead, it cycles through distinct phases every 90 minutes like a biological elevator moving between floors. Light sleep acts as the lobby, deep sleep as the basement, and REM sleep as the penthouse where dreams happen. The elevator always returns to the lobby before starting the next trip.
Waking up naturally happens most easily from the lobby phase when your brain activity resembles being awake. Set an alarm for mid-basement, and you'll feel like someone dragged you from unconsciousness. This is why you might feel worse after 8 hours of sleep than after 7.5 hours - you interrupted the elevator between floors.
The calculator works backward from your target wake time through complete 90-minute journeys. Instead of chopping off sleep randomly, it finds natural stopping points where your brain is already preparing to surface. Most people discover their sweet spot is either 6 cycles (9 hours) or 5 cycles (7.5 hours) of actual sleep time.
When To Use This
Right tool, right situation
Use this calculator when you have control over your schedule and can maintain consistent sleep timing for at least a week. The cycle approach works best for people with regular commitments who need to optimize around fixed wake times or bedtimes. It's particularly valuable during schedule transitions like starting a new job or adjusting to daylight saving time.
The calculator proves most helpful for shift workers, students cramming for exams, or anyone trying to maximize alertness with limited sleep opportunities. Parents with newborns can use cycle timing for strategic naps when they can't control nighttime sleep. Business travelers benefit from pre-adjusting their sleep cycles before crossing time zones.
Don't rely on cycle timing if you have diagnosed sleep disorders like sleep apnea, severe insomnia, or take medications that affect sleep architecture. The 90-minute cycle assumes normal sleep progression, which these conditions disrupt. Similarly, avoid rigid cycle timing during illness, high stress periods, or major life changes when your sleep needs naturally fluctuate beyond normal patterns.
Common Mistakes
Why results sometimes look wrong
The biggest mistake is treating sleep like a gas tank that just needs filling to a certain level. People assume 8 hours of sleep guarantees feeling rested, then wonder why they wake up exhausted after hitting that target exactly. The body operates on cycles, not totals, making timing more critical than duration.
Many people sabotage their natural rhythm by checking their phone when they wake up naturally, then forcing themselves back to sleep because it's 'too early.' Your brain often wakes you at the end of a cycle - the exact moment you should get up. Fighting this natural timing and sleeping another hour frequently dumps you into deep sleep, creating the grogginess you tried to avoid.
Another common error is using weekends to 'catch up' on sleep by sleeping in randomly. This shifts your entire cycle timing and makes Monday morning feel like jet lag. Your body clock doesn't understand weekends - it expects consistency. Sleeping in by 3 hours on Saturday is equivalent to flying from New York to California and back every weekend.
The Math
Worked examples and deeper derivation
Sleep cycle timing relies on decades of electroencephalogram studies showing remarkably consistent 90-minute patterns across different populations. The cycle breaks into roughly 25 minutes of light sleep, 45 minutes of deep sleep, and 20 minutes of REM sleep, though individual phases vary in length throughout the night.
The calculation adds your personal fall-asleep time to the target sleep duration, then works backward from your desired wake time. If you need to wake at 7:00 AM and take 15 minutes to fall asleep, the math for 6 cycles becomes: 7:00 AM minus 540 minutes (sleep) minus 15 minutes (transition) equals 10:45 PM bedtime.
Early cycles contain more deep sleep for physical restoration, while later cycles emphasize REM sleep for mental processing. This natural architecture means the first few cycles matter most for feeling rested, explaining why 5 complete cycles often beat 8 hours of fragmented sleep. The timing precision matters because even 15 minutes can shift you from the elevator lobby to the basement.
Expert Unlock
The thing most explanations skip
Sleep researchers have discovered that cycle length varies between 70-120 minutes for different individuals, with 90 minutes being the average. Your personal cycle length stays remarkably consistent throughout your life, which means you can fine-tune this calculator's recommendations by tracking your natural wake times over several weeks. Elite athletes and executives often discover their optimal cycle length through wearable devices and adjust their schedules accordingly for peak performance.
Why do I still feel tired with 8 hours of sleep?
Need something this doesn't cover?
Suggest a tool — we'll build it →