Free Sleep Calculator
Calculate the best time to sleep and wake up based on natural 90-minute sleep cycles. Stop waking up groggy — wake up at the right moment in your cycle.
How Sleep Cycles Work
Every night, your brain cycles through four distinct sleep stages roughly every 90 minutes. Stage N1 is the brief transition from wakefulness to sleep. N2 is baseline sleep where your heart rate slows and body temperature drops. N3 — deep sleep — is when your body does its most critical physical repair: releasing growth hormone, consolidating immune function, and clearing metabolic waste. REM sleep is where dreaming happens and your brain consolidates memories, processes emotions, and makes creative connections.
Here's the key insight: early cycles are dominated by deep (N3) sleep, while later cycles have progressively longer REM periods. This is why a full 7–9 hours isn't just about quantity — you need the full arc of cycles to get both physical restoration (N3) and mental restoration (REM). Cutting sleep short by even one cycle means losing disproportionately more REM sleep.
The reason you feel groggy when an alarm drags you out of bed is sleep inertia — your brain was in the middle of deep N3 sleep when the alarm fired. The neurons responsible for wakefulness take several minutes to fully activate when interrupted mid-cycle. By waking at the natural end of a 90-minute cycle, your brain is already in a lighter stage and the transition to full wakefulness is smooth and immediate.
How to Use This Calculator
- Bedtime Calculator: Enter the time you need to wake up — for a meeting, school, or work. The calculator shows the ideal times to fall asleep to complete 3–6 full cycles.
- Wake-Up Calculator: Know when you're going to bed? Enter that time and see exactly when to set your alarm for each number of sleep cycles.
- Nap Calculator: Hit the "Nap NOW" button or enter a start time to see your optimal nap alarm — power nap (20 min), short nap (60 min), or full cycle (90 min).
- Caffeine Cutoff: Enter your usual bedtime to find out when to stop drinking coffee or tea. Caffeine's 6-hour half-life means an afternoon cup is still disrupting your sleep at midnight.
Tips for Better Sleep
Recommended Sleep Duration by Age
Sleep needs change dramatically across a lifetime. Here are the National Sleep Foundation's recommendations:
| Age Group | Age Range | Recommended Hours | Typical Cycles |
|---|---|---|---|
| Newborn | 0–3 months | 14–17 hrs | 9–11 |
| Infant | 4–11 months | 12–15 hrs | 8–10 |
| Toddler | 1–2 years | 11–14 hrs | 7–9 |
| Preschool | 3–5 years | 10–13 hrs | 7–9 |
| School Age | 6–13 years | 9–11 hrs | 6–7 |
| Teen | 14–17 years | 8–10 hrs | 5–7 |
| Adult ⭐ | 18–64 years | 7–9 hrs | 5–6 |
| Older Adult | 65+ years | 7–8 hrs | 5–6 |
Frequently Asked Questions
-
Most adults need 7–9 hours per night — that's 5–6 complete 90-minute sleep cycles. Teenagers need 8–10 hours. Children need even more. Individual variation exists: some people are genuinely "short sleepers" who function optimally on 6 hours, while others need a full 9. If you feel alert and don't need an alarm to wake up, you're likely getting enough.
-
A sleep cycle is approximately 90 minutes and contains four stages: N1 (light sleep, 1–5 min), N2 (baseline sleep, 10–25 min), N3 (deep slow-wave sleep, 20–40 min), and REM sleep (10–25 min). Your body completes 4–6 of these cycles per night. N3 handles physical repair and immune function; REM handles memory consolidation, emotional processing, and creativity.
-
That groggy, disoriented feeling is called sleep inertia — it happens when you're woken mid-cycle during deep N3 sleep. Your brain's wake-promoting neurons haven't had a chance to activate. Sleep inertia can last 15–60 minutes and significantly impairs cognition. Waking at the end of a natural 90-minute cycle avoids this entirely — your brain is already in a lighter stage and transitions to wakefulness smoothly.
-
7.5 hours (5 cycles) is significantly better for cognitive function, memory, mood, and physical health. However, if you must wake mid-cycle, 6 hours (4 complete cycles) will feel better than 6.5 hours (which interrupts a cycle). The key principle: always wake at a cycle boundary. An incomplete cycle leaves you in the middle of a sleep stage and causes the grogginess you're trying to avoid.
-
14 minutes is the average sleep onset latency for healthy adults — it's the median from polysomnography sleep studies. In practice, it ranges from 5 minutes (very tired or sleep-deprived) to 30+ minutes (anxious, caffeinated, or lying awake with a busy mind). If you know you typically fall asleep in 5 minutes, subtract 9 minutes from the calculator's recommended bedtimes. If it takes you 25 minutes, add 11 minutes.
-
Absolutely — and you should. Sleep cycle timing is consistent every night. The best approach: pair this calculator with a fixed wake time. Decide when you must wake up, use this calculator to find your ideal bedtime, and stick to it daily. Consistency in wake time is the single most powerful tool for improving sleep quality — it anchors your circadian rhythm and makes falling asleep faster and more reliable.