Sleep Calculator
Find the best bedtime or wake-up time based on 90-minute sleep cycles.
Find the perfect bedtime or wake-up time based on 90-minute sleep cycles.
</> Embed this calculator
Free to embed on any website — no sign-up needed. Paste this snippet where you want the calculator to appear.
<div class="yootil-widget" data-tool="sleep-calculator"></div>
<script src="https://yootils.com/widgets/v7/widgets.js" integrity="sha384-+/J+UJUQkd8qBlJ2y9qW3wNk89iZUobwuVdo6dqpCvoanps684ZTa7cGCJ5L1AQc" crossorigin="anonymous" async></script>
About sleep cycles
Sleep duration by number of cycles
What is a sleep cycle?
A sleep cycle lasts around 90 minutes and moves through four stages. NREM Stage 1 (~5 min): the transition from wakefulness — easily disturbed. NREM Stage 2 (~20 min): body temperature drops, heart rate slows — makes up ~50% of total sleep. NREM Stage 3 (deep sleep, ~30 min): the hardest stage to wake from, crucial for physical repair and immune function. REM (~20 min): vivid dreaming, emotional processing, and memory consolidation. Each cycle ends in lighter sleep — the natural moment to wake.
Why time your wake-up?
Waking mid-cycle — particularly during NREM Stage 3 deep sleep — triggers sleep inertia: impaired alertness, grogginess, and slowed cognitive function that can last 20–60 minutes. This happens because deep sleep suppresses cortisol (the waking hormone). Timing your alarm to the natural end of a 90-minute cycle means you emerge from lighter sleep, where cortisol is already rising. The difference in how you feel can be significant even at the same total hours of sleep.
The 14-minute rule
Research shows the average adult takes about 14 minutes to fall asleep after getting into bed — a measure called sleep latency. This calculator adds that buffer so the times shown represent when to get into bed, not when sleep begins. Sleep latency varies by individual and day: stress, caffeine, blue light exposure, and room temperature all influence it. If you typically fall asleep faster or slower than 14 minutes, adjust the shown times accordingly.
Tips for better sleep
The most evidence-supported habits: keep a consistent sleep and wake time even on weekends — a regular schedule anchors your circadian rhythm. Avoid screens 60 minutes before bed to reduce melatonin-suppressing blue light. Keep your room cool (16–18 °C / 61–65 °F) — body temperature must fall slightly to initiate sleep. Limit caffeine after 2 PM (half-life is 5–7 hours). Get morning sunlight within 30 minutes of waking. Avoid alcohol as a sleep aid — it suppresses REM sleep and causes fragmented waking later in the night. Regular aerobic exercise is one of the most effective long-term sleep aids — plan your training with the pace calculator.
Worked example
Target wake time: 7:00 AM. Adding 14 minutes to fall asleep means sleep should ideally begin at 6:46 AM. Working back in 90-minute cycles: 6 cycles (9 hrs) = bedtime 9:46 PM; 5 cycles (7.5 hrs) = 11:16 PM; 4 cycles (6 hrs) = 12:46 AM; 3 cycles (4.5 hrs) = 2:16 AM (minimum). The 9:46 PM and 11:16 PM times are the most restorative choices.
Sleep, Health & Performance
How much sleep do adults need?
The NHS and the American Academy of Sleep Medicine recommend 7–9 hours per night for most adults. Fewer than 6 hours consistently is associated with elevated risk of obesity, type 2 diabetes, and cardiovascular disease. Teenagers need 8–10 hours; school-age children 9–11 hours. People who claim to "function on 6 hours" are usually adapted rather than efficient — cognitive testing shows they perform as poorly as those who've had two full nights without sleep, but no longer perceive themselves as impaired. The BMR calculator shows how sleep deprivation can affect your metabolism and calorie needs.
What REM sleep does for you
REM sleep — which dominates the later cycles of the night — is essential for memory consolidation, emotional regulation, and creative thinking. During REM, the hippocampus replays experiences from the day and transfers them to long-term storage. This is why pulling an all-nighter before an exam is counterproductive: the memory consolidation window is lost. REM sleep also strips the emotional charge from difficult memories, which may explain why "sleeping on it" genuinely helps with perspective and decision-making.
The cost of sleep deprivation
Missing even one to two hours per night accumulates as sleep debt with measurable consequences: reaction time slows, working memory declines, and decision-making quality drops. After 17–19 hours of wakefulness, cognitive impairment is equivalent to a blood alcohol level of 0.05%. Chronic sleep restriction raises cortisol and suppresses leptin (the satiety hormone), increasing appetite and promoting fat storage. Cardiovascular disease risk increases measurably at under 6 hours per night. Track your weight and health metrics with the BMI calculator.
Can you catch up on missed sleep?
Partial recovery is possible — a long weekend lie-in can restore some alertness and reduce inflammatory markers elevated by sleep deprivation. However, cognitive deficits from weeks of insufficient sleep do not fully recover in one or two nights; full restoration can take several consecutive nights of adequate sleep. The better strategy is consistent sleep rather than debt-and-recovery cycling. Naps of 20 minutes (avoiding deep sleep entry) can restore alertness mid-day without causing grogginess or disrupting night sleep.
Frequently Asked Questions
What is a sleep cycle and how long does it last?
A sleep cycle lasts around 90 minutes, moving through three progressively deeper NREM stages followed by REM sleep. Waking at the end of a complete cycle — when you are in the lightest stage — minimises the heavy, disoriented feeling known as sleep inertia. Most adults complete 5–6 full cycles in a healthy night.
Why does the sleep calculator add 14 minutes?
On average it takes about 14 minutes to fall asleep after getting into bed — a measure called sleep latency. The calculator adds this buffer automatically, so the times shown represent when to get into bed, not when sleep begins. If you typically fall asleep faster or slower, adjust the shown times by a few minutes accordingly.
How many sleep cycles do I need each night?
Most adults need 5–6 complete sleep cycles per night, equating to roughly 7.5–9 hours. Fewer than 5 cycles (under 7.5 hours) is associated with increased health risks and impaired cognitive performance over time. The calculator marks 5 cycles (7.5 hours) as "Good" and 6 cycles (9 hours) as "Optimal".
What is sleep inertia and how do I avoid it?
Sleep inertia is the grogginess and impaired alertness that occurs when waking mid-cycle, particularly from NREM Stage 3 deep sleep, because deep sleep suppresses cortisol release. To minimise it: use this calculator to align your alarm with the end of a 90-minute cycle, expose yourself to bright light immediately on waking, and avoid snoozing — re-entering sleep makes inertia worse, not better.
Evidence & Methodology
How This Page Is Grounded
Method
Counts backwards or forwards in 90-minute planning intervals and includes the selected time allowed to fall asleep.
Important limitation: Real sleep cycles vary within and between people; these times are planning prompts, not predictions of sleep stage or medical advice.
Primary Sources
Quality Checks
Midnight rollover, 12/24-hour formatting and interval arithmetic are checked.
See how sources are selected and corrections are handled in our Editorial & Calculation Methodology, and which automated checks this page has to pass in How We Test.