Sleep Calculator

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

min
Go to sleep at one of these times:
Each time represents a complete number of 90-minute sleep cycles. Waking at the end of a cycle helps you feel more refreshed.
Disclaimer: This tool is for general educational and informational purposes only. It does not constitute medical advice, professional diagnosis, or treatment and is not a substitute for consultation with a qualified healthcare provider. No doctor-patient relationship is created by your use of this tool. Results are estimates based on published formulas and population-level data that may not reflect your individual medical circumstances. Neither MayoCalc nor Cook Media Systems assumes any liability or responsibility for damage or injury (including death) to any person arising from the use of any information, results, or content provided by this tool. Always consult your physician or other qualified healthcare provider with any questions about a medical condition. See our full Disclaimer and Terms of Service.

How Sleep Cycles Work

Sleep occurs in approximately 90-minute cycles that progress through four stages: light sleep (stages 1 and 2), deep sleep (stage 3, also called slow-wave sleep), and REM sleep (stage 4, when most dreaming occurs). Each cycle takes roughly 90 minutes, and a full night typically includes 4-6 complete cycles. Waking up at the end of a complete cycle, during light sleep, tends to leave you feeling more alert and refreshed than waking up during deep sleep, which can cause grogginess and sleep inertia.

How to Use This Calculator

Enter the time you need to wake up, and the calculator shows you the best times to fall asleep based on completing full 90-minute sleep cycles. It accounts for the average sleep onset latency (the time it takes to fall asleep, typically 10-20 minutes) and shows options ranging from 3 to 6 complete cycles. Alternatively, you can enter the time you plan to go to bed, and the calculator will show optimal wake-up times.

How Much Sleep Do You Need?

The National Sleep Foundation recommends 7-9 hours for adults aged 18-64 and 7-8 hours for adults 65 and older. Teenagers (14-17) need 8-10 hours, school-age children (6-13) need 9-11 hours, and preschoolers (3-5) need 10-13 hours. These are ranges because individual sleep needs vary based on genetics, overall health, and activity level. Consistently sleeping fewer than 6 hours per night is associated with increased risk of obesity, cardiovascular disease, impaired cognitive function, and reduced immune response.

Tips for Better Sleep

Keep a consistent schedule. Going to bed and waking up at the same time every day, including weekends, reinforces your circadian rhythm and makes falling asleep easier. Avoid screens before bed. Blue light from phones, tablets, and computers suppresses melatonin production. Stop screen use 30-60 minutes before bed. Watch caffeine timing. Caffeine has a half-life of 5-6 hours. An afternoon coffee at 2 PM means half the caffeine is still in your system at 8 PM. Cut off caffeine by early afternoon. Use the Caffeine Calculator to track your daily intake. Cool your bedroom. The optimal room temperature for sleep is 65-68 degrees F (18-20 degrees C). Your body temperature needs to drop slightly to initiate sleep.

Sleep Quality vs. Sleep Quantity

Getting 8 hours of fragmented, poor-quality sleep can leave you more tired than 7 hours of deep, uninterrupted sleep. Factors that reduce sleep quality include alcohol (disrupts REM sleep), late-night eating (raises core body temperature), noise and light interruptions, and sleep disorders like sleep apnea. If you are getting adequate hours but still feel unrested, the issue may be sleep quality rather than quantity.

Sleep Calculator FAQ

Why do I feel tired even after 8 hours of sleep?
Several factors can cause this: waking during deep sleep rather than at the end of a cycle, poor sleep quality from alcohol or screen exposure before bed, an inconsistent sleep schedule, sleep disorders like sleep apnea (which can fragment sleep without fully waking you), or an underlying health condition. If persistent tiredness continues despite adequate sleep, consult a healthcare provider.
Are sleep cycles exactly 90 minutes?
The 90-minute figure is an average. Individual cycles can range from 80 to 120 minutes, and cycle length changes throughout the night. Earlier cycles tend to have more deep sleep, while later cycles have more REM sleep. The calculator uses 90 minutes as the best general approximation.
Is it better to wake up after 6 hours or 7.5 hours?
If the choice is between 6 hours (4 complete cycles) and 7.5 hours (5 complete cycles), the 7.5-hour option is better for most adults because it provides more total sleep while still aligning with the end of a cycle. However, the best option is always to get the recommended 7-9 hours by going to bed earlier.
Should I use this calculator every night?
Once you establish a consistent sleep schedule, you will not need the calculator daily. The main value is in setting your initial bedtime and wake time to align with complete cycles. After a week or two of consistency, your body's internal clock will naturally adapt to the schedule.

Why Sleep Cycles Matter

Sleep isn't a uniform state. You cycle through light sleep, deep sleep, and REM in roughly 90-minute loops. Waking up at the end of a cycle feels refreshing. Waking up in the middle of deep sleep feels terrible, even if you slept longer. That's why 7.5 hours can feel better than 8 if the extra 30 minutes catches you mid-cycle.

This calculator works backward from your wake time to find bedtimes that align with complete sleep cycles. It accounts for the average 15 minutes it takes to fall asleep. For a deeper look at sleep needs by age and evidence-based tips for better sleep, see our guide on how much sleep you need.