Stax

…

Tools

Sleep Calculator

Find your ideal bedtime or wake-up time based on 90-minute sleep cycles, to help you wake up feeling less groggy. Free, instant results.

Last updated:

⚕️ Not medical advice. This is general information for healthy adults and does not replace a doctor, dietitian or other health professional. Speak to one before acting on a result, especially if you are pregnant, have a medical condition or are worried about a symptom.

Go to sleep at…
09:46 PM
Ideal — fully rested
6 cycles
9h sleep
11:16 PM
Good — recommended minimum
5 cycles
7.5h sleep
12:46 AM
Fair — may feel tired
4 cycles
6h sleep
02:16 AM
Poor — use only in emergencies
3 cycles
4.5h sleep

Based on 90-minute sleep cycles and ~14 minutes to fall asleep.

A full night of sleep is typically 5–6 complete cycles (7.5–9 hours).

Was this tool useful?

Use the tool above and you can rate it here.

Why sleep cycles matter more than total hours

Most sleep advice focuses on “get 8 hours.” But sleep quality depends just as much on when you wake up within your cycles. Waking mid-cycle — especially during deep N3 sleep — is more likely to cause sleep inertia, the heavy grogginess that can last 30–60 minutes even after a full night’s rest. Cycle length varies between people and from night to night, so 90 minutes is an average rather than a fixed rule. The CDC recommends adults get at least 7 hours of sleep per night, and timing your alarm to a cycle boundary may help you make the most of those hours.

How to use this calculator

  • I want to wake up at… — Enter your target wake time. The calculator shows you the ideal bedtimes for 3–6 complete cycles.
  • I’m going to sleep at… — Enter when you plan to sleep. The calculator shows when to set your alarm for a smooth wake-up.

Tips for better sleep

  • Keep a consistent sleep and wake schedule — even on weekends.
  • Avoid screens 30–60 minutes before bed; blue light suppresses melatonin.
  • Keep the room cool (16–19°C / 60–67°F) for deeper slow-wave sleep.
  • Avoid caffeine after 2 PM as it has a half-life of about 5–6 hours.

Who uses this sleep calculator

Shift workers — nurses, factory employees, airline crew — use it to plan sleep windows around irregular schedules. Students use it during exam season to ensure they hit at least 4–5 full cycles even when studying late. New parents use it to find the best nap windows given unpredictable baby schedules. Remote workers with early stand-up calls or late client meetings use it to reverse-calculate the right bedtime. Fitness enthusiasts track sleep alongside training because muscle repair and growth hormone release predominantly occur during deep N3 sleep.

Sleep debt and recovery

Chronic sleep deprivation accumulates as “sleep debt” — the difference between the sleep you need and the sleep you get. Research from the University of Pennsylvania shows that cognitive impairment from sleeping 6 hours a night for two weeks matches two full nights without sleep, yet most people adapt subjectively and don't feel impaired. Recovery requires several nights of full sleep, not just one “catch-up” night. Using this calculator consistently helps prevent debt accumulation rather than scramble to recover it.

Nap timing for alertness

Short naps (10–20 minutes) in the early afternoon (1–3 PM) boost alertness without causing sleep inertia — this is the “power nap” window. A 90-minute nap completes a full cycle and can include restorative deep sleep. Avoid napping after 4 PM as it shifts your sleep pressure curve and makes it harder to fall asleep at your target bedtime.

Frequently asked questions

How does the sleep calculator work?
It uses the 90-minute sleep cycle model. Each full cycle takes about 90 minutes and includes light sleep, deep sleep, and REM. Waking at the end of a cycle — rather than in the middle — may help some people feel less groggy, though cycle length varies between people and from night to night. The calculator also adds about 14 minutes for the average time it takes to fall asleep.
How many sleep cycles do I need?
Most adults need 5–6 complete cycles per night, which equals 7.5–9 hours of sleep. Four cycles (6 hours) falls below the 7-hour minimum recommended for adults, so treat it as an occasional fallback rather than a target. Six cycles (9 hours) is often recommended for teenagers and adults recovering from sleep debt.
What is the 14-minute fall-asleep buffer?
On average, it takes a healthy adult about 10–20 minutes to fall asleep after getting into bed. The calculator uses 14 minutes as a representative average. You can mentally adjust the times if you fall asleep faster or slower.
Why do I feel groggy even after 8 hours of sleep?
Grogginess (sleep inertia) is more likely when you wake from a deep sleep phase rather than lighter sleep, but cycle length varies between people and nights, so there is no guaranteed fix. You can try adjusting your alarm by 15–30 minutes earlier or later to see what feels better. If you stay tired despite getting enough sleep, it is worth speaking to a doctor.
What happens during a sleep cycle?
Each cycle progresses through: N1 (light sleep, roughly 5 min), N2 (stable sleep, roughly 25 min), N3 (deep/slow-wave sleep, roughly 30 min), and REM (rapid eye movement, roughly 30 min). These are typical figures and vary between people and across the night. Deep sleep tends to dominate early in the night; REM sleep tends to dominate later cycles.

Related tools