Free Sleep Calculator
Based on 90-minute sleep cycles — wake up refreshed, not groggy.
Recommended bedtimes
Includes ~14 min to fall asleep. Highlighted = ideal (5–6 cycles).
A sleep calculator is a free online tool that finds the best times to fall asleep or wake up based on 90-minute sleep cycles. Enter your target wake-up time and the calculator shows you exactly when to go to bed so you wake up at the end of a complete cycle — feeling alert instead of groggy.
How the sleep calculator works
Human sleep is structured in repeating 90-minute cycles. Each cycle passes through light sleep, two stages of deep (slow-wave) sleep, and REM sleep. Interrupting a cycle mid-way — especially during deep sleep — triggers sleep inertia: the heavy, foggy feeling that makes mornings miserable even after 7 or 8 hours in bed. The sleep calculator is designed to prevent this by aligning your alarm with natural cycle transitions.
The sleep calculator adds 14 minutes (average sleep onset time) to your bedtime, then counts forward in 90-minute blocks to identify wake times that land at the end of a complete cycle. Waking up at one of these times means your brain has completed its consolidation work and is ready to transition smoothly to wakefulness. You can also use the reverse mode: tell the calculator when you plan to go to bed, and it shows you the best wake-up times for 4, 5, 6, or 7 complete sleep cycles.
Each recommended time is displayed on a card that shows the number of cycles and total sleep hours. The ideal range (5–6 cycles, or 7.5–9 hours of sleep) is highlighted so you can quickly choose the option that best fits your schedule. All calculations happen entirely in your browser with no data transmitted to any server.
Why 7.5 hours often beats 8 hours
Eight hours of sleep is 5.33 cycles — meaning you wake mid-cycle. Seven and a half hours is exactly 5 complete cycles. Nine hours is 6 complete cycles. This is why many people report feeling more rested after 7.5 hours than after a full 8-hour night. The goal isn't maximum hours in bed — it's waking at the right point in the cycle. When you wake during deep sleep (stages 3 and 4), your brain struggles to transition to wakefulness, producing the grogginess known as sleep inertia that can last 30 minutes to an hour.
If your alarm clock isn't flexible, try shifting your bedtime by 30-minute increments until you find a combination that lets you wake just before the alarm — a reliable sign you've landed at a natural cycle boundary. Morning sunlight exposure within 30 minutes of waking helps reset your circadian clock and improves alertness. Even small adjustments of 15–30 minutes to your bedtime can mean the difference between waking mid-cycle or at a natural transition point.
Tips for better sleep quality
Consistent sleep and wake times — even on weekends — anchor your circadian rhythm and dramatically improve sleep quality. Keep your bedroom cool (65–68°F / 18–20°C), dark, and quiet. Avoid screens for at least 30 minutes before bed, as blue light suppresses melatonin production. Consider using blue-light filtering apps or "night mode" on your devices if you must use them in the evening. Avoid caffeine after 2 PM, as its half-life is roughly 5–6 hours — meaning half the caffeine from a 4 PM coffee is still in your system at 9–10 PM.
A short 10–20 minute nap in the early afternoon (not after 3 PM) can refresh alertness without disrupting nighttime sleep. Longer naps risk entering deep sleep, which causes grogginess upon waking and can make it harder to fall asleep at night. Regular exercise (especially morning or afternoon) improves sleep quality, but intense workouts within an hour of bedtime may be too stimulating for some people. Alcohol before bed may help you fall asleep faster but fragments the second half of the night, reducing REM sleep and overall restfulness. By combining these habits with the sleep calculator's cycle-based recommendations, you can build a bedtime routine that consistently delivers high-quality restorative sleep.
Frequently asked questions
What time should I go to sleep to wake up at 6am feeling rested?
To wake at 6:00am after complete sleep cycles, go to sleep at 9:15pm (5 cycles, 8h45m), 10:45pm (4 cycles, 7h15m), or 12:15am (3 cycles, 5h45m). Each sleep cycle lasts about 90 minutes. Add 15 minutes to fall asleep. Waking mid-cycle causes grogginess regardless of total sleep hours.
How many hours of sleep do adults actually need?
Most adults need 7–9 hours per night according to the CDC and sleep researchers. Regularly sleeping under 6 hours impairs cognition as severely as going 24 hours without sleep — but most sleep-deprived people don't notice the deficit. Teenagers need 8–10 hours, school-age children 9–11 hours, and adults over 65 typically need 7–8 hours.
What time should I wake up if I go to sleep at 11pm?
For complete sleep cycles from an 11:00pm bedtime (accounting for 15 minutes to fall asleep), ideal wake times are 6:15am (5 cycles, 7h15m) or 7:45am (6 cycles, 8h45m). Waking at 5:00am after 6 hours means interrupting your fifth cycle — you'll feel groggy. Aim for cycle-aligned wake times.
What is a sleep cycle and how long does it last?
A sleep cycle lasts approximately 90 minutes and consists of four stages: three NREM stages (light sleep, deeper sleep, deep slow-wave sleep) followed by one REM stage. REM sleep — where vivid dreaming occurs — gets longer in later cycles. Most adults complete 4–6 full cycles per night. Waking between cycles feels significantly better than waking mid-cycle.
Is 6 hours of sleep enough for adults?
Six hours is below the recommended minimum of 7 hours for adults. Research shows that after two weeks of sleeping 6 hours, cognitive performance declines to the level of someone who has been awake for 24 hours straight. Most people adapt to feeling only 'slightly tired' but the impairment is real and cumulative. Occasional 6-hour nights are manageable; habitual sleep restriction is not.
What is the best time to wake up for REM sleep?
REM sleep occurs most heavily in the later cycles of the night — your final 1–2 sleep cycles before waking contain the most REM. Waking after 7.5–9 hours maximizes REM exposure. Early alarms cut off REM-rich sleep, which is why sleeping an extra 90 minutes on weekends often produces vivid, memorable dreams.