Sleep & Bedtime Calculator
Set an alarm and get the bedtimes that end a sleep cycle at it, or set a bedtime and get the wake times — four to seven cycles, with how much sleep each one actually buys you. Both assumptions behind the arithmetic are yours to change.
Working back from a wake-up time
The same arithmetic either way. Switching resets the time below, because 7:00 AM is a sensible alarm and an odd bedtime.
The time the alarm goes off. Bedtimes are counted backwards from it.
Ninety minutes is a population average, not your number. Real cycles run roughly 70 to 120 minutes and lengthen through the night. Change this and watch how far every time moves.
Sleep latency — lights out to actually asleep. Fifteen minutes is the usual assumption, and it changes nightly.
Lights out at 11:15 PM, about 15 minutes to fall asleep, then 5 cycles of 90 minutes puts the alarm at 7:00 AM. That is 7 hr 30 min of sleep. The other options are below — and the total matters more than which one lands on a cycle boundary.
- Wake-up time
- 7:00 AM
- Go to bed at
- 11:15 PM
- Sleep in that option
- 7 hr 30 min
- Time in bed for it
- 7 hr 45 min
- Cycles
- 5 × 90 min
- Options under 7 hours
- 1 of 4
| Go to bed at | Cycles | Sleep | For an adult 18–60 |
|---|---|---|---|
| 8:15 PM | 7 | 10 hr 30 min | Above the 7–9 hour range |
| 9:45 PM | 6 | 9 hr | Inside the 7–9 hour adult range |
| 11:15 PM | 5 | 7 hr 30 min | Inside the 7–9 hour adult range |
| 12:45 AM | 4 | 6 hr | Under the 7-hour adult floor |
- These are a rough guide, not a precision instrument. The 90-minute cycle is a population average; individual cycles run roughly 70 to 120 minutes, differ between people, and lengthen across the night as the REM share grows. By the fourth boundary the error can be most of an hour.
- Waking “between cycles” is a heuristic, not a guarantee. Nothing here can see your actual sleep architecture, and an alarm cannot ask permission from your brain.
- Total sleep matters more than cycle alignment. The CDC and the AASM/Sleep Research Society consensus both put the floor for adults 18–60 at 7 or more hours a night; a tidy 6-hour night is still a short one.
- General educational information, not medical advice. Persistent trouble sleeping, or sleepiness that does not lift after enough hours in bed, is worth raising with a clinician.
These are a rough guide, not a precision instrument
Sleep runs in cycles of light sleep, deep sleep and REM, and averaged across healthy adults one cycle comes out near 90 minutes. That average is where every bedtime on this page comes from, and it is worth knowing how much weight it can carry.
The first cycle of the night usually runs 70 to 100 minutes and later ones 90 to 120. Cycles differ between people. They also lengthen as the night goes on, because the REM share of each one grows — the first REM period can be under ten minutes and a late one up to forty. So a night is not four to seven identical blocks, and the error in pretending it is compounds with every cycle: at the fifth boundary, someone whose cycles run 80 minutes is nearly an hour away from where this arithmetic puts them.
Waking “between cycles” is therefore a heuristic, not a guarantee. The thing it is aiming at is real — sleep inertia, the grogginess of being woken out of deep sleep, is worse than being woken out of light sleep — but nothing here can see your actual sleep architecture, and an alarm cannot ask permission from your brain.
Total sleep time matters more than cycle alignment. That ordering is the honest one and it is the opposite of how most sleep calculators present themselves. The evidence that adults aged 18 to 60 need seven or more hours a night is strong and consistent; the evidence that landing on a boundary makes a measurable difference is thin next to it. If the two ever conflict — and on the default settings they do, because four cycles of 90 minutes is a tidy six hours and six hours is not enough — take the sleep.
General information, not medical advice
This page does arithmetic on two assumptions you can see and change. It is general educational information, not a diagnosis and not advice about you. Persistent trouble falling or staying asleep, or sleepiness that does not lift after enough hours in bed, is worth raising with a clinician — insomnia, sleep apnoea and circadian rhythm disorders are common, treatable, and entirely invisible to a calculator.
The whole of the arithmetic
Two additions and a wrap around midnight. There is nothing else in here, and any calculator that appears to do more is doing more with the same two numbers.
bedtime = wake − (n × c + L) • wake = bedtime + (L + n × c)- n
- Number of complete cycles — 4, 5, 6 or 7
- c
- Assumed cycle length in minutes, default 90, editable from 60 to 120
- L
- Sleep latency — lights out to actually asleep, default 15 minutes
- Sleep
- n × c. The latency is time in bed, not time asleep, and is never counted as sleep
Every figure is a whole number of minutes, so nothing is rounded and nothing is approximated: a bedtime of 11:15 PM is exactly 7 hours 45 minutes before a 7:00 AM alarm. The precision of the arithmetic says nothing at all about the accuracy of the model behind it — see above.
Each option is then banded against the adult guidance rather than left as a bare time. Under seven hours of sleep is short. Seven to nine is inside the recommended range. Above nine is more than the range asks for, which the consensus statement treats as uncertain rather than harmful. The band is taken from time asleep, not time in bed, so a long wait to fall asleep never inflates a short night into an adequate one.
A 7:00 AM alarm, 15 minutes to fall asleep
Five cycles is 5 × 90 = 450 minutes, which is 7 hours 30 minutes of sleep. Add the 15 minutes it takes to drop off and you need 7 hours 45 minutes in bed, so the light goes off at 11:15 PM. Six cycles is 540 minutes, 9 hours 15 minutes in bed, lights out at 9:45 PM. Four cycles is 360 minutes — six hours — and lights out at 12:45 AM. That last one divides by 90 as neatly as the others and is still below the seven-hour floor, which is why the table labels it rather than leaving you to notice.
Now the case that shows what the model is worth. Suppose your cycles actually run 80 minutes rather than 90 — well inside the normal range. You go to bed at 11:15 PM as instructed and fall asleep at 11:30. Five cycles of 80 minutes is 6 hours 40 minutes, so your fifth boundary is at 6:10 AM and the alarm at 7:00 catches you 50 minutes into the sixth cycle — the precise situation the bedtime was chosen to avoid. You also got 6 hours 40 minutes of sleep instead of 7 hours 30, which is the part that actually matters.
The 50-minute error is not a flaw in the arithmetic; it is what a ten-minute-per-cycle assumption gap looks like after five cycles. Change the cycle field to 80 and the calculator will tell you the same thing: at that cycle length, five cycles no longer clears seven hours, and the recommendation moves to six.
What this calculator assumes
- Every cycle is the same length. Real ones are not — the first is usually the shortest and the last the longest — so the error grows with each cycle rather than staying constant.
- You fall asleep once and stay asleep. Night wakings, a restless first hour, and a 3 AM trip to the bathroom are not modelled and would each shift every boundary after them.
- Sleep latency is a single number you supply. In reality it moves with stress, caffeine, alcohol, light, exercise and how much sleep you have already missed.
- The 7-to-9-hour band is the adult one, for ages 18 to 60. Teenagers, children and older adults have different published ranges, and this page does not apply them.
- Wall-clock time only. The times are read and shown on the clock in your room, with no time zone conversion — which is also why this tool is no help at all with jet lag or a rotating shift pattern.
- Nothing about you personally. Chronotype, sleep debt carried from previous nights, medication, and every sleep disorder are outside the model, because none of them can be recovered from a clock time.
Sleep calculator FAQ
How many hours of sleep do adults actually need?
Seven or more per night, for adults aged 18 to 60. That is the CDC's guidance and the conclusion of the joint consensus statement from the American Academy of Sleep Medicine and the Sleep Research Society, which reviewed the evidence linking short sleep to weight gain, diabetes, hypertension, heart disease, stroke, depression and increased mortality. The recommended range runs to about nine hours; above that the same panel says the evidence is uncertain rather than that more is harmful, and notes that longer nights can be appropriate for young adults, for people repaying sleep debt, and for people who are ill. This is the number to plan around. Cycle alignment is a refinement on top of it, not a substitute for it.
What time should I go to bed to wake up at 7:00 AM?
On the default assumptions — 15 minutes to fall asleep and 90-minute cycles — 11:15 PM gives you five cycles and 7 hours 30 minutes of sleep, and 9:45 PM gives you six cycles and 9 hours. 12:45 AM gives you four cycles, which is six hours, and six hours is below the adult floor no matter how tidily it divides by 90. If you take longer than a quarter of an hour to drop off, change the second field: every bedtime moves earlier by exactly the amount you add.
Is the 90-minute sleep cycle real?
It is a real average and a poor individual prediction. A night of sleep does cycle through light sleep, deep sleep and REM, and across a population of healthy adults those cycles come out near 90 minutes. But the first cycle of the night typically runs 70 to 100 minutes and later ones 90 to 120, they differ from person to person, and the REM share grows as the night goes on — so the cycles are neither identical nor equal in length. Multiplying one average by seven and reading a clock time off the answer is arithmetic the underlying number cannot support. That is why the cycle length is an editable field here rather than a hidden constant: change it to 80 and watch every time on the list move.
Is it better to sleep 6 hours or 7.5 hours?
7.5, and it is not close. The evidence that adults need seven or more hours is strong and consistent across large studies; the evidence that waking at a cycle boundary matters is thin by comparison. A calculator that recommends a six-hour night because it divides neatly by 90 has ranked a weak effect above a strong one. If the only choice available tonight is between six hours and nothing, take the six — but do not choose six over seven and a half because a tool drew a tidy line under it.
Does waking between cycles really stop you feeling groggy?
The grogginess has a name — sleep inertia — and it is genuinely worse when you are woken out of deep sleep than out of light sleep, so the idea behind cycle timing is not nonsense. What is nonsense is the precision. Nothing on this page can see your sleep architecture: it does not know when you actually fell asleep, how long your cycles ran tonight, or whether a noise at 3 AM restarted one. The times here are a reasonable guess at where a boundary might fall, and being 20 minutes out is entirely normal. Treat them as a heuristic, not a guarantee.
How long should it take to fall asleep?
Around 15 to 20 minutes is typical for an adult, which is why 15 is the default here. Consistently falling asleep in under five minutes usually means you are short on sleep rather than unusually good at it. Consistently taking more than 30 minutes, or waking often and struggling to get back, is worth raising with a clinician — insomnia and sleep apnoea are common, treatable, and not things a bedtime calculator can help with.
Why does another sleep calculator give me a different bedtime?
Almost certainly because it assumed something different and did not tell you. The two assumptions that move the answer are the cycle length and the time you take to fall asleep: a tool that assumes 90 minutes and 14 minutes of latency will disagree with one that assumes 90 and 15 by a quarter of an hour, and one that assumes 100-minute cycles will disagree by nearly an hour at seven cycles. Both fields are visible and editable here so the disagreement is legible instead of mysterious.
Sources and review notes
- Centers for Disease Control and Prevention, About Sleep — the 7-or-more-hours guidance for adults aged 18 through 60
- Watson et al., “Recommended Amount of Sleep for a Healthy Adult: A Joint Consensus Statement of the American Academy of Sleep Medicine and Sleep Research Society”, SLEEP 2015;38(6):843–844 — the seven-hour floor, the nine-hour upper edge, and what the panel does and does not claim above it
- Patel, Reddy, Shumway & Araujo, “Physiology, Sleep Stages”, StatPearls (NCBI Bookshelf) — the 70-to-100 minute first cycle, the 90-to-120 minute later ones, and the lengthening REM share across the night
- National Institute of Neurological Disorders and Stroke, Brain Basics: Understanding Sleep — sleep architecture and why the stages are not interchangeable
The arithmetic on this page has no dataset behind it to go stale. The guidance does move: the adult recommendation has been stable since the 2015 consensus statement, and if it changes, the band labels here change with it.