Sleep Calculator

Use this free sleep calculator to find the best times to wake up or go to bed based on 90-minute sleep cycles. Waking up at the end of a sleep cycle helps you feel more refreshed and alert. Enter your bedtime or wake-up time to see your optimal sleep windows.

Sleep Calculator
Recommended times
These times are calculated based on 90-minute sleep cycles plus 15 minutes to fall asleep. Most adults need 5 to 6 complete cycles (7.5 to 9 hours). The green cards represent the ideal 6-cycle options.

How to use this Sleep Calculator

1. Choose your mode using the tabs at the top. Select "I want to wake up at..." if you have a fixed wake-up time and want to find the best bedtimes. Select "I am going to sleep at..." if you have a fixed bedtime and want to find the best times to set your alarm.
2. Enter your target time using the time picker.
3. Click the Calculate button to see six recommended times, color-coded by quality. Green cards represent the ideal 5 to 6 sleep cycle options (7.5 to 9 hours), which is the optimal range for most adults.
4. The calculator adds 15 minutes to account for the average time it takes to fall asleep. If you typically fall asleep faster or slower, adjust your target time accordingly.

Frequently asked questions

Q: What is a sleep cycle?
A: A sleep cycle is approximately 90 minutes long and consists of four stages: three stages of non-REM sleep (light to deep sleep) followed by one stage of REM (rapid eye movement) sleep. During a full night, you typically complete four to six cycles. REM sleep is associated with dreaming and is important for memory consolidation and emotional regulation. Waking up in the middle of a sleep cycle — especially during deep sleep — is what causes that groggy, disoriented feeling called sleep inertia.

Q: How many hours of sleep do I need?
A: The American Academy of Sleep Medicine recommends seven to nine hours of sleep per night for adults aged 18 to 60. Teenagers need eight to ten hours, school-age children need nine to twelve hours, and adults over 65 may need seven to eight hours. Individual needs vary — some people function well on seven hours while others genuinely need nine. Consistent sleep deprivation has significant effects on health, cognitive performance, and mood.

Q: Why do I feel groggy even after a full night's sleep?
A: Grogginess upon waking — known as sleep inertia — is often caused by waking up in the middle of a deep sleep stage. Using a sleep cycle calculator to time your alarm to the end of a 90-minute cycle can significantly reduce this feeling. Other causes include sleep debt from previous nights, inconsistent sleep schedules, or underlying sleep disorders such as sleep apnea.

Q: Does everyone have 90-minute sleep cycles?
A: Sleep cycles average 90 minutes but can range from 80 to 110 minutes depending on the individual and how rested they are. The first cycles of the night tend to have more deep sleep, while later cycles have more REM sleep. The 90-minute estimate used in this calculator works well for most people as a starting point.

Q: What is the best time to go to sleep?
A: Research suggests that sleep between 10 PM and midnight aligns best with the body's natural circadian rhythm for most adults. However, the consistency of your sleep schedule matters more than the specific time — going to bed and waking up at the same time every day, including weekends, has the greatest impact on sleep quality and daytime alertness.