🌙 Sleep Calculator

Find your ideal bedtime or wake-up time using sleep cycle science

I want to wake up at

07
:
00

Use ▲ ▼ to adjust time

😴 Sleep Latency 15 min
5 min30 min

Time taken to fall asleep after lying down

🔄 Cycle Length 90 min
70 min120 min

Average sleep cycle duration (default 90 min)

💤 Nap Calculator

Not all naps are equal — choose the right duration

20 min
Power Nap
Boosts alertness & focus without sleep inertia
⚠️
30–60 min
Avoid This Zone
Enters deep sleep — causes grogginess on waking
🌙
90 min
Full Cycle Nap
Complete cycle with REM — best for full recovery

What Are Sleep Cycles?

Sleep is not a single continuous state — your brain cycles through distinct stages throughout the night. A single sleep cycle lasts approximately 90 minutes and consists of four stages: three non-REM stages (light sleep → deep sleep → deeper sleep) followed by REM (Rapid Eye Movement) sleep.

Most adults need 4–6 complete cycles per night, which translates to roughly 6–9 hours of sleep. Waking up at the end of a complete cycle — rather than in the middle — is what makes the difference between feeling groggy and feeling refreshed.

🔵 Light Sleep (N1 + N2)

Entry point into sleep. Heart rate slows, body temperature drops. Easily awakened. Lasts ~25 min per cycle.

🌑 Deep Sleep (N3)

Most restorative stage. Tissue repair, immune function, and memory consolidation happen here. Hardest to wake from.

💜 REM Sleep

Dreaming, emotional processing, and creative thinking. REM periods get longer as the night progresses.

How Does This Sleep Calculator Work?

This calculator uses a simple but scientifically grounded formula to give you bedtime or wake-up recommendations:

Sleep Time = (Cycle Length × Number of Cycles) + Sleep Latency
  • Cycle Length — defaults to 90 minutes, adjustable between 70–120 min
  • Sleep Latency — the average time to fall asleep (default 15 min, adjustable 5–30 min)
  • Number of Cycles — the calculator shows results for 3, 4, 5, and 6 cycles
  • Wake-up mode — you enter when you need to wake up; the calculator works backwards to show ideal bedtimes
  • Sleep-now mode — you enter your planned sleep time; the calculator shows ideal wake-up times

Tips for Better Sleep Quality

  • Keep a consistent sleep and wake time — even on weekends
  • Avoid screens at least 30 minutes before bed (blue light delays melatonin)
  • Keep your bedroom cool — 16–19°C (60–67°F) is ideal for sleep
  • Avoid caffeine after 2 PM (it has a 6-hour half-life)
  • Use blackout curtains or a sleep mask to block light
  • Wind down with a consistent pre-sleep routine (reading, light stretching)
  • Avoid heavy meals within 2–3 hours of bedtime
  • Exercise regularly — but not within 2 hours of sleep
  • Limit alcohol — it disrupts REM sleep even in small amounts
  • If you can't sleep in 20 minutes, get up and do something calm

Frequently Asked Questions

Is 6 hours of sleep enough?

6 hours (4 sleep cycles) is generally considered the minimum for most adults. While some people claim to function on less, research consistently shows that chronic sleep deprivation below 7 hours is linked to impaired cognitive function, weakened immunity, and increased disease risk. Aim for 7.5–9 hours when possible.

Why does the calculator add 15 minutes?

The 15-minute "sleep latency" accounts for the average time most people take to fall asleep after lying down. If you fall asleep faster or slower, you can adjust this using the Sleep Latency slider. Some people with insomnia may have a latency of 30+ minutes.

What happens if I wake up mid-cycle?

Waking in the middle of deep sleep causes "sleep inertia" — the groggy, disoriented feeling that can last 30–60 minutes. This is why timing your alarm to the end of a sleep cycle makes such a noticeable difference in how refreshed you feel, even if the total sleep hours are similar.

Are sleep cycles exactly 90 minutes long?

No — sleep cycles vary between people and throughout the night. Early cycles tend to be shorter (70–90 min) and contain more deep sleep; later cycles get longer (90–110 min) and contain more REM sleep. The 90-minute default is the well-established average. Use the cycle slider to personalise it if you know your pattern.

Is a 20-minute nap really better than a 30-minute one?

Yes. A 20-minute power nap keeps you in light (N1/N2) sleep, so you wake up feeling alert. At around 25–30 minutes you begin entering deep (N3) sleep. If your alarm cuts this short, you wake during deep sleep and feel significantly more groggy than before you napped. Either keep it to 20 minutes or commit to a full 90-minute cycle.

How much sleep do children and teenagers need?

Sleep needs decrease with age: newborns need 14–17 hours, school-age children 9–12 hours, and teenagers 8–10 hours. The American Academy of Sleep Medicine recommends adults get 7 or more hours. This calculator is optimised for adults — children's cycle lengths and latencies differ.