How sleep cycles work, and how to plan around them

Last updated 2026-11-29

A bedtime calculator looks like a party trick until you have woken up at 6:30 AM after seven and a half hours of sleep and felt worse than after six. The reason is that sleep is not a single block of time but a series of cycles, each lasting around 90 minutes, and the alarm does not care where in a cycle it lands. This page explains the arithmetic behind the tool, which is short, and the assumptions behind it, which are worth knowing before you rearrange your evening.

1. What a sleep cycle is

Sleep is organised into cycles that move through lighter and deeper stages. A typical cycle begins with light sleep, drops into slow-wave deep sleep, climbs back toward lighter sleep and ends with a period of REM sleep, where most dreaming happens. Then the next cycle starts, usually with less deep sleep and more REM than the one before it.

A full night is normally four to six of these cycles. The first two or three carry most of the deep sleep, and the last two carry most of the REM. That uneven distribution is why cutting the final cycle short feels different from cutting an early one: the deep sleep has already been collected, but the REM has not.

None of this is visible from the outside, which is why the calculator works in time rather than in stages. It cannot tell you what your body is doing at 2:14 AM. It can tell you that if your cycles are close to the average length, a bedtime of 10:45 PM puts the end of your fifth cycle almost exactly at your 6:30 AM alarm.

2. Why the standard cycle is 90 minutes

Ninety minutes is an average, not a constant. Real cycles commonly run from about 70 to 120 minutes, and the length shifts across the night, with shorter cycles early and longer ones later. The 90-minute figure survives because it is close enough for planning and simple enough to do in your head.

That averaging has a consequence worth stating plainly: a bedtime calculated on 90-minute cycles is a target, not a guarantee. If your cycles run at 80 minutes, five cycles take 6 hours 40 minutes rather than 7 hours 30 minutes, and the alarm lands 50 minutes into the next cycle instead of at the boundary. The plan still helps, but it helps statistically rather than precisely.

3. Counting backward from the alarm

The arithmetic has three parts. Take the alarm time, subtract 90 minutes for each cycle you want, then subtract the minutes it takes you to fall asleep. The result is the time to get into bed, not the time to start getting ready for bed.

Bedtime = wake-up time - (cycles x 90 minutes) - minutes to fall asleep

At the default 6:30 AM alarm with 15 minutes of latency, five cycles is 6:30 AM minus 7 hours 30 minutes minus 15 minutes, which is 10:45 PM. Six cycles is 9:15 PM, four cycles is 12:15 AM and three cycles is 1:45 AM. Every one of those times is the moment to be in bed with the lights out, not the moment to begin a bedtime routine.

CyclesTime asleepBedtime for a 6:30 AM alarm
34 h 30 min1:45 AM
46 h 00 min12:15 AM
57 h 30 min10:45 PM
69 h 00 min9:15 PM

Moving the alarm moves the whole list by the same amount. A 6:00 AM alarm produces 1:15 AM, 11:45 PM, 10:15 PM and 8:45 PM for the same four cycle counts, because the entire schedule is anchored to the time you get up rather than to the time you go to bed.

4. Why the output is a list and not one time

A single recommended bedtime would be wrong for most people on most nights. Life does not end at 9:15 PM so that you can collect six cycles, and a plan you cannot keep is worse than a plan with options. Four windows let you choose the one that fits the evening you are actually having.

The trade-off is straightforward. Six cycles gives 9 hours and the most REM, but it demands a 9:15 PM bedtime. Five cycles gives 7 hours 30 minutes and lands inside the 7 to 9 hour range for adults. Four cycles gives 6 hours, which is short of that range but far better than five hours. Three cycles gives 4 hours 30 minutes and should be a damage limitation move, not a habit.

The calculator highlights five cycles as the main recommendation because 7 hours 30 minutes sits in the middle of the adult range and is achievable on a normal evening. Four cycles is the fallback. Six is available for people who genuinely go to bed early, and three is there for the nights when nothing else worked.

5. Sleep latency belongs in the schedule

The minutes between getting into bed and actually sleeping are part of the night whether or not you plan for them. The default is 15 minutes, which is a middle estimate for a healthy adult who is not fighting the schedule. Set it to 5 if you fall asleep almost immediately and to 30 or more if you routinely lie awake.

Minutes to fall asleepBedtime for 5 cyclesSleep lost
011:00 PM0 min
1510:45 PM15 min
3010:30 PM30 min
4510:15 PM45 min

The table shows the cost clearly. If you assume you fall asleep instantly and actually take 30 minutes, the alarm lands half an hour into your sixth cycle's worth of sleep rather than at the end of the fifth. The bedtime does not change; your estimate of when sleep starts does.

Latency is also the input most worth tracking for a week. If your own number is consistently above 30 minutes, the problem is not the bedtime arithmetic, it is the gap between going to bed and sleeping, and moving the bedtime earlier will not fix it.

6. Age changes the target, not the cycle

The 90-minute cycle stays roughly the same across adulthood, but the recommended total sleep changes. Teens need more, adults need a middle range, and older adults need slightly less and often sleep in a more fragmented pattern. At 35, the calculator returns 7 to 9 hours, which is why five cycles of 7 hours 30 minutes is the highlighted option.

Age groupAge rangeRecommended sleepWhole cycles that fit
Teen13-178-10 h5 to 6
Adult18-647-9 h4 to 6
Older adult65+7-8 h4 to 5

The last column rounds down, because a partial cycle does not count as a completed one. That is why a 17-year-old aiming for 8 hours is really aiming for five full cycles plus a fragment, and why an older adult at 7 hours is at four and a half cycles rather than five.

7. The default night, hour by hour

Here is the 6:30 AM default written out as a schedule. Sleep begins around 11:00 PM after the 15 minute latency, the first cycle ends around 12:30 AM, and each subsequent cycle adds 90 minutes until the fifth ends at 6:30 AM.

TimeWhat happens
10:45 PMLights out, five-cycle bedtime
11:00 PMSleep begins after 15 minutes of latency
12:30 AMEnd of cycle 1
2:00 AMEnd of cycle 2
3:30 AMEnd of cycle 3
5:00 AMEnd of cycle 4
6:30 AMEnd of cycle 5, alarm

Two details are worth noticing. The schedule has no buffer for a 20 minute scroll after lights out, so a realistic bedtime is 10:25 PM rather than 10:45 PM. And the alarm sits exactly at a boundary only if the latency estimate is right, which is why the calculator shows the arithmetic instead of just the answer.

8. What the calculator cannot know

The model has no information about your chronotype, your shift schedule, your caffeine intake or how much sleep you lost earlier in the week. It also cannot see whether you have a sleep disorder, and it has no way to adjust for the fact that cycles lengthen as the night goes on.

None of that makes the arithmetic useless. It makes it a scheduling tool rather than a diagnostic one. The output is the best bedtime if your sleep behaves like an average adult's, and a reasonable starting point if it does not.

9. What to do when the suggested time is impossible

Sometimes the honest answer is that you are going to bed at midnight no matter what the chart says. In that case, pick the nearest boundary rather than the nearest hour. At a 6:30 AM alarm, going to bed at 12:15 AM gives four complete cycles; going at 11:50 PM gives four cycles plus 25 minutes of the next one, and the alarm will land in the middle of cycle five.

If you are already past every bedtime on the list, the least bad option is to shorten the night deliberately and keep the wake time fixed. Sleeping 11:45 PM to 6:30 AM is six hours and four cycles. Sleeping 1:00 AM to 9:00 AM is eight hours but moves the alarm, which makes the following night harder.

Consistency of wake time is the part most worth protecting. A stable alarm anchors the whole schedule, and the bedtimes can then be recalculated each evening in seconds rather than renegotiated from scratch.

10. Using the tool without overthinking it

The useful habit is small: once a week, check the wake time and latency fields, look at the five-cycle bedtime, and decide whether your evenings can support it. If they can, aim for it. If they cannot, use the four-cycle time and accept a shorter night without treating it as a failure.

What the calculator is genuinely good at is turning a vague intention into a clock time. What it is bad at is predicting how you will feel, because that depends on sleep quality, stress, alcohol, room temperature and a dozen other things it cannot see. Use the time, then judge the night by how you feel rather than by how closely you hit the number.

This calculator is for general education and is not medical advice. It cannot detect or treat insomnia, sleep apnea or any other sleep disorder. If you wake unrefreshed for weeks, snore heavily or fall asleep during the day, talk to a clinician.

Open the Sleep Cycle Calculator

Keep reading