Sleep Calculator
Find the best time to go to bed or wake up — based on your natural 90-minute sleep cycles. Waking up at the right point in a cycle means less grogginess and more energy.
All calculations happen in your browser. No data is sent anywhere.
Sleep Time Calculator
Enter the time you need to wake up and we'll show you the best times to go to sleep.
Enter the time you plan to go to bed and we'll show you the best times to set your alarm.
Going to sleep right now? We'll calculate the best times to wake up based on this moment.
Understanding Sleep Cycles
What are sleep cycles?
A sleep cycle is a roughly 90-minute sequence your brain repeats 4–6 times per night:
- N1 — Light sleep: transition from wakefulness; easily disrupted; lasts ~5 min.
- N2 — Light-medium sleep: heart rate slows, body temperature drops; lasts ~25 min. Most of your night is spent here.
- N3 — Deep sleep (slow-wave): hardest to wake from; critical for physical restoration, immune function, and memory consolidation.
- REM sleep: rapid eye movement; vivid dreaming, emotional processing, learning, and creativity. REM periods lengthen in later cycles.
Missing even one full cycle reduces the total REM you get, since REM-rich cycles cluster toward morning.
How much sleep do you actually need?
CDC recommendations by age group:
- Newborns (0–3 months): 14–17 hours per day
- School-age children (6–12): 9–12 hours per night
- Teenagers (13–18): 8–10 hours per night
- Adults (18–64): 7–9 hours per night (5–6 cycles)
- Older adults (65+): 7–8 hours per night
Consistent, quality sleep matters more than total hours. A regular schedule, dark room, and cool temperature are the three most evidence-backed levers for better sleep.
Related Tools
Age Calculator
Calculate your exact age in years, months, days, hours, and minutes. Find the date between two events or your next birthday countdown.
Open calculator →Stopwatch & Timer
A precise in-browser stopwatch and countdown timer with lap support. Useful for sleep-onset tracking, wind-down routines, and more.
Open timer →FAQ
How does the sleep cycle calculator work?
The calculator uses the science of 90-minute sleep cycles. Each complete cycle moves through light sleep, deep sleep, and REM sleep. Waking at the end of a cycle — rather than in the middle — means you surface during light sleep, which feels far less groggy. Enter your desired wake-up time and the tool counts back in 90-minute increments (plus 14 minutes to fall asleep) to give you optimal bedtimes for 3, 4, 5, or 6 complete cycles.
How long does it take to fall asleep?
Research suggests that most healthy adults take about 10–20 minutes to fall asleep, with an average of roughly 14 minutes. This calculator adds a 14-minute fall-asleep buffer to all calculations so that the cycle count begins from the moment you actually enter sleep — not from when you get into bed. If you typically fall asleep faster or slower, mentally adjust the shown bedtime by that difference.
Is 6 hours of sleep enough?
Six hours corresponds to about 4 complete sleep cycles and is generally considered the minimum for most adults. The CDC and sleep researchers recommend 7–9 hours (5–6 cycles) for adults aged 18–64. Consistently getting only 6 hours is associated with impaired cognition, weakened immunity, and increased long-term health risks. This calculator marks 4-cycle results as "Minimum" and 5–6-cycle results as "Recommended."
What happens if you wake up in the middle of a sleep cycle?
Waking mid-cycle — especially during deep (slow-wave) sleep — triggers sleep inertia: grogginess, confusion, and sluggish reaction times that can last 15–60 minutes. This is why some people feel worse after 8 hours than after 7.5 hours: the extra time landed them in the middle of a cycle. Timing your alarm to a cycle boundary dramatically reduces morning grogginess.
What is the best sleep schedule?
Consistency is the single most important factor. Going to bed and waking at the same time every day — even on weekends — anchors your circadian rhythm, which regulates hormone release, body temperature, and alertness throughout the day. Aim for 5–6 complete 90-minute cycles (7.5–9 hours), keep your bedroom dark and cool, and avoid screens for 30–60 minutes before bed.