Sleep Calculator
Why does one 7-hour night feel fine and another feel like a truck? Often it is where the alarm lands. Sleep runs in roughly 90-minute cycles, and waking near the end of a cycle — in light sleep — feels very different from being dragged out of the deep middle. Tell the calculator your fixed point and it does the arithmetic.
To wake at 7:00 AM at the end of a full sleep cycle, get into bed at one of these times:
6 cycles · 9 h of sleep
asleep by 10:00 PM
5 cycles · 7.5 h of sleep
asleep by 11:30 PM
4 cycles · 6 h of sleep
asleep by 1:00 AM
3 cycles · 4.5 h of sleep
asleep by 2:30 AM
Most adults do best on 5–6 cycles (7.5–9 hours). The 3- and 4-cycle options are for the occasional short night, not a routine — if a short option is your everyday plan, the problem is the schedule, not the alarm. This calculator runs entirely in your browser; nothing you enter is stored or sent anywhere.
The idea behind cycle-based timing
Across a night, your brain cycles through light sleep, deep slow-wave sleep, and REM (dream) sleep in rounds of roughly 90 minutes — the figure is an average; real cycles range from about 80 to 120 minutes and get lighter toward morning. Being woken from deep sleep produces sleep inertia, that heavy, disoriented grogginess that can take an hour to clear. Waking from light sleep usually feels cleaner. Since you cannot schedule your alarm around a cycle you can't see, this calculator works the problem from the other end: pick the total number of complete cycles (five cycles ≈ 7.5 hours, six ≈ 9 hours — the range most adults need), and count backwards or forwards from your fixed point.
Two honest limits. First, the 90-minute cycle is a population average, not your personal metronome — treat the suggested times as a good first guess and adjust by 15–20 minutes if you consistently wake groggy. Second, timing is the garnish, not the meal: total sleep time, a consistent wake time, and the basics on the sleep hygiene checklist matter far more. If you want to know what your sleep actually looks like rather than what a formula assumes, keep the sleep diary for two weeks — it computes your real sleep efficiency from your real nights.
This calculator is general sleep education based on average sleep-cycle lengths, not medical advice, and it is not a treatment for insomnia or any sleep disorder. Persistent trouble falling or staying asleep, loud snoring with breathing pauses, or severe daytime sleepiness deserve an in-person medical conversation.
Frequently asked questions
How much sleep do I actually need?
Most adults need 7–9 hours — in cycle terms, 5 to 6 full cycles. A small minority genuinely thrive on less, but the commoner pattern is people adapting to chronic short sleep and mistaking the adaptation for being fine. If you need an alarm, coffee, and willpower to get through the afternoon, the experiment to run is more sleep, not better hacks.
Why does the calculator ask how long I take to fall asleep?
Because cycles run from sleep onset, not from getting into bed. If you lie awake for 15 minutes, a bedtime counted back from your alarm without that buffer quietly steals a quarter-cycle. The default is 15 minutes; adjust it to your honest average.
Is it better to sleep 6 hours in full cycles than 7 hours cut mid-cycle?
Sometimes it feels that way on a single morning — waking from light sleep beats waking from deep sleep. But over weeks, total sleep time wins: chronic short sleep accumulates a debt that good timing cannot repay. Use the short options for the occasional late night, not as a system.
What if I wake up before my alarm, near a suggested time?
Get up. If you are within about 20 minutes of a cycle boundary and feel awake, starting your day beats drifting into a new cycle that the alarm will then cut in half — that second cut is what produces the worst grogginess.
Does this calculator store my times?
No. The calculation happens on your device while the page is open; nothing is saved to local storage or sent to a server. The sleep diary is the tool on this site that keeps records — deliberately, and only in your browser.
Keep going
Your results from every tool are saved only in this browser — see them together on My Results.