Sleep Calculator

Find the best bedtime or wake-up time using 90-minute sleep cycles, wake feeling refreshed instead of groggy. Free, private, runs entirely in your browser.

Nap guide, right now

Taking a nap? Choose a duration that avoids waking mid-cycle.

How to use the Sleep Calculator

This tool calculates your ideal bedtimes or wake-up times based on complete 90-minute sleep cycles. Choose the mode that matches your situation, either you know when you need to get up, or you know when you plan to go to bed, and the calculator does the rest.

  1. Choose your mode, select I want to wake up at to find the best bedtimes for a target wake-up time, or I plan to sleep at to find the best wake-up times for a planned bedtime.
  2. Enter your time, type your target time in the field, or click Now to use the current time instantly (ideal for planning a nap or a same-night bedtime).
  3. Read the schedule cards, up to 5 options are shown, ranked from most to least restorative. Cards marked Recommended cover 5–6 full cycles (7.5–9 hours of sleep).
  4. Pick your schedule, each card shows the exact time, the number of cycles, and the total sleep duration so you can match rest to your obligations.
  5. Check the Nap Guide, scroll down for today's power nap and full-cycle nap times, always calculated from the current moment.
  6. Copy your schedule, use the Copy schedule button to save a plain-text summary to your clipboard.

The science behind sleep cycles

A sleep cycle lasts approximately 90 minutes and consists of four distinct stages: two stages of light sleep (N1 and N2), one stage of deep slow-wave sleep (N3), and REM sleep. Each complete cycle ends with a brief return to light sleep, the ideal window to wake up. Waking during N3 deep sleep causes sleep inertia: the heavy, disoriented feeling that can impair cognitive performance for 30–60 minutes. The 90-minute figure is a well-established average across sleep research; individual cycles can range from 80 to 110 minutes.

The 14-minute fall-asleep offset

The calculator adds 14 minutes to every schedule. This reflects the average sleep latency, the time a healthy adult takes to fall asleep after lying down. If you fall asleep in under 5 minutes, it is likely a sign of significant sleep debt. If it consistently takes you more than 30 minutes, consider whether your schedule, environment, or stress levels may be affecting your sleep onset. The 14-minute default keeps results accurate for most adults without requiring a separate input. For personalized health context, you can also use the Calorie Calculator to estimate your daily energy needs alongside your sleep targets.

Sleep quality by cycle count

The National Sleep Foundation recommends 7–9 hours of sleep for adults aged 18–64, equivalent to 5 or 6 full cycles. Four cycles (6 hours) is the practical minimum for most people. Sleeping fewer than 4 cycles consistently is associated with fatigue, memory impairment, weakened immunity, and metabolic disruption. The calculator labels each schedule clearly: Optimal (5–6 cycles), Good (4 cycles), Short (3 cycles), and Very short (2 cycles), so you can make an informed choice when life imposes constraints.

Frequently asked questions

How does the Sleep Calculator work?

The Sleep Calculator uses two scientifically established values: a 90-minute sleep cycle and an average of 14 minutes to fall asleep. In "Wake up at" mode, it subtracts 14 minutes plus multiples of 90 minutes from your target wake time to give you the ideal bedtimes. In "Sleep at" mode, it adds 14 minutes and multiples of 90 minutes to your planned sleep time to show the best wake-up times. The goal is to wake up between cycles, when sleep is naturally lightest, to avoid grogginess.

What is a sleep cycle and why does it last 90 minutes?

A sleep cycle is one complete pass through all stages of sleep: light sleep (N1, N2), deep slow-wave sleep (N3), and REM (Rapid Eye Movement) sleep. Research consistently measures average cycle duration at 90 minutes in adults, though it can range from 80 to 110 minutes for a given person. Each cycle ends in a brief moment of lighter sleep, which is the safest window to wake up without feeling groggy. Waking mid-cycle, especially during deep slow-wave sleep, triggers sleep inertia, the heavy, disoriented feeling that can last 30–60 minutes. Sources: NIH, Sleep stages and cycles.

How many sleep cycles do I need each night?

Most adults need 5 to 6 complete cycles per night, which equals 7.5 to 9 hours of sleep. The National Sleep Foundation recommends 7–9 hours for adults aged 18–64 and 7–8 hours for those 65 and older. Four cycles (6 hours) is the practical minimum for most people, enough to sustain cognitive performance for a day but not for sustained recovery. Consistently sleeping fewer than 4 cycles is associated with increased risk of fatigue, impaired memory, weakened immunity, and metabolic disruption. See the National Sleep Foundation for detailed guidance.

Why does the calculator add 14 minutes?

The 14-minute offset represents the average time a healthy adult takes to fall asleep, known as sleep latency. Studies from the National Sleep Foundation and sleep laboratories put the normal range at 10–20 minutes. If you fall asleep unusually quickly (under 5 minutes), it may indicate chronic sleep deprivation. If it takes you consistently longer than 20–30 minutes, this may point to insomnia or an ill-suited sleep schedule. The 14-minute default gives accurate results for most adults without requiring extra input.

Can I use this calculator for a nap?

Yes. The Nap Guide section at the bottom of the tool shows two science-backed nap options timed from the current moment. A power nap of 20 minutes keeps you in light sleep (N1/N2), avoids deep slow-wave sleep entirely, and leaves you refreshed without grogginess. A full-cycle nap of 90 minutes completes one full sleep cycle including REM, which supports memory consolidation and creativity. Naps longer than 20 minutes but shorter than 90 minutes risk waking you in deep sleep, which is why those durations are not recommended.

What is the difference between 5 and 6 cycles?

Both 5 cycles (7.5 hours) and 6 cycles (9 hours) fall within the optimal range and are marked as Recommended. The main difference is that later cycles in the night contain progressively more REM sleep, which is critical for emotional regulation, learning, and memory. People who consistently sleep 9 hours report better mood stability and cognitive performance. However, 7.5 hours is sufficient for most adults with healthy sleep patterns. Your ideal duration depends on your age, activity level, and individual sleep quality.

Is my sleep data saved or sent anywhere?

No. The calculator runs entirely in your browser. The time you enter is never transmitted to any server, logged, or shared. Your last-used settings are saved only in your browser's session memory, which is automatically erased when you close the tab. Nothing persists across sessions. PureTools never collects or stores any health data. Your data is never used to train AI models or improve machine learning systems.

What if I wake up groggy even after a full cycle?

Waking at the right point in a cycle reduces grogginess but does not eliminate all causes. Common factors include chronic sleep debt (needing several nights of good sleep to recover), a sleep disorder such as sleep apnea, alcohol or medication affecting sleep architecture, or waking during the brief lighter-sleep transition being missed. If persistent tiredness does not resolve after several nights of 7.5–9 hours aligned to full cycles, consult a healthcare professional. For a broader look at your daily energy needs, see the Calorie Calculator for TDEE and nutrition context.