Try
AdvertisementAd space

Sleep Calculator

Total sleep and 90-minute sleep cycles between bedtime and wake time.

Best times to go to bed

9:45 PM or 11:15 PM

to wake refreshed at 7:00 AM

6 cycles · 9h sleep

9:45 PM

5 cycles · 7.5h sleep

11:15 PM

4 cycles · 6h sleep

12:45 AM

3 cycles · 4.5h sleep

2:15 AM

Start winding down

9:15 PM

Set a bedtime reminder

Pick a recommended time and add it to your calendar.

Google Calendar

Calendar events repeat daily with a 30-minute wind-down alert. The browser reminder works while this tab stays open.

AI Breakdown & Smart Takeaway

Plain-English insight on your numbers

Get a personalized explanation of what these results mean — and how to improve them.

AdvertisementAd space

How the Sleep Calculator works

The Sleep Calculator determines how many complete 90-minute sleep cycles fit between your chosen bedtime and wake time, and shows your total sleep duration — helping anyone who wants to wake up refreshed rather than groggy optimize their nightly rest.

At its core, this calculator takes two inputs — the time you plan to fall asleep and the time you need to wake up — then divides the total available sleep window by 90 minutes, which is the scientifically established average duration of one complete human sleep cycle. The result tells you both how many full cycles you can complete and exactly how many hours and minutes of sleep that window contains. This matters because waking mid-cycle is the primary cause of sleep inertia, that heavy, disoriented feeling that can persist for 30–60 minutes after the alarm sounds.

A single 90-minute sleep cycle passes through four distinct stages: three progressively deeper stages of non-REM sleep (light, moderate, and slow-wave deep sleep) followed by one stage of REM sleep, during which most dreaming and memory consolidation occur. Early in the night, your cycles are weighted toward deep slow-wave sleep, which is critical for physical restoration and immune function. As the night progresses, REM stages grow longer, supporting emotional regulation and learning. Completing five or six full cycles — roughly 7.5 to 9 hours — is ideal for most adults, but even four complete cycles (6 hours) is far better than five and a half hours that cuts a cycle short.

A common mistake users make is confusing time in bed with time asleep. Most adults take 10–20 minutes to fall asleep after lying down, so the calculator results are most useful when you set your 'bedtime' to the realistic moment you expect to drift off, not when you crawl under the covers. If you know your personal sleep-onset latency is reliably 15 minutes, mentally shift your bedtime input forward by that amount. Factors like alcohol, caffeine consumed within 6 hours of bedtime, blue-light exposure, and stress can all extend sleep latency and fragment your cycles, reducing the number of complete cycles you actually achieve even within the same time window.

The most strategic way to use this calculator is to work backwards from a fixed wake time. Enter your required wake-up time and then identify the bedtime that lands on a clean cycle boundary — for example, if you must be up at 6:30 AM, ideal bedtimes would be 12:00 AM (for 5 cycles / 7.5 hours) or 10:30 PM (for 6 cycles / 9 hours). Avoid targets that land mid-cycle, such as 11:30 PM or 1:00 AM with a 6:30 AM alarm, as these leave you waking during deep or REM sleep. Using this approach consistently can dramatically improve morning alertness without changing total time in bed by more than a few minutes.

Formula

Each option = target ± (time to fall asleep + N × 90-min cycles)

Pro tips

  • Aim for 5–6 complete cycles (7.5–9 hours). Waking at the end of a cycle feels far more refreshing than mid-cycle.
  • Gentle wind-down: start dimming lights and putting screens away about 30–60 minutes before your target bedtime so melatonin can rise naturally.
  • Tap ‘Sleep now’ to instantly see the best times to set your alarm from this very moment.

Key terms

Sleep Cycle
— A recurring ~90-minute sequence of non-REM and REM sleep stages that the brain cycles through multiple times each night.
REM Sleep
— Rapid Eye Movement sleep, a stage characterized by vivid dreaming, memory consolidation, and emotional processing that lengthens with each successive cycle.
Slow-Wave Sleep (SWS)
— The deepest stage of non-REM sleep, dominant in early cycles, during which physical restoration, growth hormone release, and immune strengthening occur.
Sleep Inertia
— The grogginess and cognitive impairment experienced when woken abruptly during deep sleep, which can last from minutes to over an hour.
Sleep Latency
— The amount of time it takes an individual to transition from full wakefulness to sleep after lying down, typically 10–20 minutes in healthy adults.
Sleep Window
— The total elapsed time between bedtime and wake time, which this calculator divides into complete 90-minute cycles.

Frequently asked questions