Find your perfect bedtime by sleep cycles.
Wake up refreshed — not groggy — by timing your sleep to end at the right point in a 90-minute cycle. Enter your desired wake time or bedtime and get 4–6 color-coded options.
Your sleep parameters
Recommended times
How it's calculated
Sleep cycles, not just hours
The Sleep Calculator finds the ideal bedtime or wake time by counting backwards or forwards in 90-minute sleep cycle increments. A 14-minute sleep onset latency is added to each option to account for the average time it takes a healthy adult to fall asleep. For example, to wake at 7:00 AM after 5 cycles (7.5 h) you should be in bed by 11:16 PM. Green options fall within the NSF-recommended range for your age group.
Every night your brain passes through alternating NREM (N1→N2→N3) and REM stages in roughly 90-minute blocks. Waking mid-cycle — especially during deep N3 — triggers sleep inertia, the groggy, disoriented feeling that can last 30–60 minutes. Waking at the end of a cycle, when you naturally surface to light N1 sleep, dramatically reduces this.
Wake time = Bedtime + 14 min onset + (Cycles × 90 min)
- 1Take your target time (wake or bed)—
- 2Add 14 min sleep onset latency (SOL)—
- 3Step back/forward in 90-min increments (3–6 cycles)—
- 4Color-code by NSF recommendation for your age—
Understand the terms
- Sleep cycle
- One complete pass through NREM (N1, N2, N3) and REM stages, lasting approximately 90 minutes. Adults complete 4–6 cycles per night.
- REM (Rapid Eye Movement)
- The stage associated with vivid dreaming, memory consolidation and emotional processing. REM periods lengthen toward morning.
- NREM (Non-REM)
- Three stages: N1 (light, transition), N2 (body temperature drops, heart rate slows), N3 (deep slow-wave — the most restorative stage).
- Circadian rhythm
- The internal ~24-hour biological clock that regulates sleepiness and alertness, driven by light exposure and core body temperature.
- Sleep debt
- The cumulative shortfall between sleep needed and sleep obtained. Cannot be fully recovered in one night and impairs cognition, metabolism and immunity.
Frequently asked questions — Sleep Calculator
How does the Sleep Calculator work?
How many hours of sleep do adults need?
What is a sleep cycle?
Why do I feel groggy even after 8 hours of sleep?
What is sleep debt and how do I calculate it?
📚 Learn more — official sources
Did this calculator help you?
74 people found these tools useful
📧 Enter your email to confirm — we don't publish it, we only get in touch if we want to use your idea.
About the Sleep Calculator
The Sleep Calculator uses the science of sleep cycles to help you time your rest for maximum refreshment. Rather than simply counting hours, it calculates bedtimes or wake times that land at the natural end of a 90-minute cycle — the point where your brain transitions back to light sleep and waking is easiest.
The 14-minute sleep onset figure comes from population studies of healthy adults (Walker, 2017; NSF data). Color coding is based on the National Sleep Foundation's age-specific guidelines: green options fall within the recommended range, yellow are slightly below or above, and red options represent fewer than 4 cycles or chronically insufficient sleep.