Sleep Calculator
Cycle-based bedtimes & wake-up times graded for your age, with a night-map, nap optimizer, and PDF sleep plan.
Most people cycle every ~90 min; 80โ100 min is the normal range.
๐ฏ Adult (18โ64): aim for 7โ9 hours (National Sleep Foundation).
Best bedtime for waking at 6:30 AM
10:45 PM
5 full cycles ยท 7.5 h of sleep + 15 min to drift off
๐ Your night, cycle by cycle (5 cycles ยท 7.5 h)
Deep sleep dominates the first cycles; REM (dreaming, memory consolidation) grows toward morning. Waking at the top of a curve feels easy โ mid-valley feels like a truck hit you.
โก Nap optimizer
Ideal window
12:30 PM โ 2:30 PM
6โ8 h after waking โ the natural afternoon dip
Power nap
20 min
alertness boost, zero grogginess
Full-cycle nap
90 min
memory + creativity, wake at cycle end
Keep naps to ~20 min (power nap) or a full 90-min cycle โ anything between wakes you from deep sleep, groggy.
โ ๏ธ Educational estimates based on average cycle lengths. Persistent sleep problems deserve a doctor's attention, not just better timing.
๐ดWake up at the top of a cycle, not the bottom
Sleep isn't one flat block โ it moves through light, deep, and REM stages in roughly 90-minute cycles. Wake at the end of a cycle and you feel sharp; wake mid-cycle, from deep sleep, and even nine hours can feel terrible. This calculator works in whole cycles, both directions: tell it when you wake up and it finds your bedtimes, or tell it when you're going to bed and it finds the smartest alarm times โ graded against the recommended range for your age, with a night-map of your cycles and an ideal nap window.
๐Everything you'd want to know
- Both directions โ bedtimes from a wake-up time, or wake-up times from a bedtime, plus a one-tap 'if I sleep now' mode.
- Every option graded (best / good / too short) against National Sleep Foundation ranges for your age.
- Adjustable cycle length (80โ100 min) and time-to-fall-asleep buffer โ because nobody sleeps the moment their head lands.
- A visual night-map (hypnogram) showing how deep sleep front-loads the night and REM grows toward morning.
- A nap optimizer โ the ideal 6โ8-hours-after-waking window, and why naps should be 20 or 90 minutes, never 45.
- Downloadable branded PDF sleep plan with every option.
๐งฎThe science
Deep sleep (physical recovery, growth hormone) dominates the first half of the night; REM (memory consolidation, learning โ the student's best friend) dominates the second half. That's why cutting a night short costs disproportionate REM, and why all-nighters before exams backfire: the material you crammed never gets consolidated.
๐กSleep hygiene that actually works
- Consistency beats duration โ the same bedtime and wake time, even on weekends, trains your body clock.
- Screens off (or night mode + distance) 30โ60 min before bed; blue light delays melatonin.
- Keep the room cool (18โ20 ยฐC), dark, and quiet โ the three biggest physical levers.
- Caffeine has a ~6-hour half-life: that 4 PM coffee is still half-active at 10 PM.
- If you can't sleep after ~20 minutes, get up and do something boring in dim light โ don't train your brain that bed = scrolling.
๐ก Frequently Asked Questions
Why 90-minute sleep cycles?+
A full pass through light sleep, deep sleep, and REM takes about 90 minutes on average (80โ100 min varies by person). Waking at the boundary between cycles โ when you're nearly awake anyway โ feels dramatically easier than being pulled out of deep sleep mid-cycle.
How much sleep do students need?+
Teens (14โ17) need 8โ10 hours and adults 7โ9 hours per the National Sleep Foundation. In cycle terms that's 5โ6 full cycles for most students. During exams, protect at least 5 cycles โ sleep is when studied material is consolidated into memory.
Is 6 hours of sleep enough?+
For almost everyone, no โ 6 hours (4 cycles) is below the recommended range for every age group, and chronic short sleep measurably hurts attention, mood, and memory. It's fine as an occasional fallback; as a routine it accumulates sleep debt.
How long should a nap be?+
Either ~20 minutes (a power nap โ you stay in light sleep and wake refreshed) or a full 90-minute cycle. The worst length is 30โ60 minutes, which drops you into deep sleep and wakes you groggy. Best window: 6โ8 hours after you woke up.
What if I can't fall asleep in 15 minutes?+
Adjust the time-to-fall-asleep buffer in the calculator to match your reality โ 20 or 30 minutes is common. If it regularly takes 45+ minutes, look at caffeine timing, evening screens, and stress, and consider talking to a doctor.