Sleep Calculator
Options
Work out the best time to wake up or go to bed so you rise between sleep cycles, not in the middle of one. Based on 90-minute cycles — everything runs in your browser. Free on LK Forge — no sign-up.
Why sleep cycles matter
Sleep runs in cycles of roughly 90 minutes, moving through light sleep, deep sleep and REM before starting over. Deep sleep dominates the earlier cycles of the night, while REM stretches longer as morning approaches. If an alarm interrupts you in the middle of a deep-sleep stage, you tend to wake up groggy and disoriented — an effect called sleep inertia — even if you technically got enough total hours. Waking up at the boundary between two cycles, when your body is already in a lighter stage, generally feels far easier.
How this calculator works
It assumes about 15 minutes to fall asleep, then counts back or forward in whole 90-minute cycles from the time you enter. In "When to wake up" mode, give it a bedtime and it lists wake-up times that land at cycle boundaries. In "When to go to bed" mode, give it a wake-up time and it lists bedtimes that work backward the same way. For most adults, five to six full cycles — about 7.5 to 9 hours of sleep — covers the recommended range, so those options are marked Recommended.
Recommended sleep by age
| Age group | Recommended sleep |
|---|---|
| Newborn (0–3 mo) | 14–17 hours |
| Infant (4–11 mo) | 12–16 hours |
| Toddler (1–2 yr) | 11–14 hours |
| Preschool (3–5 yr) | 10–13 hours |
| School age (6–13 yr) | 9–12 hours |
| Teen (14–17 yr) | 8–10 hours |
| Adult (18–64 yr) | 7–9 hours |
| Older adult (65+ yr) | 7–8 hours |
Ranges from the National Sleep Foundation.
Frequently Asked Questions
How many hours of sleep do I need by age?
How does the calculator decide which wake-up times to recommend?
Why 15 minutes to fall asleep?
Is it better to wake up after 5 cycles or 6 cycles?
What if I can't hit one of the suggested times exactly?
Is 6 hours of sleep enough?
Sources
- Based on ~90-minute sleep cycles (Carskadon & Dement, sleep-cycle physiology). Cycle length varies roughly 70–120 minutes between people and across the night, so wake times are approximate.