Sleep Calculator
Find the best time to go to bed or wake up based on sleep cycles. Calculate optimal sleep times for 3 to 6 complete 90-minute cycles.
min
min
Go to bed at
9:46 PM
9h 0min
6 cycles
Go to bed at
11:16 PM
7h 30min
5 cycles
Go to bed at
12:46 AM
6h 0min
4 cycles
Go to bed at
2:16 AM
4h 30min
3 cycles
Only 4h 30min — not recommended for regular useHow sleep cycles work
A typical sleep cycle lasts about 90 minutes and includes light sleep, deep sleep, and REM (dream) sleep. Waking up between cycles — rather than in the middle of one — helps you feel more rested and alert. Most adults need 5 to 6 complete cycles (7.5 to 9 hours) per night for optimal health.
| Age group | Recommended hours | Cycles |
|---|---|---|
| Newborn (0–3 months) | 14–17 | 9–11 |
| Infant (4–11 months) | 12–15 | 8–10 |
| Toddler (1–2 years) | 11–14 | 7–9 |
| Preschool (3–5 years) | 10–13 | 7–9 |
| School age (6–12 years) | 9–12 | 6–8 |
| Teen (13–17 years) | 8–10 | 5–7 |
| Adult (18–64 years) | 7–9 | 5–6 |
| Older adult (65+ years) | 7–8 | 5 |
Sleep calculator. Optimal bedtimes and wake-up times based on 90-minute sleep cycles.
What Is a Sleep Cycle Calculator and Why Does It Matter?
How to Calculate the Best Time to Sleep and Wake Up
Sleep Cycle Calculation Formula
- = Recommended bedtime (when to get into bed)
- = Desired wake-up time
- = Sleep cycle length in minutes (default: 90)
- = Number of complete sleep cycles (3, 4, 5, or 6)
- = Sleep onset latency in minutes (default: 14)
| Cycles | Sleep duration | Bedtime | Recommendation |
|---|---|---|---|
| 6 | 9 hours | 9:46 PM | Recommended |
| 5 | 7 h 30 min | 11:16 PM | Recommended |
| 4 | 6 hours | 12:46 AM | Minimum for adults |
| 3 | 4 h 30 min | 2:16 AM | Not recommended |
Sleep Calculator Examples for Common Schedules
Example: Early Riser Waking at 6:00 AM
Example: Night Owl Going to Bed at Midnight
Example: Adjusting for Slower Sleep Onset
Tips for Using Your Sleep Calculator Results Effectively
- Stick to the recommended 5 or 6 cycle options whenever possible. Adults who consistently sleep fewer than 7 hours per night face increased risks of cardiovascular disease, obesity, diabetes, and weakened immune function according to the CDC.
- Set your alarm for the exact time the calculator recommends, not a rounded number. Waking at 6:44 AM instead of 7:00 AM could mean the difference between the end of a cycle (alert) and the middle of deep sleep (groggy). Precision matters more than duration.
- If you wake up groggy despite using the calculator, adjust your cycle length. Not everyone has exactly 90-minute cycles. Try 85 or 95 minutes and observe which setting leaves you feeling most refreshed over a week.
- Keep your bedtime consistent, even on weekends. Shifting your schedule by more than 1 hour creates social jet lag, which disrupts your circadian rhythm and reduces the accuracy of cycle-based timing.
- Use the 'If I sleep now' feature when your schedule is unpredictable. It calculates optimal wake-up times from the current moment, so you always wake at the end of a cycle regardless of when you get to bed.
- After getting your result, interpret the number of cycles in context. If the calculator shows you can only fit 4 cycles before your alarm, consider whether you can shift your bedtime earlier. Four cycles (6 hours) is survivable short-term but unsustainable as a habit.
- Track how you feel for one week using a consistent bedtime and wake time from the calculator. If you still feel tired, the issue may not be timing but sleep quality factors like caffeine intake, screen exposure before bed, room temperature, or an underlying sleep disorder.
Frequently Asked Questions About the Sleep Calculator
How many hours of sleep do I need by age?
The American Academy of Sleep Medicine recommends: newborns (0-3 months) 14-17 hours, infants (4-12 months) 12-16 hours, toddlers (1-2 years) 11-14 hours, preschoolers (3-5 years) 10-13 hours, school-age children (6-12 years) 9-12 hours, teenagers (13-18 years) 8-10 hours, and adults (18+) 7 or more hours. Most adults do best with 7 to 9 hours per night, which corresponds to 5 or 6 complete 90-minute sleep cycles.
Is 6 hours of sleep enough?
No, 6 hours of sleep is below the minimum recommended for adults. While 6 hours equals 4 complete sleep cycles and you may feel functional short-term, chronic sleep of 6 hours or less is associated with increased risks of heart disease, weight gain, impaired immune function, and cognitive decline. Only a very rare genetic mutation allows some people to thrive on 6 hours. For most adults, 5 cycles (7.5 hours) is the minimum for sustained health.
Why do I feel groggy even after 8 hours of sleep?
Eight hours does not align with complete 90-minute sleep cycles. Five cycles equal 7.5 hours and six cycles equal 9 hours, leaving 8 hours in between, likely mid-cycle. Waking during deep sleep triggers sleep inertia, causing grogginess that lasts 15-30 minutes. Try setting your alarm for 7.5 hours after falling asleep instead of 8 hours. The sleep calculator handles this math automatically.
What is the 90-minute sleep cycle rule?
The 90-minute sleep cycle rule states that sleep occurs in repeating cycles of approximately 90 minutes, each progressing through light sleep, deep sleep, and REM sleep. Waking at the end of a complete cycle, during light sleep, leaves you feeling refreshed. Waking mid-cycle, especially during deep sleep, causes grogginess. By planning bedtimes and wake times in multiples of 90 minutes, you align your alarm with the natural boundaries between cycles.
How accurate is this sleep calculator?
The calculator is accurate to the extent that your inputs match your actual sleep patterns. The two main variables are sleep onset latency (time to fall asleep) and cycle length. The default of 14 minutes for onset and 90 minutes per cycle works well for most adults. However, individual cycles can range from 80 to 110 minutes. Experiment with the customizable settings over several nights to find your personal optimal timing.
What time should I go to sleep if I wake up at 7 AM?
For a 7:00 AM wake-up with default settings (14-minute sleep onset, 90-minute cycles), the recommended bedtimes are 9:46 PM (6 cycles, 9 hours of sleep) or 11:16 PM (5 cycles, 7.5 hours of sleep). The 5-cycle option is best for most adults. If you fall asleep faster or slower than 14 minutes, adjust the sleep onset setting for more precise recommendations.
Does the sleep calculator account for time to fall asleep?
Yes. The calculator includes a customizable sleep onset latency setting, defaulting to 14 minutes. This means the suggested bedtime is when you should get into bed, not when you need to be asleep. If you typically take longer to fall asleep, increase this value. A normal sleep onset is 10 to 20 minutes; consistently exceeding 20 minutes may indicate insomnia and is worth discussing with a doctor.
Is it better to sleep 6 hours or 7.5 hours?
Seven and a half hours (5 complete cycles) is significantly better than 6 hours (4 cycles). The fifth cycle contains the longest REM sleep period of the night, which is critical for memory consolidation, emotional regulation, and learning. Cutting from 5 to 4 cycles does not just remove 90 minutes of sleep; it removes the most cognitively valuable REM stage. Always prioritize 5 cycles when your schedule allows.
Key Sleep Terms
Sleep cycle
A repeating pattern of sleep stages lasting approximately 90 minutes, progressing through N1 (light sleep), N2 (deeper sleep), N3 (deep slow-wave sleep), and REM (rapid eye movement) sleep.
Sleep onset latency
The time it takes to transition from full wakefulness to sleep after getting into bed. A healthy range is 10 to 20 minutes for adults.
Sleep inertia
A period of impaired alertness, grogginess, and reduced cognitive performance that occurs after waking, especially when waking during deep sleep. Typically lasts 15 to 30 minutes.
REM sleep
Rapid eye movement sleep, the stage associated with vivid dreaming, memory consolidation, and emotional processing. REM periods grow longer in later sleep cycles.
Deep sleep (N3)
The third stage of non-REM sleep, also called slow-wave sleep. It is the most physically restorative stage, during which growth hormone is released and tissue repair occurs.
Circadian rhythm
The body's internal 24-hour clock that regulates the sleep-wake cycle, body temperature, and hormone release. It is primarily influenced by light exposure.
Social jet lag
The misalignment between a person's social schedule (work, school) and their biological clock, often caused by shifting sleep times on weekends versus weekdays.
Sources & References
Content verified by the Smart Calculators Team