What is a sleep cycle?
Sleep is not one flat state. Your brain moves through light sleep, deep sleep, and REM (dream) sleep in a repeating pattern that lasts about 90 minutes. A typical night contains 4 to 6 of these cycles. How you feel in the morning depends less on total hours and more on whether your alarm interrupts a cycle or lands between them.
How to use this sleep calculator
Choose your mode. If you know when you must wake up, enter that time and the calculator works backward in 90-minute steps to suggest ideal bedtimes (with 15 minutes added for falling asleep). If you know when you will go to bed, enter that time to see the best wake-up times for 4, 5, or 6 complete cycles.
Why 90-minute cycles matter
Waking mid-cycle — especially during deep sleep — triggers sleep inertia: that heavy, groggy feeling that coffee barely fixes. Waking between cycles, during light sleep, feels natural and alert. Two people can both sleep 6 hours, yet one feels great and the other feels wrecked, purely because of where the alarm landed.
Tips for better sleep
- Keep a schedule: go to bed and wake at the same times daily, even on weekends.
- Dim the lights: bright screens before bed delay melatonin and lengthen the time to fall asleep.
- Cool and dark: a cool, dark, quiet room deepens sleep cycles.
- Watch caffeine: avoid caffeine 6+ hours before bed; its half-life is longer than you think.
- 5–6 cycles: aim for 7.5–9 hours total, the range most adults need.
Ideal bedtime calculator: how the formula works
The formula: bedtime = alarm time − (cycles × 90 minutes) − 15 minutes of sleep latency. Sleep latency — the time it takes to drift off — averages 14–15 minutes, so the calculator adds it automatically.
Worked example — 6:00 AM alarm: 5 cycles (7.5 hours) → 6:00 AM minus 7:30 = 10:30 PM, minus 15 minutes = 10:15 PM bedtime. Need more rest? 6 cycles (9 hours) → 8:45 PM.
The goal is to wake at the end of a cycle, not in the middle of deep sleep — being yanked out of deep sleep causes sleep inertia, that heavy groggy feeling that coffee barely fixes.
What happens inside one 90-minute sleep cycle
Each cycle runs through four stages: N1 (light, ~5%) → N2 (deeper, ~45%) → N3 deep sleep (~25%) → REM dream sleep (~25%). Deep sleep dominates the first half of the night; REM gets longer toward dawn.
How many cycles do you need by age (National Sleep Foundation guidance):
- Adults 18–64: 7–9 hours = 5–6 cycles
- Teens 14–17: 8–10 hours = 6–7 cycles
- School children 6–13: 9–11 hours
- Older adults 65+: 7–8 hours = 5 cycles
Chronic short nights (4 cycles / 6 hours) build sleep debt you cannot fully repay on the weekend — consistency of bedtime beats one big catch-up night.
Deep Sleep Calculator — how much deep sleep will you get tonight?
Not all sleep is equal. Deep sleep (N3 slow-wave sleep) — the physically restorative stage — concentrates in the first half of the night, while REM stretches toward morning (picture a hypnogram: N3 stacked early, REM lengthening before dawn). Most adults need 1.5–2 hours of deep sleep per night, roughly 15–25% of total sleep — and it declines with age: older adults spend more time in light sleep, less in deep sleep.
Estimate rule: deep sleep ≈ 16 minutes per full 90-minute cycle (early cycles weighted), REM ≈ 20 minutes per cycle. Try it with your own bedtime:
Deep sleep by cycles (per-cycle model, after published sleep-lab tables):
| Full cycles | Total sleep | Deep sleep (N3) | REM sleep |
| 6 | 9 h | 1 h 37 m | 2 h 1 m |
| 5 | 7.5 h | 1 h 21 m | 1 h 41 m |
| 4 | 6 h | 1 h 4 m | 1 h 21 m |
| 3 | 4.5 h | 0 h 48 m | 1 h 0 m |
Five cycles (7.5 hours) is the sweet spot for most adults — it clears the 1.5-hour deep-sleep bar. Note the caffeine curfew: caffeine's 5-hour half-life means an afternoon coffee still blocks deep sleep at midnight. And the boring superpower beats every calculator: the same wake time daily (±30 min) anchors your circadian rhythm, so deep sleep arrives on schedule.
Sleep cycles, explained
What time should I go to bed if I wake up at 6am?
What time should you go to bed if you wake up at 6am? Count back in 90-minute sleep cycles plus 15 minutes to fall asleep: 5 cycles (7.5 hours) means a 10:15 PM bedtime; 6 cycles (9 hours) means 8:45 PM. Waking at the end of a cycle feels much easier.
What time should I wake up if I go to bed at 11pm?
If you go to bed at 11pm, add about 15 minutes to fall asleep (11:15 PM), then count forward in 90-minute cycles: 4 cycles → 5:15 AM, 5 cycles → 6:45 AM, 6 cycles → 8:15 AM. Five cycles (6:45 AM) is the sweet spot for most adults.
What is a sleep cycle?
A sleep cycle is the progression through the stages of sleep — light sleep, deep sleep, and REM — lasting about 90 minutes on average. A full night contains 4 to 6 complete cycles.
Why should I wake up between sleep cycles?
Waking in the middle of deep sleep causes grogginess and sleep inertia. Waking between cycles, during light sleep, leaves you feeling alert and refreshed even with the same total sleep time.
How many sleep cycles do I need?
Most adults need 5 to 6 cycles, or 7.5 to 9 hours. Five cycles (7.5 hours) is the sweet spot for many people; six cycles (9 hours) suits those who need more rest.
Does it take time to fall asleep?
Yes. The average person takes about 15 minutes to fall asleep. This calculator adds that buffer automatically so your bedtime accounts for drifting off.
Is 6 hours of sleep enough?
Six hours equals 4 full cycles, which is below the recommended 7-9 hours for most adults. It works occasionally, but chronic 6-hour nights impair focus, mood, and health.
Is this sleep calculator free?
Yes. It is 100% free to use with no signup required.
What is an ideal bedtime calculator?
An ideal bedtime calculator finds your best lights-out time by counting back from your alarm in 90-minute sleep cycles and adding about 15 minutes of sleep latency. The result is a bedtime that lets you wake between cycles, feeling refreshed.
Can I nap in 90-minute cycles?
Yes. A 20-minute power nap stays inside light sleep, and a full 90-minute nap completes exactly one cycle — both are safe. Avoid 40–60 minute naps, which end in the middle of deep sleep and leave you groggy.
What happens if I sleep 6 hours every night?
Six hours is only 4 sleep cycles — a full cycle short of the 5–6 most adults need. One short night is survivable, but repeated 6-hour nights build sleep debt: worse focus, mood, and health over time.
How much sleep do I need by age?
Adults need 7–9 hours (5–6 cycles), teens 8–10 hours (6–7 cycles), and school children 9–11 hours. These are National Sleep Foundation guidelines — individual needs vary.
How much deep sleep do I need per night?
Most adults need 1.5–2 hours of deep (N3 slow-wave) sleep per night — roughly 15–25% of total sleep. Deep sleep concentrates in the first half of the night, which is why the first 3–4 hours after falling asleep matter most, and it declines with age. Five full cycles (7.5 hours) deliver about 1h 21m of deep sleep; six cycles (9 hours) about 1h 37m.
Is it better to sleep for 2 hours or stay awake?
Sleep — even 2 hours beats zero. Two hours covers roughly one full 90-minute cycle plus falling-asleep time, so you wake at a cycle boundary instead of mid-deep-sleep. Rule of thumb: if 2+ full cycles fit before your alarm, sleep; if only ~90 minutes fit, take one full cycle; if under an hour remains, a 20-minute power nap beats a 45-minute nap that ends in deep sleep. Context: after 17 hours awake your impairment ≈ 0.05% blood-alcohol level, after 24 hours ≈ 0.10% (Dawson & Reid, 1997) — adenosine sleep pressure builds, microsleeps become likely, and you underestimate your own impairment, so don’t drive.
Is 6 hours of sleep better than 7.5 hours?
Usually 7.5 wins. Six hours is 4 full cycles; 7.5 hours is 5 — and waking at a cycle boundary matters more than raw hours. Someone waking refreshed after 6 hours simply landed on a boundary; the same person waking groggy after 8 probably woke mid-deep-sleep (sleep inertia). If you must choose, pick the bedtime that puts your alarm at the end of a 90-minute cycle.
Do daytime naps reset my sleep cycles?
A 20-minute nap stays in light sleep and refreshes without grogginess; longer naps dip into deep sleep and can leave you groggy plus make night sleep harder. Nap before mid-afternoon so it does not push your bedtime later.
Are 90-minute sleep cycles the same for everyone?
No — 90 minutes is the population average, but individual cycles run roughly 80 to 120 minutes and shift through the night. Use the calculator's times as starting targets, then adjust your bedtime by 15-minute steps until you consistently wake up clear-headed.
Why do I feel groggy after 8 hours but fine after 6?
You probably woke mid-cycle after 8 hours — deep in slow-wave sleep, where waking triggers heavy sleep inertia — but at a cycle boundary after 6. Total hours matter less than where in a cycle the alarm lands, which is exactly what this calculator optimises.
Can you catch up on sleep on weekends?
Only partly. Extra weekend sleep eases sleepiness, but controlled studies show it does not fully undo a week of short nights: in one trial, adults kept to 5 hours on weekdays and allowed unlimited weekend sleep still saw weight gain and reduced insulin sensitivity once short nights resumed. A long weekend lie-in also shifts your body clock (social jet lag), so Monday often starts in deficit again. The better rule: keep your weekend wake time within about an hour of your weekday one, and recover with a slightly earlier bedtime or a short afternoon nap instead of a long lie-in. Use the calculator above to hold that one fixed wake time all week. This calculator does not repay sleep debt, and persistent daytime sleepiness is worth raising with a clinician.
Is 10 hours of sleep too much?
For most healthy adults, yes, if it is regular and you still feel tired: the recommended range is 7-9 hours, and this calculator's own recommended band tops out at 6 cycles (9 hours). An occasional long night after a short week is normal, and 10 hours is inside the normal range for teenagers (8-10 hours), so the answer splits by age. If you regularly need 10 or more hours and still wake unrefreshed, the cause is often sleep quality rather than sleep length, and it is worth checking with a clinician. Use the calculator above to set a consistent 7.5-9-hour window instead of extending your sleep. This is general information, not a diagnosis.
How much sleep do athletes need?
Athletes under serious training load generally need 9-10 hours a night, above the 7-9 hours for most adults: deep sleep is where muscle repair and growth-hormone release concentrate, and the REM-heavy late cycles consolidate motor skills. Yet competitive athletes actually average only about 6.5-7 hours, so the gap itself is the recovery deficit. Use this calculator to turn the target into cycle boundaries: 9 hours is exactly 6 full 90-minute cycles, so set your wake time and count back 6 cycles plus 15 minutes to fall asleep; 10 hours flat lands mid-cycle, so if you want more than 9, target 7 cycles (10.5 hours) rather than 10. Recreational athletes sit at 8-9 hours (5-6 cycles). This is general information, not a training plan, and the calculator takes no training-load input.
How do I reset my sleep schedule after an all-nighter?
Do not pull another all-nighter and do not sleep in to catch up: both leave your body clock where it was. Hold one fixed wake time (your normal one) the next morning, get bright light soon after waking, keep any nap short (20 minutes, or one full 90-minute cycle) and before mid-afternoon, stop caffeine by midday, and move your bedtime earlier in 15-30-minute steps: the clock shifts roughly an hour a day, so a few hours of drift takes several days, not one night. Use the calculator above: enter your fixed wake time and it counts back in 90-minute cycles to a recovery-night bedtime that lands on a cycle boundary. Do not drive drowsy after an all-nighter: impairment after about 24 hours awake is compared to legal intoxication. This is general information, not medical advice.
What time should I go to bed if I wake up at 5am?
For a 5:00 AM alarm, count back in 90-minute sleep cycles plus 15 minutes to fall asleep: 5 cycles (7.5 hours) means a 9:15 PM bedtime; 6 cycles (9 hours) means 7:45 PM. The 5-cycle option is the sweet spot for most adults; the 6-cycle option suits early risers who train or start physical work before sunrise. Avoid the 4-cycle option (10:45 PM, 6 hours) regularly — it builds sleep debt fast on an early alarm.
What time should I go to bed if I wake up at 7am?
For a 7:00 AM alarm, count back in 90-minute sleep cycles plus 15 minutes to fall asleep: 5 cycles (7.5 hours) means an 11:15 PM bedtime; 6 cycles (9 hours) means 9:45 PM. Five cycles is the recommended target for most adults aged 18-60. A midnight bedtime (12:00 AM) gives 6 hours 46 minutes, which lands mid-cycle and causes grogginess — use 11:15 PM instead.
What is the 10-3-2-1-0 sleep rule?
The 10-3-2-1-0 rule is a countdown you run back from your bedtime: no more caffeine 10 hours before bed, no food or alcohol 3 hours before bed, no more work 2 hours before bed, no screens 1 hour before bed, and 0 snooze presses in the morning. It is a rule of thumb, not a tested protocol: no study tests the whole rule as one package, and the caffeine step has the best support (a 2023 review found caffeine cut total sleep by around 45 minutes on average). The rule only works once you know your bedtime, so find that first with the calculator above: enter your wake time and it counts back 5-6 cycles plus 15 minutes to fall asleep. Worked example, bedtime 11:00pm: caffeine cutoff 1:00pm, last food or alcohol 8:00pm, work ends 9:00pm, screens off 10:00pm. If you wake at 6am, the calculator's 5-cycle bedtime is about 10:15pm (asleep 10:30pm), so every cutoff shifts 45 minutes earlier. This is general information, not medical advice.
What time should I go to bed after a night shift?
Go to bed as soon as you get home. Daylight sleep already runs short, so protect the morning window: US occupational-health guidance (NIOSH) says the more sleep you get before 2pm, the better rested you will be. Use the calculator above in reverse of the usual direction: enter the time you MUST wake and it counts back in 90-minute cycles. Worked example, must wake 4:00pm: 5 cycles (7.5 hours) means in bed by 8:00am (asleep 8:15am), and 6 cycles (9 hours) means in bed by 6:30am (asleep 6:45am). Keep the same 4-5 hour core block every day, including days off (anchor sleep), rather than flipping fully to days and back: a full flip every week keeps you permanently jet-lagged. Sleep in a dark, cool, quiet room, wear sunglasses on the commute home, and if a full block will not fit, add a 20-minute or one-90-minute-cycle nap before your next shift. This is general information, not medical advice, and the calculator cannot model shift-work disorder: if you regularly cannot sleep, or feel unsafe driving after a shift, see a doctor.
How do I plan sleep during Ramadan with the sleep cycle calculator?
Split sleep into two blocks that both end at cycle boundaries. Worked example (adjust to your local prayer times): after Taraweeh, in bed by 10:45 PM — asleep 11:00 PM — and wake for Suhoor at 3:30 AM: 3 full cycles, 4.5 hours asleep. After Fajr, sleep again from about 5:00 AM to 6:30 AM: 1 full cycle, 1.5 hours. That totals 6 hours (4 cycles); add a 20-minute qailulah (midday nap) — it stays inside light sleep, so it refreshes without grogginess — to reach about 6 hours 20 minutes. Keep the same two blocks every day, including weekends, and run each block through the calculator above by entering its wake time. This is general information, not medical advice.
What time should I go to bed if I wake up at 4am?
For a 4:00 AM alarm, count back in 90-minute sleep cycles plus 15 minutes to fall asleep: 5 cycles (7.5 hours) means an 8:15 PM bedtime; 6 cycles (9 hours) means 6:45 PM. The 5-cycle option is the target for most adults; the 6-cycle option suits anyone catching up on sleep debt or training hard. A 9:45 PM bedtime gives 4 cycles (6 hours) — fine for one short night, but below the 7–9 hours most adults need. If 8:15 PM feels impossibly early, move your bedtime earlier in 15-minute steps over several nights instead of jumping straight there.
What time should I wake up if I go to bed at 10pm?
If you go to bed at 10pm, add about 15 minutes to fall asleep (10:15 PM), then count forward in 90-minute cycles: 4 cycles → 4:15 AM, 5 cycles → 5:45 AM, 6 cycles → 7:15 AM. Five cycles (5:45 AM) is the sweet spot for most adults; six cycles (7:15 AM) suits those who need a full 9 hours. Four cycles (4:15 AM) is a short night — use it only when you must be up very early.
What time should I go to bed if I wake up at 8am?
For an 8:00 AM alarm, count back in 90-minute sleep cycles plus 15 minutes to fall asleep: 5 cycles (7.5 hours) means a 12:15 AM bedtime; 6 cycles (9 hours) means 10:45 PM. The 5-cycle option is the target for most adults; the 6-cycle option suits anyone catching up on sleep or training hard. A 1:45 AM bedtime gives 4 cycles (6 hours) — fine for one short night, but below the 7–9 hours most adults need.
Is 5 hours of sleep enough?
No, not for most adults. The American Academy of Sleep Medicine and the Sleep Research Society recommend 7 or more hours a night, and regularly sleeping 5 hours builds about 14 hours of sleep debt a week. Five hours is also awkward in cycles — 3.3 cycles of 90 minutes — so the alarm usually catches you mid-cycle, in deep sleep. On a short night, 4.5 hours (3 full cycles) or 6 hours (4 full cycles) usually feels better, because both end at a cycle boundary. If you regularly sleep 5 hours and feel tired in the day, talk to a doctor.
How sleep cycle timing works
Sleep runs in repeating cycles of roughly 90 minutes, moving from light sleep through deep sleep into REM (dream) sleep and back. Waking in the middle of deep sleep triggers sleep inertia — that heavy grogginess — while waking at the end of a cycle, during light sleep, feels far fresher. The calculator simply counts backwards from your alarm in 90-minute blocks.
The method, with a worked example
Bedtime = wake time − (cycles × 90 minutes + ~15 minutes to fall asleep). For a 6:00 AM alarm with 5 full cycles: 5 × 90 = 450 minutes + 15 = 465 minutes = 7 hours 45 minutes → lights out at 10:15 PM. Prefer 6 cycles (9 hours in bed)? Aim for 8:45 PM. The ~15-minute sleep latency buffer matters — without it you will set the alarm for cycles you never actually complete.
Two wake times people search for most are 5 AM and 7 AM. For a 5:00 AM alarm, 5 cycles means lights out at 9:15 PM (7.5 hours) and 6 cycles at 7:45 PM (9 hours). For a 7:00 AM alarm, 5 cycles means 11:15 PM and 6 cycles 9:45 PM. All times include the 15-minute fall-asleep buffer. Use the calculator above for any other wake time.
Practical tips and limits
Consistency beats perfect timing: the same bedtime daily trains your body clock better than any calculator. Cut caffeine 6+ hours before bed and dim screens in the last hour — light suppresses melatonin and stretches sleep latency. And be honest about the limits: real cycles vary between 80 and 120 minutes per person and lengthen/shorten through the night, so treat the suggested times as targets to fine-tune, not medical precision.