Calculate the best times to go to sleep or wake up based on 90-minute sleep cycles. Waking at the end of a complete cycle helps you feel more rested. Enter your wake time or bedtime to see recommended schedules.
Human sleep occurs in cycles of roughly 90 minutes each, progressing through several stages: light sleep (NREM stages 1 and 2), deep sleep (NREM stage 3), and REM (rapid eye movement) sleep where most dreaming occurs. A full night's sleep typically includes 4–6 complete cycles (6–9 hours). Waking up at the end of a cycle — during light sleep — produces the refreshed feeling of a good night's rest. Waking up mid-cycle, especially during deep sleep, produces grogginess (sleep inertia) that can persist for 30+ minutes.
The sleep calculator leverages this cyclical structure. If you need to wake at a specific time, the calculator works backward in 90-minute increments to find optimal bedtimes that land your wake time at the end of a cycle. If you plan to sleep at a specific time, it works forward to suggest wake times. The result: schedules that aim for 4, 5, or 6 complete cycles of sleep, with the natural buffer of 15 minutes to fall asleep included.
This is a planning tool, not a sleep optimization guarantee. Individual cycle lengths vary (80–100 minutes is typical range), cycles get longer toward morning (more REM, longer cycles), and external factors (caffeine, alcohol, blue light, stress) can disrupt the structure. The "90-minute rule" works as a general heuristic and produces better wake-up experiences for most people than arbitrary alarm settings, but it's not a precise science. For chronic sleep issues, sleep tracking apps and sleep medicine specialists provide better diagnosis than calculator-based approaches.
Wake at 7:00 AM. Falls asleep in 15 minutes. Bedtime options: 4 cycles (6 hours): 12:45 AM bedtime 5 cycles (7.5 hours): 11:15 PM bedtime 6 cycles (9 hours): 9:45 PM bedtime For most working adults, 11:15 PM bedtime allowing for 7.5 hours of sleep is the practical target. Earlier bedtime (9:45 PM for 9 hours) is ideal for recovery from intense training or stress periods.
Night shift worker, planning to wake at 4:00 PM for an evening shift. Bedtime options: 5 cycles (7.5 hours): 8:15 AM bedtime 6 cycles (9 hours): 6:45 AM bedtime Shift workers face circadian challenges — sleeping during natural daylight hours requires room darkening and noise mitigation. The cycle math is the same; the implementation is harder. Consistency in sleep schedule even on days off helps with adaptation.
Wake at 6:00 AM. Average 45 minutes to fall asleep. Bedtime for 5 cycles (7.5 hours + 45 min fall asleep buffer): 6:00 AM − 7h 30min − 45min = 9:45 PM bedtime For someone with sleep onset issues, the fall-asleep buffer significantly extends required bedtime. Sleep hygiene practices that reduce fall-asleep time (consistent schedule, no blue light 1 hour before bed, cool room, no caffeine after noon, no alcohol within 3 hours of bed) often help more than recalculating wake-up math. If insomnia persists, consult a sleep medicine specialist. Chronic insomnia (greater than 3 months) is a medical condition with established treatments (CBT-I — Cognitive Behavioral Therapy for Insomnia).
Use this calculator when setting up a new sleep schedule, recovering from sleep disruption (jet lag, illness, life events), preparing for an unusually early or late wake-up, or experimenting with optimal sleep duration for personal performance.
It's most useful as a planning aid for consistency. Setting a "bedtime alarm" or "wind-down alarm" based on the calculator's suggestion helps build the habit of consistent sleep timing. Inconsistent bedtimes are one of the most common contributors to sleep quality issues — the calculator helps eliminate the "I'll just sleep when I'm tired" pattern.
For chronic sleep issues (insomnia, fragmented sleep, persistent grogginess, snoring with daytime fatigue), this calculator is insufficient. Consult a sleep medicine specialist. Sleep apnea, restless leg syndrome, circadian rhythm disorders, and insomnia all have specific evidence-based treatments that calendar-based scheduling can't address.
Pair this with the BMR/calorie calculators (since sleep affects metabolic rate and appetite regulation), the target heart rate calculator (since sleep affects recovery and training capacity), and general health-tracking tools.
A few sleep optimization principles beyond the calculator:
1. **Consistency beats duration.** Sleeping 7 hours regularly is better than alternating between 5 and 9 hours. Your circadian rhythm needs predictability.
2. **Light exposure matters.** Morning sunlight (within 30 minutes of waking) anchors circadian rhythm. Avoiding bright screens (especially blue light) 1–2 hours before bed helps melatonin production.
3. **Caffeine has a long half-life.** Caffeine's half-life is about 5 hours. A 2 PM coffee still has 25% of its caffeine in your system at midnight. For consistent good sleep, cut off caffeine by noon.
4. **Alcohol disrupts sleep architecture.** Even modest alcohol within 3 hours of bed reduces REM sleep and increases mid-sleep waking. Sleep often feels "good" subjectively after drinking but is qualitatively worse.
5. **Cool, dark, quiet room.** Optimal sleep environment is 60–67°F, complete darkness (or sleep mask), and minimal noise (or earplugs/white noise).
6. **Bed for sleep and sex only.** Reading, working, or scrolling in bed weakens the bed-equals-sleep association. If you can't sleep, get up and do something boring elsewhere; return when sleepy.
7. **Naps are double-edged.** Short naps (10–20 minutes) before 3 PM can boost alertness without affecting nighttime sleep. Long naps (45+ minutes) or late naps often disrupt nighttime sleep.
Calculate daily calorie needs based on age, weight, height, and activity level.
Calculate your Body Mass Index from height and weight.
Calculate your recommended daily water intake.
Calculate BMI for children with age and sex percentile interpretation.
Calculate your ideal keto macros with high fat and low carb ratios.
Calculate recommended weight gain by trimester during pregnancy.
Best Time
9:45 PM
6 cycles (9h)
Quality
Excellent
Recommendation
Aim to fall asleep by 9:45 PM for 6 full sleep cycles (9 hours of sleep).
| Time | Cycles | Hours | Quality |
|---|---|---|---|
| 9:45 PM | 6 | 9 | Excellent |
| 11:15 PM | 5 | 7.5 | Excellent |
| 12:45 AM | 4 | 6 | Good |
| 2:15 AM | 3 | 4.5 | Fair |