Sleep Calculator
Calculate the ideal wake-up or bedtime based on 90-minute sleep cycles. Select age group and customise your sleep-onset time for personalised results.
This free sleep calculator answers two everyday questions — what time should I go to sleep and what time to wake up — using your body's natural rhythm. Working as a sleep cycle calculator, a bedtime calculator and a wake up time calculator in one, it builds your night from 90 minute sleep cycles and your sleep-onset delay so you wake up refreshed instead of groggy.
How Does the Sleep Calculator Work?
The sleep calculator uses 90-minute sleep cycles to find the best time to wake up or go to bed. The key science: it is not just how long you sleep, but when in the sleep cycle you wake up. Waking mid-cycle — especially during deep sleep (N3) — causes sleep inertia: grogginess, headache and poor focus. Waking at the end of a cycle feels refreshing.
How Long Is a Sleep Cycle? Stages and Durations
One sleep cycle averages 90 minutes and passes through four stages:
- N1 (Light sleep): 1–7 minutes. Easily disrupted; muscle twitches are common.
- N2 (Intermediate sleep): 10–25 minutes. Heart rate slows, body temperature drops.
- N3 (Deep / slow-wave sleep): 20–40 minutes. Physical restoration; hardest to wake from. Decreases in later cycles.
- REM (Dreaming): 10–60 minutes. Brain consolidates memory. Duration increases in later cycles.
A full night typically includes 4–6 complete cycles. Waking at the end of N2 or the start of N1 feels most refreshing — that is what the recommended times target.
How Much Sleep Do You Need by Age?
| Age Group | Recommended Sleep | Cycles | Notes |
|---|---|---|---|
| School-age (6–13) | 9–11 hours | 6–7 | Growth hormone peaks during N3 sleep |
| Teen (14–17) | 8–10 hours | 5–6 | Biological clock shifts later — earlier bedtimes harder |
| Adult (18–64) | 7–9 hours | 5–6 | Most adults manage well on 5–6 cycles |
| Older adult (65+) | 7–8 hours | 4–5 | N3 decreases; sleep becomes lighter and shorter |
Why Wake-Up Timing Matters
Most alarms are set for a fixed clock time, not a cycle boundary. If you sleep 6.5 hours instead of 6 (4 complete cycles) you can end up waking mid-cycle, feeling worse than if you had slept less. The solution: plan sleep duration in 90-minute multiples and set your alarm accordingly. This calculator does exactly that.
What Is Sleep-Onset Delay?
Sleep-onset delay (sleep latency) is the time it takes you to actually fall asleep after lying down. The average for healthy adults is 10–20 minutes; stress, anxiety or screen use before bed can extend it to 30–60 minutes. The default in this tool is 14 minutes — adjust it to match your real experience for more accurate results.
Tips for Better Sleep
- Keep a consistent schedule: Go to bed and wake up at the same time every day, including weekends.
- Limit screens before bed: Blue light suppresses melatonin. Use night-mode or stop screens 30–60 minutes before sleep.
- Cool, dark room: Ideal sleeping temperature is 16–19 °C (60–67 °F). Darkness promotes melatonin production.
- Avoid caffeine after noon: Caffeine has a half-life of about 5–6 hours; an afternoon coffee can still affect sleep at midnight.
- Exercise regularly: Even moderate daily activity improves sleep quality, but avoid intense exercise within 2 hours of bedtime.
What Time Should I Go to Sleep?
If you keep asking what time should I go to sleep, work backwards from when you must wake up. Pick your alarm time, then count back in full 90-minute cycles and add your sleep-onset delay. For a 7:00 a.m. alarm, good bedtimes are roughly 9:46 p.m. (6 cycles) or 11:16 p.m. (5 cycles) — both let you finish a cycle just before waking. The "When should I go to bed?" mode does this automatically and lists every healthy bedtime option for your chosen wake-up time.
As a quick guide for common wake-up times:
| Wake-up time | Bedtime (6 cycles) | Bedtime (5 cycles) |
|---|---|---|
| 6:00 a.m. | 8:46 p.m. | 10:16 p.m. |
| 6:30 a.m. | 9:16 p.m. | 10:46 p.m. |
| 7:00 a.m. | 9:46 p.m. | 11:16 p.m. |
| 7:30 a.m. | 10:16 p.m. | 11:46 p.m. |
| 8:00 a.m. | 10:46 p.m. | 12:16 a.m. |
(Each row assumes a 14-minute sleep-onset delay; adjust the slider in the tool for your own value.)
Ideal Sleep Time and Sleep Duration
Used as an ideal sleep time calculator and sleep duration calculator, this tool turns a target number of hours into whole sleep cycles. Most adults feel best with 5–6 complete cycles, which is 7.5–9 hours of actual sleep — close to the 7–9 hours recommended by the National Sleep Foundation. Rather than aiming at a fixed clock duration, aim to complete whole cycles: finishing five full cycles (7.5 hours) usually beats an interrupted 8 hours that ends in the middle of deep sleep.
Naps and Sleep Inertia
The same 90-minute logic applies to naps. Waking from the deep stage of a nap leaves you groggier than before — the well-known "nap hangover". To avoid it, plan naps around either a short power nap or a full cycle:
- 10–20 minute power nap: stays in light sleep, boosts alertness without grogginess — ideal for an afternoon dip.
- ~90 minute full-cycle nap: completes one cycle including REM, useful for catching up on lost sleep without waking mid-cycle.
- Avoid 30–60 minute naps: long enough to enter deep sleep but too short to finish a cycle, so you wake during N3 and feel worse.
Enter your wake-up time or bedtime above to see the cycle-aligned options for your age group. See the frequently asked questions below for more examples.
Frequently Asked Questions About the Sleep Calculator
One sleep cycle averages 90 minutes: N1 (light), N2 (intermediate), N3 (deep/slow-wave) and REM (dreaming). A full night includes 4–6 cycles. Waking mid-cycle causes sleep inertia — grogginess and poor concentration. Waking at cycle end feels refreshing.
NSF guidelines: adults (18–64) 7–9 h; older adults (65+) 7–8 h; teens (14–17) 8–10 h; school-age (6–13) 9–11 h. Individual needs vary — if you feel rested on 6 hours consistently, that may be right for you.
Sleep latency varies from person to person. Healthy adults average 10–20 min; stress or sleep issues can push it to 30–60 min. The default is 14 min. Entering your real latency makes the calculated times more accurate.
Each age group needs different amounts of sleep. Selecting your group tells the calculator which cycle count is recommended, and the Best label updates to match.
Your alarm is probably waking you mid-cycle during deep N3 sleep, causing sleep inertia. Timing the alarm to the end of a cycle (light N1/N2) minimises this effect — which is exactly what this calculator computes.
Bedtime + sleep-onset delay = time asleep. Adding 90-minute cycle multiples gives ideal wake times. Example: bedtime 11 pm, onset 14 min → asleep 11:14 pm; 5 cycles (7.5 h) → wake 6:44 am.
Couldn't find the answer you were looking for?
Explore all our tools and get the fastest answer to your question.