How to calculate sleep, step by step
To calculate sleep, count back from your wake time in 90-minute cycles, then subtract the time it takes to fall asleep. Sleep comes in cycles of about 90 minutes — light sleep, deep sleep, dreaming sleep, then back to light — and waking at the end of a cycle feels easier than waking in the middle of one, so the bedtime that lines the cycles up with your alarm is the one to aim for. On the defaults — wake at 7:00 AM, 15 minutes to fall asleep — the answer is 11:15 PM for 5 full cycles, 7 hours 30 minutes of sleep. Work it out in the sleep calculator.
The worked example: wake 7:00 AM, 5 cycles
The worked example, line by line. Step 1 — five cycles of sleep: 5 × 90 minutes = 450 minutes, 7 hours 30 minutes. Step 2 — asleep by: 7:00 AM minus 7 hours 30 minutes = 11:30 PM. Step 3 — into bed by: 11:30 PM minus 15 minutes to fall asleep = 11:15 PM. Step 4 — six cycles: 6 × 90 minutes = 9 hours; 7:00 AM minus 9 hours minus 15 minutes = 9:45 PM. Step 5 — four cycles: 4 × 90 minutes = 6 hours; 7:00 AM minus 6 hours minus 15 minutes = 12:45 AM. Step 6 — three cycles: 3 × 90 minutes = 4 hours 30 minutes; 7:00 AM minus 4 hours 30 minutes minus 15 minutes = 2:15 AM. The same six steps work for any wake time: pick the cycles, multiply by 90, count back from the wake time, and subtract the time to fall asleep.
What a sleep cycle is
A sleep cycle is about 90 minutes of sleep in stages: light sleep, deep sleep, dreaming sleep, then back to light. The first cycles of the night carry more deep sleep, the later ones more dreaming sleep, and the body moves through the stages in the same order each time. Waking at the end of a cycle, when sleep is lightest, feels easier than waking in the middle of deep sleep — which is why an alarm that lands mid-cycle feels brutal and one that lands at a cycle end feels almost gentle. A cycle is about 90 minutes, not exactly 90: real cycles run 80 to 110 minutes and drift through the night, so 11:15 PM is the best bedtime on the 90-minute rule, not a promise that you will wake refreshed to the minute.
Bedtime from a wake time
The usual direction is bedtime from a wake time: the alarm is fixed, so the bedtime moves. Wake at 7:00 AM, take 5 cycles of 90 minutes — 7 hours 30 minutes — and be asleep by 11:30 PM, which means getting into bed at 11:15 PM with 15 minutes to fall asleep. The time to fall asleep is the part people forget: it is not sleep, and it comes out of the night, so a longer time to fall asleep is an earlier bedtime by the same amount. Most people take 10 to 20 minutes — the default here is 15 — and if you know yours is longer, put your real number in, because the cycles are counted from when you fall asleep, not from when you get into bed.
Wake time from a bedtime
The calculation runs forward just as well: go to bed at 11:15 PM, fall asleep in 15 minutes, sleep 5 cycles of 90 minutes — 7 hours 30 minutes — and wake at 7:00 AM. The same 90-minute steps, counted forward from when you fall asleep instead of back from when you must wake. This direction is the one for a night with no alarm: pick the bedtime, pick the cycles, and the wake time follows. Six cycles from the same bedtime is 9 hours of sleep, four cycles is 6 hours, and three cycles is 4 hours 30 minutes — the rows of the same table, read the other way.
How much sleep you got
Sometimes the question is how much sleep you got, not when to go to bed: bed at 11:15 PM, wake at 7:00 AM, 15 minutes to fall asleep is 7 hours 30 minutes of sleep — 5 full cycles. The working is the same in reverse: from 11:30 PM asleep to 7:00 AM awake is 450 minutes, and 450 divided by 90 is exactly 5, so the night is 5 full cycles with nothing left over. The minutes past the last full cycle are light sleep on top of the cycles — they count as sleep, but they are not another cycle, and they are the reason a night can be 7 hours 30 minutes on the nose or a little over it.
Common mistakes
The first is forgetting the time to fall asleep — counting from the bedtime instead of from when sleep starts, which puts the bedtime a quarter of an hour late. The second is aiming for a round number of hours instead of whole cycles: 5 cycles is 7 hours 30 minutes and 6 cycles is 9 hours, and a target in between lands mid-cycle, where waking feels worst. The third is treating 90 minutes as exact — real cycles run 80 to 110 minutes, so the bedtime is a target, not a guarantee. The fourth is changing the wake time every day — the body keeps a rhythm, and a steady wake time does more for the quality of the night than a perfect bedtime. The fifth is counting a broken night as a whole one — waking in the night comes out of the total, and the calculator counts one unbroken stretch. Work it out in the sleep calculator, and check the sleep-cycle-calculator and the sleep-hours-by-age-chart before you decide what the answer means.
Keeping the rhythm
The calculation gives a bedtime; the rhythm keeps it. A steady wake time — 7:00 AM every day, weekends included — trains the body to fall asleep at the matching bedtime, 11:15 PM for 5 cycles, and the cycles line up on their own after a week or two. Five cycles is the target for most adults: 7 hours 30 minutes, inside the 7 to 9 hours most adults need, long enough to cover the deep sleep early in the night and the dreaming sleep late in it. Four cycles is 6 hours, enough for a night but not for a week; six cycles is 9 hours, the top of the range, worth it after a hard week or an illness. Pick the cycles that match the night you need, keep the wake time steady, and let the bedtime follow.