Skip to main content

    Sleep Calculator

    Find the best times to sleep and wake up based on 90-minute sleep cycles.

    No signup. 100% private. Processed in your browser.

    Adults need 5–6 complete 90-minute sleep cycles (7.5–9 hours). Waking between cycles reduces grogginess.

    Enter your wake-up time below to find your ideal bedtime.

    Sleep Cycle Calculator

    Average is 10–20 minutes

    Why You Wake Up Groggy (Even After 8 Hours)

    You set your alarm for 8 hours of sleep. You hit every health guideline. And you still wake up feeling like you've been hit by a bus. Sound familiar?

    The problem isn't how long you slept — it's when your alarm went off. Sleep happens in 90-minute cycles. Each cycle moves through light sleep, deep sleep, and REM sleep. Waking up mid-cycle — especially during deep sleep — triggers sleep inertia: that heavy, foggy feeling that can last 30 minutes or more.

    This calculator times your sleep to complete full 90-minute cycles so your alarm goes off during light sleep, when waking feels natural. The difference is dramatic — 7.5 hours timed to cycles often feels better than 8 hours that cuts one short.

    The 5 Stages of a Sleep Cycle

    StageDurationWhat HappensWake Up Here?
    N1 (Light Sleep)5–10 minDrifting off, muscles relax, brain slowsEasy — feels natural
    N2 (Light Sleep)20–25 minHeart rate drops, body temperature falls, sleep spindlesGood — alert quickly
    N3 (Deep Sleep)20–40 minPhysical repair, growth hormone release, immune boostTerrible — severe grogginess
    REM Sleep10–60 minDreaming, memory consolidation, emotional processingOK — vivid dream recall

    What this means for you: Deep sleep (N3) dominates the first half of the night, while REM dominates the second half. That's why the first 3–4 hours of sleep are the most physically restorative, and the last hours are critical for memory and learning. Cutting sleep short from 8 hours to 6 disproportionately reduces REM — which affects mood, creativity, and learning.

    How Much Sleep Do You Actually Need?

    Age GroupRecommendedAcceptable Range
    Teens (14–17)8–10 hours7–11 hours
    Adults (18–64)7–9 hours6–10 hours
    Older adults (65+)7–8 hours5–9 hours

    Source: National Sleep Foundation (2015). The "acceptable range" accounts for individual variation — a small percentage of people genuinely function well on 6 hours due to a genetic variant (DEC2 gene). But less than 1% of the population actually has this variant. If you think you're one of them, you're almost certainly wrong.

    10 Evidence-Based Sleep Tips

    Keep a consistent schedule

    Same bedtime and wake time every day — including weekends. Your circadian rhythm craves regularity.

    Cool your bedroom to 18–20°C

    Core body temperature needs to drop 1°C to initiate sleep. A cool room accelerates this.

    Stop screens 60 minutes before bed

    Blue light suppresses melatonin production by up to 50%. Use night mode as a minimum.

    No caffeine after 2pm

    Caffeine has a half-life of 5–7 hours. A 3pm coffee still has 50% of its caffeine in your system at 9pm.

    Limit alcohol before bed

    Alcohol helps you fall asleep faster but fragments sleep and reduces REM by up to 20%.

    Exercise regularly, but not late

    30+ minutes of exercise improves deep sleep by 20–30%. But high-intensity exercise within 2 hours of bed can delay sleep onset.

    Get morning sunlight

    10–30 minutes of bright light in the morning resets your circadian clock and improves evening melatonin production.

    Make your bedroom dark

    Even dim light (a phone charging LED) can suppress melatonin. Use blackout curtains and cover electronics.

    Don't lie awake stressing

    If you can't sleep after 20 minutes, get up, go to another room, and do something boring until you feel sleepy. Staying in bed trains your brain to associate bed with wakefulness.

    Limit naps to 20 minutes

    Short naps boost alertness without entering deep sleep. Longer naps cause grogginess and can interfere with nighttime sleep.

    Related Health Tools

    How to use this tool

    1

    Choose your mode: bedtime or wake-up time

    2

    Enter your target time

    3

    Optionally adjust the time it takes you to fall asleep

    Common uses

    • Finding the ideal bedtime based on your wake-up alarm
    • Waking up between sleep cycles to feel less groggy
    • Planning naps that align with natural 90-minute cycles
    • Adjusting sleep schedules for shift work or jet lag
    • Understanding how many full sleep cycles you need per night

    Share this tool

    Frequently Asked Questions