Free Sleep Tool

Sleep Calculator

Find the best time to go to bed or wake up, based on 90-minute sleep cycles, so you wake up between cycles feeling refreshed instead of groggy.

Also try our Caffeine Calculator and Sleep Quiz, or start with our sleep habits guide and bedroom setup checklist.

How the sleep calculator works

Your sleep is not one long block. It moves through repeating cycles of light sleep, deep sleep, and REM, each lasting roughly 90 minutes. Waking up at the end of a cycle, when you are already in lighter sleep, feels far easier than an alarm dragging you out of deep sleep.

This calculator counts in 90-minute cycles and adds about 15 minutes to fall asleep. If you tell it when you need to wake up, it shows the bedtimes that land your alarm at the end of a cycle. If you tell it when you are going to bed, it shows the best times to set your alarm.

Aim for 5 to 6 full cycles, which is about 7.5 to 9 hours. Cycle length varies from person to person, so treat these times as a strong starting point, not a strict rule. Pair good timing with a consistent schedule and a dark, cool room. Our sleep trackers guide can help you see which bedtime actually leaves you most rested.

Frequently Asked Questions

How does the sleep calculator work?

It counts backward or forward in 90-minute sleep cycles and adds about 15 minutes to fall asleep. Waking at the end of a cycle, rather than in the middle of deep sleep, tends to leave you feeling more refreshed.

How many sleep cycles do I need?

Most adults do best with 5 to 6 complete cycles per night, which is about 7.5 to 9 hours of sleep. Four cycles, roughly 6 hours, is a minimum that works in a pinch but is not ideal long term.

How long does it take to fall asleep?

The average person takes about 15 minutes to fall asleep, so this calculator builds in a 15-minute buffer. If you usually take longer or shorter, adjust your target time a little.

Is waking up between sleep cycles really better?

For many people, yes. Waking at the end of a cycle, in lighter sleep, feels easier than being pulled out of deep sleep. It is a helpful guide, not a strict rule, since cycle length varies from person to person.