Sleep Cycle Calculator

When should you go to bed to wake up refreshed? Get bedtimes that finish full 90-minute sleep cycles in seconds.

Advanced: sleep cycle length

Most people average about 90 minutes. Leave it at 90 unless you know yours is different.

How the sleep cycle calculator works

Sleep is not one long flat state — it runs in repeating cycles. Each cycle moves you from light sleep (stages N1 and N2) into deep slow-wave sleep (N3) and finally into REM sleep, where most vivid dreaming happens. A full cycle averages about 90 minutes, and a typical night is built from five to six of them. This tool works backward or forward in whole 90-minute cycles so that your alarm lands at the end of a cycle, in light sleep, rather than in the middle of deep sleep.

Waking during deep sleep is what produces that heavy, disoriented feeling called sleep inertia. Waking at a cycle boundary is why seven and a half hours can leave you sharper than eight hours that end mid-cycle.

Using the tool

  1. Pick a mode: enter the time you must wake up, or the time you are going to bed.
  2. Set how long you take to fall asleep (sleep latency). Fifteen minutes is a common default; healthy adults often fall between 10 and 20.
  3. Leave the cycle length at 90 minutes unless you have tracked your own and know it differs.

The arithmetic behind it

To hit a wake-up time, the tool subtracts latency and then whole cycles: bedtime = wake time − latency − (n × 90 min), offering several values of n (usually 6, 5, and 4 cycles). In bedtime mode it adds instead: wake time = bedtime + latency + (n × 90 min).

Example 1 — target wake time. You want to be up at 6:30 AM, with 15 minutes to fall asleep. Five cycles = 450 min = 7 h 30 m of sleep; add the 15-minute latency and you should be in bed by 10:45 PM. Six cycles (9 h) points to 9:15 PM.
Example 2 — "sleep now". It is 11:20 PM and you press sleep now. Add 15 minutes to fall asleep (asleep near 11:35 PM). Five cycles later is 7:05 AM; four cycles gives a shorter 6:05 AM if you must be up early.

Cycles at a glance

CyclesSleep timeBest for
46 h 00 mA short night; fine occasionally, not as a habit
57 h 30 mA solid target for many adults
69 h 00 mFull rest, recovery, catching up

Common mistakes and limits

This is educational information, not medical advice. Persistent trouble falling asleep, staying asleep, or daytime exhaustion is worth discussing with a qualified clinician rather than solving with timing alone.

Sources & further reading

Frequently asked questions

What is a sleep cycle, and why 90 minutes?

During the night your brain moves through repeating sleep cycles — light sleep, then deep sleep, then REM (dreaming) — before starting over. One full cycle lasts about 90 minutes on average, so a good night is usually made of several complete cycles rather than a fixed number of hours.

How many sleep cycles or hours of sleep do I need?

Most adults feel best on 5 to 6 full cycles a night, which is roughly 7.5 to 9 hours of sleep. This sleep cycle calculator highlights the 5- and 6-cycle options as recommended, and still shows shorter 3- to 4-cycle plans for the nights when you simply can't get a full rest.

Why is it better to wake up at the end of a cycle?

Waking in the middle of deep sleep triggers sleep inertia — that heavy, groggy feeling that can linger for a while. If your alarm lands at the end of a cycle, when sleep is lightest, you tend to wake up more easily and feel refreshed, even after the same amount of sleep.

Why does the calculator add about 15 minutes to fall asleep?

Almost nobody falls asleep the instant their head hits the pillow. This gap is called sleep latency, and it shifts your real bedtime. The bedtime calculator adds your fall-asleep time (15 minutes by default, adjustable from 0 to 60) so the cycles are counted from when you actually drift off, not from when you get into bed.

Is this medical advice, and is my sleep data private?

No — the times here are averages meant for general reference, not medical advice; if you have ongoing sleep problems, talk to a doctor. Your privacy is fully protected: every calculation runs inside your browser, your times are saved only on your own device, and nothing is ever sent to a server.