Sleep Calculator

    Sleep Calculator: When to Go to Bed Based on Your Wake-Up Time

    By Sleep Calculator

    11 min read
    Last updated: January 2026

    Reviewed for medical accuracy by sleep health researchers. (What does this mean?)

    "What time should I go to bed?" seems like a simple question—but the answer depends on more than just when your alarm is set. The real question is: at what time can you fall asleep and wake up at the END of a sleep cycle rather than the middle? This guide shows you exactly how to calculate your optimal bedtime for any wake-up time.

    The Quick Answer: Bedtime Calculator

    Find your wake-up time and choose your ideal bedtime:

    Wake Up at 5:00 AM

    • 9 hours (6 cycles): Go to bed at 7:45 PM
    • 7.5 hours (5 cycles): Go to bed at 9:15 PM
    • 6 hours (4 cycles): Go to bed at 10:45 PM

    Wake Up at 5:30 AM

    • 9 hours (6 cycles): Go to bed at 8:15 PM
    • 7.5 hours (5 cycles): Go to bed at 9:45 PM
    • 6 hours (4 cycles): Go to bed at 11:15 PM

    Wake Up at 6:00 AM

    • 9 hours (6 cycles): Go to bed at 8:45 PM
    • 7.5 hours (5 cycles): Go to bed at 10:15 PM
    • 6 hours (4 cycles): Go to bed at 11:45 PM

    Wake Up at 6:30 AM

    • 9 hours (6 cycles): Go to bed at 9:15 PM
    • 7.5 hours (5 cycles): Go to bed at 10:45 PM
    • 6 hours (4 cycles): Go to bed at 12:15 AM

    Wake Up at 7:00 AM

    • 9 hours (6 cycles): Go to bed at 9:45 PM
    • 7.5 hours (5 cycles): Go to bed at 11:15 PM
    • 6 hours (4 cycles): Go to bed at 12:45 AM

    Wake Up at 7:30 AM

    • 9 hours (6 cycles): Go to bed at 10:15 PM
    • 7.5 hours (5 cycles): Go to bed at 11:45 PM
    • 6 hours (4 cycles): Go to bed at 1:15 AM

    Wake Up at 8:00 AM

    • 9 hours (6 cycles): Go to bed at 10:45 PM
    • 7.5 hours (5 cycles): Go to bed at 12:15 AM
    • 6 hours (4 cycles): Go to bed at 1:45 AM

    How to Calculate Your Own Bedtime

    These calculations follow a simple formula. Here's how to do it yourself for any wake time:

    Step 1: Choose Your Wake-Up Time

    This is your anchor. Choose based on work, school, or commitments. Ideally, it should be consistent every day (including weekends).

    Step 2: Decide How Many Cycles You Need

    • 6 cycles (9 hours): Best for teens, athletes, recovery from illness or sleep debt
    • 5 cycles (7.5 hours): Optimal for most adults
    • 4 cycles (6 hours): Minimum (occasional use only)

    Step 3: Count Backward

    From your wake time, subtract your total sleep time:

    • For 5 cycles: subtract 7 hours 30 minutes
    • For 6 cycles: subtract 9 hours

    Step 4: Subtract Time to Fall Asleep

    The average person takes 15 minutes to fall asleep. Subtract this from your calculated time. This is your "in bed" time.

    Example Calculation

    Wake-up goal: 6:30 AM, targeting 5 cycles:

    • 6:30 AM - 7.5 hours = 11:00 PM (when you should be asleep)
    • 11:00 PM - 15 min = 10:45 PM (when you should be in bed)

    Why 90-Minute Cycles Matter

    Your brain doesn't sleep uniformly—it cycles through four stages approximately every 90 minutes:

    1. Stage 1 (Light Sleep): Transition phase, easily awakened, lasts 1-5 minutes
    2. Stage 2 (Light Sleep): Body temperature drops, heart rate slows, lasts 20-30 minutes
    3. Stage 3 (Deep Sleep): Most restorative, very difficult to wake from, lasts 20-40 minutes
    4. REM Sleep: Dreaming occurs, brain is active, lasts 10-60 minutes (increasing throughout night)

    Waking during Stages 1 or 2 (light sleep) feels natural. Waking during Stage 3 or REM triggers sleep inertia—grogginess, confusion, and that "I can't function" feeling. By timing your sleep in complete 90-minute cycles, you maximize the chance of waking during light sleep.

    What If You Don't Fall Asleep in 15 Minutes?

    The 15-minute estimate is average. Adjust based on your experience:

    • Fall asleep in under 5 minutes? You're likely sleep-deprived. Move bedtime earlier.
    • Take 20-30 minutes? Add 15 minutes to your "in bed" time (start bedtime routine earlier).
    • Take 45+ minutes regularly? You may have sleep onset insomnia. Don't go to bed until genuinely sleepy.

    Creating Your Bedtime Routine

    Knowing your optimal bedtime is step one. Actually falling asleep at that time requires preparation. Build a 30-60 minute wind-down routine:

    • 60 minutes before bed: Dim lights, finish eating, reduce stimulating activities
    • 45 minutes before bed: No more screens (phone, TV, computer)
    • 30 minutes before bed: Relaxation activities (reading, stretching, journaling)
    • 15 minutes before bed: Final preparations (brush teeth, set alarm, get into bed)
    • Bedtime: Lights out, eyes closed, sleep

    Common Bedtime Mistakes

    Going to Bed When Not Sleepy

    Lying awake in bed trains your brain to associate bed with wakefulness. If you're not sleepy at your target bedtime, stay up until you are—then adjust your schedule the next day.

    Varying Bedtime by More Than 30 Minutes

    Inconsistent bedtimes confuse your circadian rhythm. Aim to be in bed within a 30-minute window every night.

    Using Bed for Non-Sleep Activities

    Working, watching TV, or scrolling your phone in bed weakens the mental association between bed and sleep. Reserve your bed for sleep (and intimacy) only.

    Eating or Drinking Too Close to Bed

    Large meals require energy to digest and can cause discomfort. Caffeine and alcohol both disrupt sleep architecture. Finish eating 2-3 hours before bed; avoid caffeine after 2:00 PM.

    Frequently Asked Questions

    What if my schedule changes day-to-day?

    Prioritize consistent wake time over consistent bedtime. Your body anchors circadian rhythm to wake time. If you must vary, keep bedtime within 1 hour of your standard.

    Should I go to bed at the same time on weekends?

    Yes, as much as possible. Sleeping in more than 1 hour past your usual wake time causes "social jet lag," disrupting your rhythm and making Monday brutal.

    What's better: earlier bedtime or later wake time?

    Earlier bedtime. Your wake time should be consistent; if you need more sleep, adjust by going to bed earlier rather than waking later.

    I work shifts—how do I calculate bedtime?

    Use the same calculation, but anchor to whenever you need to wake. Night shift workers often do best with a consistent 8-hour sleep block during the day, using blackout curtains and white noise to simulate night conditions.

    Calculate Your Perfect Bedtime Now

    Use our Sleep Calculator above to instantly find your optimal bedtime. Enter your wake-up time, and we'll show you the exact bedtimes that align with complete 90-minute cycles—so you wake up refreshed instead of groggy.

    Commit to your calculated bedtime for one week. Consistency is key—your body needs time to adapt and strengthen its circadian rhythm. After a week, you may find yourself waking moments before your alarm, naturally and refreshed.

    Disclaimer: This guide provides general bedtime recommendations based on sleep science. Individual variations in sleep cycle length and sleep needs exist. If you consistently struggle with sleep despite optimal timing, consult a healthcare provider.

    Not sure how your sleep really stacks up?

    Take our 30-question Sleep Quality Assessment and get a personalized Sleep Score across 6 dimensions.

    ✦ Take the Sleep Quality Assessment

    Ready to Optimize Your Sleep?

    Use our free Sleep Calculator to find your perfect bedtime based on 90-minute sleep cycles.

    Calculate optimal bedtime
    Based on sleep cycles
    Wake up refreshed
    Try the Sleep Calculator