Sleep Cycle Calculator

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

Informational content. This tool does not replace advice from a qualified professional. Use the results as a reference only.

How to use

  1. Choose your mode: enter a wake-up time, or tell the tool you want to sleep now.
  2. Read the suggested bedtimes (or wake-up times), each aligned to a complete 90-minute cycle.
  3. Pick one that gives you 5 or 6 full cycles — that is 7.5 or 9 hours, the range most adults need.

About this tool

Sleep is not a single state that starts when you close your eyes and ends when the alarm rings. It cycles through stages — light sleep, deep sleep and REM — in blocks of roughly 90 minutes. Waking up at the end of a cycle, during light sleep, feels very different from being pulled out of deep sleep halfway through one. The groggy, disoriented feeling of a badly timed alarm is real and has a name: sleep inertia.

This calculator assumes each cycle lasts 90 minutes and that it takes about 15 minutes to fall asleep. Neither number is exact — cycles vary from 70 to 120 minutes depending on the person and the time of night, and falling asleep can take anywhere from 5 minutes to an hour. The 90/15 values are the averages used in sleep science, and they work well enough as a planning tool even though they are not a measurement of your actual sleep.

Practically: 5 cycles is 7.5 hours, 6 cycles is 9 hours. Most adults need 7 to 9 hours, so 5 or 6 cycles is the target. Fewer than 4 cycles (6 hours) is consistently associated with impaired cognition and health outcomes, regardless of how fine you feel. Everything runs in your browser — no data is collected.

The formula

Bedtime = wake time − (cycles × 90 min) − 15 min to fall asleep. Wake time = now + 15 min + (cycles × 90 min).

Frequently asked questions

Why 90 minutes?

That is the average length of a human sleep cycle — from light sleep through deep sleep and REM back to light sleep. The actual length varies from 70 to 120 minutes between people and even between cycles in the same night.

Why 15 minutes to fall asleep?

That is the average sleep onset latency for a healthy adult. If you know you take longer or shorter, adjust mentally.

Is it better to sleep 6 hours or 7.5?

7.5 (5 cycles). Chronic sleep of 6 hours or less is associated with measurable cognitive decline and health risks, even in people who have adapted to it and no longer feel sleepy.

Does this replace a sleep study?

No. If you consistently wake unrefreshed or snore loudly, a medical evaluation is the right step. This is a planning tool, not a diagnosis.

Does my data leave my browser?

No. The times are calculated in JavaScript and nothing is stored or transmitted.

Related tools

Long links? Shorten them for free

Vai.la turns any URL into a short link with click statistics, QR Code and your own biolink.

Vai.la is not responsible for how the tools are used or for decisions made based on their results.