Menu

Sleep Calculator

Sleep Calculator: How It Works

Waking mid-way through deep sleep leaves you groggy for a long time; waking at the end of a cycle feels dramatically easier even on less total sleep. This calculator works backwards and forwards in 90-minute cycles so your alarm lands in the right place.

The architecture of a night

Sleep runs in cycles of roughly 90 minutes — commonly 80 to 110 — each moving through several stages:

StageShare of the nightRole
N1 — light transition≈ 5%Drifting off; easily woken
N2 — light sleep≈ 45%Memory consolidation; body cools
N3 — deep / slow-wave≈ 25%Physical repair, immune function, growth hormone
REM≈ 25%Dreaming, emotional processing, learning

The mix shifts across the night. Deep sleep concentrates in the first few cycles; REM periods lengthen toward morning. This is why a late night costs mostly REM while an interrupted early night costs mostly deep sleep — and why they feel different the next day.

Using cycles

Count backwards from when you must wake, in 90-minute blocks, then add about 15 minutes for falling asleep.

Wake at6 cycles (9 h)5 cycles (7.5 h)4 cycles (6 h)
06:0020:4522:1523:45
06:3021:1522:4500:15
07:0021:4523:1500:45
07:3022:1523:4501:15

Five cycles timed well often feels better than five and a half timed badly. That said, cycle length varies between people and between nights, so treat this as a good approximation rather than a precise schedule.

How much sleep is enough

AgeRecommended
Teenagers (14–17)8 – 10 hours
Adults (18–64)7 – 9 hours
Older adults (65+)7 – 8 hours

The proportion of people who genuinely function well on under six hours is very small — far smaller than the proportion who believe they do. Self-assessed alertness degrades alongside performance during sleep restriction, so people become poor judges of their own impairment.

Naps

What actually improves sleep quality

This page is general information, not medical advice. Persistent difficulty sleeping, loud snoring with pauses in breathing, or daytime sleepiness despite adequate time in bed are worth discussing with a doctor — they can indicate a treatable sleep disorder.

Frequently Asked Questions

Why do I feel worse after more sleep sometimes?
Most likely you woke during deep sleep rather than at the end of a cycle. Sleep inertia after waking from slow-wave sleep can last 30 minutes or more, and it feels worse than waking from a lighter stage on less total sleep.
Is everyone's sleep cycle 90 minutes?
It is an average. Individual cycles typically run 80 to 110 minutes and vary across the night, with earlier cycles often shorter. Use the calculator as a good approximation and adjust based on how you actually feel.
Can I catch up on lost sleep at the weekend?
Partially. Extra sleep helps recover some effects of short-term restriction, but it does not fully reverse them, and sleeping much later at weekends shifts your body clock — making Monday harder. A consistent wake time works better.
How long should a nap be?
Ten to twenty minutes for alertness without grogginess, or a full 90 minutes if you have time. The 30–60 minute range is the one to avoid, since you are likely to wake mid-way through deep sleep.
Does alcohol help me sleep?
It shortens the time to fall asleep and then makes the night worse. It suppresses REM sleep and causes fragmented waking in the second half of the night, which is why sleep after drinking feels unrefreshing.
How late can I drink coffee?
Caffeine has a half-life of roughly five to six hours, so a quarter of a 3 pm dose is still present at 3 am. Most guidance suggests stopping by early afternoon, and earlier if you are sensitive.

Related Health Tools

Browse all Health tools →