Sleep Calculator: Find Your Optimal Bedtime & Wake Time

Calculate your ideal sleep schedule based on 90-minute sleep cycles, chronotype assessment, and circadian rhythm science. Get personalized recommendations in 60 seconds.

✓ Grounded in research from Huberman Lab, Stanford, NIH, and 13 peer-reviewed studies

Get Your Personalized Sleep Schedule in 60 Seconds

💡 Tip: For the most accurate sunrise/sunset times for your region, you'll be asked to allow location access (optional). This helps personalize recommendations for countries with varying daylight patterns. Your location is stored locally only—never sent to our servers.
8 hours

Most adults need 7-9 hours. Adjust based on how you feel.

Why take this assessment? This 3-minute quiz analyzes your chronotype (morning lark vs. night owl) and caffeine tolerance to personalize your schedule. Your chronotype is genetically influenced and affects optimal sleep timing by 30-90 minutes. Caffeine metabolism varies 40x between individuals—we'll help you find your ideal cutoff time.

The Science of Sleep Optimization

Understanding how sleep works helps you optimize it. Here's the research behind our recommendations.

90-Minute Sleep Cycles Explained

Sleep architecture follows predictable ultradian rhythms. A complete cycle takes approximately 90 minutes (range: 80-120 min) and progresses through:

  • Light Sleep (N1, N2): Transition phase, easy to wake from
  • Deep Sleep (N3): Slow-wave sleep, physical restoration, memory consolidation
  • REM Sleep: Rapid eye movement, dreaming, emotional processing, learning

Deep sleep predominates in early cycles (first 3-4 hours); REM sleep increases toward morning. Waking during deep sleep causes grogginess (sleep inertia); waking at cycle completion feels natural.

Why this matters: Timing sleep in 90-minute increments (6, 7.5, or 9 hours) maximizes complete cycles and minimizes mid-cycle waking.

Sources: NIH Brain Basics: Understanding SleepCarskadon & Dement (2005)Ferrara & De Gennaro (2011)

Understanding Your Chronotype

Chronotype describes your genetically-influenced sleep-wake preference:

  • Morning Larks (20-25%): Wake naturally before 7 AM, peak alertness morning/midday
  • Night Owls (20-25%): Wake naturally after 9 AM, peak alertness evening/night
  • Intermediate (50-60%): Flexible sleep timing, moderate preferences

Chronotype is partly determined by PER3, CLOCK, and other gene variants. It changes across lifespan: children are intermediate, teenagers shift late (delayed phase), adults gradually shift earlier with age.

Why this matters: Fighting your chronotype causes chronic sleep deprivation. Our quiz (based on the validated Morningness-Eveningness Questionnaire) adjusts recommendations by 30-90 minutes to match your biology.

Sources: Horne & Östberg (1976) - Original MEQ StudyJones et al. (2019) - Genome-wide Study

Circadian Rhythm & Light Exposure

Your circadian rhythm is a ~24-hour biological clock regulated by the suprachiasmatic nucleus (SCN) in the hypothalamus. Light is the primary zeitgeber (time cue) that synchronizes your internal clock to the external day-night cycle.

The Phase Response Curve:

  • Morning light (2-3 hrs after waking): Advances your clock → wake earlier naturally
  • Afternoon light: Minimal effect on phase
  • Evening light (2 hrs before bed): Delays your clock → stay up later

Optimal intensity: 2,000-10,000 lux (outdoors on overcast day = ~10,000 lux; bright indoor = ~500 lux). Even 10-15 minutes of morning light has measurable effects.

Sources: Khalsa et al. (2003) - Phase Response CurveWright et al. (2013)Huberman Lab: Master Your Sleep

Phase Shifts: How to Deliberately Adjust Your Schedule

Want to become a morning person? Need to adjust for a new work schedule? Understanding phase shifts lets you intentionally move your circadian clock.

🌅 Phase Advance (Wake Earlier)

Goal: Shift your schedule earlier (e.g., night owl → early bird)

  • Light timing: Get bright light immediately upon waking (even if it's still dark—use bright indoor lights)
  • Evening discipline: Avoid bright light 2-3 hours before current bedtime
  • Incremental shifts: Move wake time earlier by 15-30 minutes every 2-3 days
  • Timeline: Expect 1-2 weeks to shift 60-90 minutes earlier

Example: Currently wake at 8 AM, want to wake at 6:30 AM. Week 1: wake at 7:30 AM + immediate bright light. Week 2: wake at 7:00 AM. Week 3: wake at 6:30 AM. Maintain strict light discipline throughout.

🌙 Phase Delay (Wake Later)

Goal: Shift your schedule later (e.g., for night shift or travel west)

  • Light timing: Get bright light in the evening (2-3 hours before current bedtime)
  • Morning avoidance: Avoid bright light for first 2-3 hours after waking (wear sunglasses if necessary)
  • Incremental shifts: Move bedtime later by 30-60 minutes every 2-3 days
  • Timeline: Easier than phase advances; 3-5 days per hour of shift

Example: Currently sleep 10 PM-6 AM, need to shift to midnight-8 AM for new job. Days 1-3: sleep 10:30 PM-6:30 AM, bright light 7-9 PM. Days 4-6: sleep 11 PM-7 AM, bright light 8-10 PM. Days 7-9: sleep 11:30 PM-7:30 AM. Final: midnight-8 AM.

⚠️ Important Warnings

  • Don't rush: Shifting too fast (>60 min/day) often fails and disrupts sleep quality
  • Consistency matters: Weekend deviations reset progress—stick to new schedule 7 days/week
  • Sleep debt caution: Don't attempt phase shifts while sleep deprived—catch up first
  • Meal timing helps: Eating at your new target times reinforces the shift

Why this works: The SCN responds to light exposure timing with predictable phase responses. Morning light increases cortisol and suppresses evening melatonin release (advance). Evening light delays melatonin onset and pushes circadian phase later (delay). These effects compound over days when applied consistently.

Sources: Khalsa et al. (2003) - Phase Response CurveBurgess et al. (2017) - Circadian Phase ShiftingHuberman Lab: Phase Shifts

Caffeine Timing Strategy

Caffeine is an adenosine receptor antagonist. Adenosine builds up during waking hours, creating sleep pressure. Caffeine blocks this signal, preventing you from feeling tired.

Key pharmacology:

  • Half-life: 5-6 hours (varies by genetics, age, medications)
  • Quarter-life: 10-12 hours (25% still active)
  • Sleep impact: Delays sleep onset, reduces deep sleep even at low doses

Why 8-hour cutoff: Conservative buffer accounts for individual variation. If you sleep at 10:30 PM, last caffeine by 2:30 PM ensures minimal sleep disruption.

Sources: Drake et al. (2013)Clark & Landolt (2017)Huberman Lab: Master Your Sleep

Blue Light & Melatonin

Melatonin (the "sleep hormone") is secreted by the pineal gland in response to darkness. Blue light (450-480 nm wavelength) is particularly effective at suppressing melatonin.

Evening light exposure effects:

  • Bright light (>100 lux): Delays melatonin onset by 30-60 min
  • Blue light from screens: Most potent suppressor per lux
  • Red/amber light: Minimal melatonin suppression

Practical application: Dim lights below 50 lux starting 1-2 hours before bed. Use blue-light filters or amber glasses if screens are necessary.

Sources: Chang et al. (2015)Wood et al. (2013)Huberman Lab: Master Your Sleep

Sleep Inertia: Why You Feel Groggy

Sleep inertia is that grogginess upon waking, lasting 5-30 minutes (sometimes longer). It's caused by waking during deep slow-wave sleep when:

  • Brain activity is at its lowest
  • Transition to wakefulness is incomplete
  • Cognitive performance is temporarily impaired

The solution: Wake at the end of a complete 90-minute cycle when you're naturally in lighter sleep or REM. This is why sleeping 7.5 hours often feels better than 8 hours—you're waking at cycle completion, not mid-cycle.

Sources: Ferrara & De Gennaro (2011)Sleep Foundation

Frequently Asked Questions

For most adults needing 7.5 hours of sleep, the optimal bedtime to wake at 6:00 AM is 10:30 PM. This allows for 5 complete 90-minute sleep cycles. If you need 9 hours, go to bed at 9:00 PM (6 cycles). Use the calculator above for personalized recommendations.

Most adults need 5-6 complete sleep cycles per night (7.5-9 hours). Age, activity level, and individual variation affect this. If you consistently feel refreshed with 4 cycles (6 hours), that may be sufficient for you. Track how you feel and adjust accordingly.

Take our chronotype quiz above to find out. Morning people (early chronotypes) naturally wake before 7 AM and feel alert immediately. Night owls (late chronotypes) prefer waking after 9 AM and peak in the evening. Most people fall somewhere in between. Your chronotype is partly genetic and changes with age.

Grogginess upon waking (sleep inertia) usually means you woke during deep sleep rather than at the end of a cycle. It can also result from insufficient total sleep, inconsistent sleep timing, or sleep disorders. Try adjusting your bedtime in 90-minute increments and maintaining a consistent schedule for 7-14 days.

No. This calculator provides general guidance based on circadian science and sleep architecture research. It is not medical advice and does not diagnose or treat sleep disorders. If you suspect a condition like insomnia or sleep apnea, consult a healthcare provider. Individual sleep needs vary.

Important Disclaimer

Not Medical Advice: This tool provides general guidance based on circadian science. Results are not medical advice and are not a substitute for professional healthcare. Individual sleep needs vary.

Assumptions: We assume a 90-minute average sleep cycle (yours may vary by ±20 minutes). Chronotype assessment is based on a shortened questionnaire; full clinical assessment is more precise.

If You Have Concerns: If you suspect a sleep disorder (chronic insomnia, sleep apnea), consult a healthcare provider. These recommendations assume generally healthy adults without sleep disorders.