Health Calculators
Sleep Calculator
Use sleep cycle science to find the best time to wake up or go to bed. Wake up at the end of a sleep cycle and feel more refreshed.
Formula Used
Sleep cycles average 90 minutes. Aim for 5-6 complete cycles per night. Bedtime = Wake time − (Cycles × 90 min) − Time to fall asleep
About This Calculator
What It Does
This calculator helps you find the best time to wake up or go to bed based on the science of sleep cycles. A full sleep cycle averages 90 minutes, and waking up at the end of a cycle leaves you feeling refreshed. Waking up in the middle of a cycle causes sleep inertia — that groggy, disoriented feeling. The calculator has two modes: waking at a fixed time (tell us when you need to get up, and we’ll show the best bedtimes) or going to bed at a fixed time (tell us when you’re going to sleep, and we’ll show optimal wake-up times). You can adjust the cycle length (default 90 min) and time to fall asleep (default 15 min) in the settings. References: National Sleep Foundation (sleepfoundation.org), CDC Sleep and Sleep Disorders (cdc.gov/sleep), NIH National Heart, Lung, and Blood Institute (nhlbi.nih.gov/sleep).
Worked Example
Example 1 — Fixed wake time: You need to wake up at 7:00 AM. With 15 minutes to fall asleep and 90-minute cycles, going to bed at 9:45 PM gives you 6 cycles (9 hours), and 11:15 PM gives you 5 cycles (7.5 hours). Waking at 7:00 AM after either of these bedtimes means you’ll rise at the end of a cycle, feeling refreshed. Example 2 — Fixed bedtime: You’re going to bed at 11:30 PM. With 15 minutes to fall asleep, you’ll enter your first cycle around 11:45 PM. After 5 cycles (7.5 hours of sleep), your optimal wake-up time is 7:15 AM. After 6 cycles (9 hours), it’s 8:45 AM. Example 3 — Adjusting settings: If you know you take 30 minutes to fall asleep instead of 15, adjust that in the settings. The calculator recalculates all bedtimes and wake-up times accordingly, shifting them 15 minutes earlier. Reference: Walker M. (2017). Why We Sleep. Scribner. ISBN 978-1-5011-4431-8.
Real-World Usage
This calculator is useful for anyone trying to optimize their sleep schedule. Shift workers can plan bedtimes around irregular schedules. Parents of young children can find optimal bedtimes to maximize their limited sleep window. Travelers can adjust to new time zones by planning sleep schedules that align with local time. Students can schedule study sessions around optimal wake-up times. The calculator is also useful for anyone experiencing morning grogginess — adjusting bedtime by 45 minutes can mean the difference between waking mid-cycle and waking refreshed. Reference: American Academy of Sleep Medicine (aasm.org). Healthy Sleep Habits.
Local Context
Sleep norms vary by culture. In Spain and many Latin American countries, the siesta tradition shifts sleep schedules later, with bedtimes often after midnight and a midday rest break. In Mediterranean countries (Italy, Greece, Spain), late dinners (9–10 PM) push bedtimes later. Northern European countries (Germany, UK, Scandinavia) tend to have earlier bedtimes and earlier starts to the work day. In Japan, ‘inemuri’ (napping in public) is culturally accepted. Despite these cultural differences, the 90-minute sleep cycle is universal. Use this calculator with your local schedule — the science works regardless of when you sleep. Reference: National Sleep Foundation. Sleep and Culture (sleepfoundation.org).
Last reviewed: May 2026.
This calculator provides estimates based on average sleep cycles. Individual patterns vary. For persistent sleep concerns, consult a healthcare provider.
Frequently Asked Questions
How long is a sleep cycle?
The average sleep cycle lasts about 90 minutes. During that time, your brain progresses through light sleep, deep sleep, and REM sleep. Most people need 5–6 complete cycles per night for optimal rest. Reference: Carskadon MA, Dement WC. Normal human sleep: an overview. Principles and Practice of Sleep Medicine, 6th ed. Elsevier, 2017.
Why do I feel groggy when my alarm goes off?
You are likely waking up in the middle of a sleep cycle. If you wake at the end of a cycle, you will feel more alert and refreshed. Our calculator helps you find those optimal wake-up times. Reference: Hilditch CJ, McHill AW. Sleep inertia: current insights. Nature and Science of Sleep, 2019.
How many sleep cycles should I aim for?
Most adults need 5–6 complete sleep cycles per night, which equals 7.5 to 9 hours of sleep. Four cycles (6 hours) is the minimum for basic functioning. Reference: Hirshkowitz M et al. National Sleep Foundation’s sleep time duration recommendations. Sleep Health, 2015.