Your alarm is set for 6:30 AM. You go to bed at midnight, sleep for six and a half hours, and wake up feeling like you were hit by a truck. The next night you go to bed at 11:00 PM, sleep for seven and a half hours, and wake up clear-headed. One extra hour explains some of it — but not all of it. The real difference is where your alarm caught you inside a sleep cycle.

Sleep does not come in one smooth block. It comes in cycles of about 90 minutes, and waking up at the end of a cycle feels completely different from waking up in the middle of one.

The 90-minute rule

One sleep cycle lasts roughly 90 minutes. You drift through light sleep, then deep sleep, then REM sleep — the dreaming stage — and then the cycle starts again. A typical night holds four to six cycles. The maths is simple:

Bedtime = Wake time − (Number of cycles × 90 minutes)

So for a 6:30 AM wake-up:

Cycles Hours of sleep Fall asleep by
4 6 hours 12:30 AM
5 7.5 hours 11:00 PM
6 9 hours 9:30 PM

Five cycles is the sweet spot for most adults: 7.5 hours, inside the recommended 7–9 hours. Six cycles gives you a full 9 hours for nights when you are catching up. Four cycles — 6 hours — will get you through a day, but it is below what most adults need, and you will feel it by the afternoon.

One detail matters: the table gives the time to fall asleep, not the time to get into bed. Most people need about 15 minutes to drift off, so for a 6:30 AM wake-up, get into bed at 10:45 PM for the five-cycle plan, or 9:15 PM for the six-cycle plan. If you climb into bed at 11:00 PM sharp, you will actually fall asleep around 11:15 PM, and your alarm will catch you 15 minutes into a cycle instead of at its end.

Why waking mid-cycle feels so bad

Deep sleep is the stage your body uses for physical recovery, and it dominates the first cycles of the night. If your alarm goes off in the middle of deep sleep, you wake up with sleep inertia — that heavy, foggy, almost-drunk feeling that can last 30 minutes or more. Waking at the end of a cycle, when you are in light sleep or just finishing REM, feels like surfacing naturally: you are groggy for a minute or two, then you are awake.

This is why two nights with similar total sleep can feel so different. Six and a half hours from midnight to 6:30 AM is four cycles plus 30 minutes — your alarm lands 30 minutes into your fifth cycle, in deep sleep. Seven and a half hours from 11:00 PM to 6:30 AM is exactly five cycles, and your alarm lands at a cycle boundary. Same alarm, same bed, very different morning. The fix costs nothing: shift your bedtime by 30–45 minutes so the alarm lines up with a cycle end.

Working it backwards for any wake time

You do not need to memorise a table — the 90-minute rule works for any alarm. Subtract 7.5 hours for five cycles, or 9 hours for six:

Wake up at 5 cycles (7.5 h) — fall asleep 6 cycles (9 h) — fall asleep
5:00 AM 9:30 PM 8:00 PM
6:00 AM 10:30 PM 9:00 PM
6:30 AM 11:00 PM 9:30 PM
7:00 AM 11:30 PM 10:00 PM
8:00 AM 12:30 AM 11:00 PM

Then add the 15-minute rule: get into bed 15 minutes before the fall-asleep time. A 7:00 AM riser on five cycles falls asleep at 11:30 PM and gets into bed at 11:15 PM. An 8:00 AM riser on six cycles falls asleep at 11:00 PM and gets into bed at 10:45 PM. If you want to know the answer for your own alarm time without doing the subtraction, that is exactly what a sleep calculator does — enter your wake time and it lists the bedtimes for 3, 4, 5 and 6 cycles.

The three mistakes that ruin the maths

Counting from when you get into bed. If you get into bed at 11:00 PM and fall asleep at 11:15 PM, your five cycles end at 6:45 AM, not 6:30 AM. Always count from when you fall asleep, and budget the 15 minutes.

Chasing a round number of hours. Eight hours sounds right, but 8 hours is five cycles plus 30 minutes — your alarm lands mid-cycle. Seven and a half hours, or nine, lines up with a cycle end and usually feels better than eight. The cycle boundary matters more than the round number.

Changing bedtime by an hour on weekends. Shifting your bedtime by an hour or two on Saturday night moves your cycles, so Monday's 6:30 AM alarm catches you mid-cycle again. Consistency is what makes the maths work night after night: the same bedtime, the same wake time, and the cycles line up on their own.

How much sleep you actually need

The cycle maths tells you when to sleep; your age tells you how much. Adults need 7–9 hours a night, which is five or six cycles. Teenagers need 8–10 hours, school-age children 9–12, and older adults 7–8. So if you are an adult waking at 6:30 AM, the five-cycle plan (11:00 PM, 7.5 hours) is the default, and the six-cycle plan (9:30 PM, 9 hours) is the one for nights when you are run down. And if you are wondering whether to ask the other question — not when to go to bed, but what time should i wake up for the alarm you already set — the answer is the same table, read in the other direction.

Try it tonight

Set your alarm for 6:30 AM, count back five cycles to 11:00 PM, and get into bed at 10:45 PM. If you wake up clearer than usual, the cycle boundary did the work, not the extra sleep. A free sleep calculator works out the bedtimes for any wake time — five cycles, six cycles, and the 15-minute fall-asleep buffer included — so tonight's maths takes ten seconds instead of ten minutes.