Why do six hours of sleep sometimes feel fine and eight hours feel terrible? The answer is sleep cycles. During the night your brain moves through light sleep, deep slow-wave sleep, and REM roughly every 90 minutes. If your alarm fires in the middle of a deep-sleep phase, you wake up groggy with “sleep inertia”; if it fires at the end of a cycle, in light sleep, you come up alert and clear-headed. Total hours matter, but timing decides how those hours feel.
This free calculator applies the cycle math to your schedule. Enter the time you need to wake up and it works backwards in 90-minute steps — minus the time you take to fall asleep — to give you the best bedtimes. Heading to bed now instead? Enter your bedtime and it projects ideal wake-up times so your alarm lands at a cycle boundary. Everything runs locally in your browser; nothing is uploaded or tracked.
Sleep researchers generally recommend 5–6 complete cycles for adults (7.5–9 hours in bed). Four cycles — 6 hours — is a practical floor for an occasional short night, not a habit. The 15-minute fall-asleep buffer is adjustable up to 45 minutes; people who need longer to drift off should set it honestly, because the buffer is what makes the results land.
How to use the Sleep Cycle Calculator
- Choose your mode: “I want to wake up at…” for bedtimes, or “I'm going to bed at…” for wake-up times.
- Enter your time with the time picker — your alarm time or your planned bedtime.
- Adjust the fall-asleep buffer (default 15 minutes) to match how long you usually take to drift off.
- Pick 4, 5 or 6 cycles and read off the suggested times — the 6-cycle option is highlighted as the ideal.
Tips for better sleep
- Keep a consistent bedtime and wake time — even on weekends — to stabilize your cycle rhythm.
- Get morning daylight within an hour of waking; it is the strongest signal for your body clock.
- Avoid caffeine after early afternoon and screens in the last 30–60 minutes before bed.
- If 90 minutes does not match you perfectly (cycles range 80–110 minutes), shift the results ±10 minutes to fit.
What a 90-minute sleep cycle really means
Each cycle passes through NREM stages 1 and 2 (light sleep), stage 3 (deep, restorative slow-wave sleep), then REM dreaming, before the brain starts the next loop. Deep sleep clusters in the first half of the night and REM in the second half, which is why a cut-short night steals more REM than deep sleep. This tool is a planning aid, not medical advice — if you struggle with insomnia, loud snoring, or constant daytime sleepiness, talk to a clinician.
Frequently asked questions
How long is a sleep cycle?
A full sleep cycle — moving through light sleep, deep sleep and REM — lasts about 90 minutes on average for adults. Waking at the end of a cycle (rather than in the middle of deep sleep) is why timing matters.
How many sleep cycles do I need?
Most adults do best with 5 to 6 complete cycles, or 7.5 to 9 hours in bed. Four cycles (6 hours) is the practical minimum for occasional short nights, not a long-term target.
Is it better to wake up during light sleep?
Yes. Waking at the end of a 90-minute cycle lands you in light sleep, so you feel alert quickly. Being jolted awake mid-cycle, especially during deep slow-wave sleep, causes grogginess (sleep inertia) that can last for hours.
Should I count the time it takes to fall asleep?
Yes — the average adult takes 10 to 20 minutes to fall asleep. This calculator defaults to a 15-minute fall-asleep buffer, which you can adjust; it makes the suggested times noticeably more accurate.