Sleep Calculator
Find the best time to sleep or wake up based on 90-minute sleep cycles. Enter your wake-up time or sleep now — get ideal bedtimes and alarms.
About the Sleep Calculator
This sleep calculator works backwards from your alarm. Tell it when you need to wake up, and it lists the bedtimes that let you complete whole 90-minute sleep cycles — plus about 15 minutes to fall asleep. Or flip to "If I sleep now" mode and it suggests the alarm times that will catch you at the end of a cycle instead of the middle.
Sleep isn't uniform: your brain moves through light sleep, deep sleep and REM in cycles of roughly 90 minutes each. Waking mid-cycle — especially during deep sleep — causes that groggy, heavy-headed feeling called sleep inertia, even after plenty of hours. Waking at a cycle boundary, when sleep is naturally lightest, feels dramatically easier.
The results appear as cards showing each option's cycle count and total hours, with 5 and 6 cycles (7.5–9 hours) highlighted as the sweet spot recommended for most adults. Fewer cycles are shown too, for the nights when a full sleep simply isn't possible and you want the least-bad alarm time.
How to Use the Sleep Calculator
- 1Choose a mode: "I want to wake up at…" or "If I sleep now".
- 2For the first, enter your wake-up time; for the second, the current time is used automatically.
- 3Compare the suggested times — each card shows the cycles and hours of sleep.
- 4Pick a highlighted 5–6 cycle option when you can; it's the healthiest range for most adults.
Frequently Asked Questions
What is a 90-minute sleep cycle?
One pass through the stages of sleep — light sleep (N1/N2), deep slow-wave sleep (N3) and REM, where most vivid dreaming happens — takes about 90 minutes on average. A night's sleep is 4–6 of these cycles back to back. Early cycles are richer in deep sleep, later ones in REM, which is why cutting sleep short costs disproportionate REM.
Why do I feel groggy even after 8 hours of sleep?
You probably woke mid-cycle, during deep sleep. That triggers sleep inertia — a groggy, disoriented feeling that can linger for a while — regardless of total hours. Waking at a cycle boundary, when you're in light sleep, feels far easier. This calculator times your alarm to those boundaries.
How many sleep cycles do adults need?
Five to six cycles per night — about 7.5 to 9 hours — matches the 7–9 hours recommended for adults by sleep authorities such as the National Sleep Foundation. Four cycles (6 hours) is a workable occasional minimum; consistently sleeping less is linked to impaired attention, mood and long-term health.
Why does the calculator add 15 minutes to fall asleep?
Sleep cycles start when you're asleep, not when you get into bed. The average healthy adult takes 10–20 minutes to drift off (sleep latency), so the calculator budgets 15 minutes between bedtime and cycle one. If you know you fall asleep faster or slower, shift the suggested times accordingly.
Is 6 hours of sleep enough?
Six hours is exactly 4 cycles, so you can wake relatively fresh at the cycle boundary — but it's below the 7–9 hours adults need, and chronic 6-hour nights measurably degrade attention and memory even when you feel adapted. Treat 4-cycle nights as an occasional fallback, not a routine.
Are sleep cycles exactly 90 minutes for everyone?
No — 90 minutes is a population average; real cycles run roughly 80 to 110 minutes and lengthen slightly through the night. The calculator's suggestions are excellent starting points, but if a highlighted time still leaves you groggy, nudge your alarm 15–20 minutes either way and see what your own rhythm prefers.