How to use Sleep Calculator
The sleep calculator uses the science of 90-minute sleep cycles to suggest optimal bedtimes (given a desired wake time) or optimal wake times (given a planned bedtime). Waking at the end of a complete cycle — rather than mid-cycle — means you surface from lighter Stage 1/2 NREM sleep, not deep slow-wave sleep, so you feel alert rather than groggy. The calculator also adds a configurable "time to fall asleep" offset (default 14 minutes) so your suggested times account for the time it actually takes to drift off.
- Choose your mode: "I want to wake at…" to find when to go to bed,or "I plan to sleep at…" to find when to set your alarm.
- Enter your target time using the time picker (24-hour format).
- Adjust the "time to fall asleep" if your average differs from 14 minutes.
- Click Calculate Sleep Times to see options for 4, 5, and 6 complete cycles.
- Pick the option that fits your schedule — 5 cycles (7.5 hours) is recommended for most adults.
Your data never leaves your device — 100% private processing.
Why 90-minute cycles matter
A single sleep cycle progresses through four stages: N1 (light onset), N2 (light sleep, where most time is spent), N3 (deep slow-wave sleep) and REM (rapid eye movement, the dream phase). The full cycle averages 90 minutes, though earlier cycles run slightly shorter (~80 min) and later cycles longer (~100 min). If your alarm fires mid-cycle — especially during N3 — you experience "sleep inertia": the fog, disorientation and reduced cognitive performance that can last up to 90 minutes after waking. Completing cycles before waking dramatically reduces this effect.
How many cycles do you need?
Most adults need 7–9 hours of sleep per night, which corresponds to 5–6 complete cycles. Teenagers require 8–10 hours (5–7 cycles), and children more. Chronically getting only 4 cycles (6 hours) builds sleep debt that impairs memory consolidation, immune function, and cardiovascular health. Research by the National Sleep Foundation and AASM consistently associates fewer than 6 hours per night with elevated risk of obesity, diabetes and depression.
| Cycles | Approx. sleep time | Typical for |
|---|---|---|
| 4 | 6 hours | Short sleep — only occasionally |
| 5 | 7.5 hours | Most adults (recommended) |
| 6 | 9 hours | Teenagers, recovery sleep |
The 14-minute fall-asleep offset
Sleep onset latency — the time it takes a healthy adult to fall asleep — averages 10–20 minutes. Falling asleep in under 5 minutes is a sign of sleep deprivation; taking over 30 minutes may indicate insomnia. The default offset of 14 minutes is based on population averages. Adjust it in the calculator if you know your personal sleep latency from a sleep tracker or past observation. Factors that extend latency include screen light exposure, caffeine (half-life ~5 hours), anxiety and irregular schedules.
Worked examples
Wake at 6:30 AM, 5 cycles
Inputs: 5 × 90-min cycles + 14 min to fall asleep
Result: Bedtime ≈ 10:46 PM (7.5 hours sleep)
Wake at 6:30 AM, 6 cycles
Inputs: 6 × 90-min cycles + 14 min to fall asleep
Result: Bedtime ≈ 9:16 PM (9 hours sleep)
Glossary
- Sleep cycle
- A sequence of four sleep stages (N1, N2, N3, REM) taking roughly 90 minutes to complete.
- REM sleep
- Rapid Eye Movement sleep — the dream phase; critical for emotional regulation and memory consolidation.
- Sleep inertia
- Grogginess and cognitive impairment immediately after waking from deep sleep mid-cycle.
- Sleep latency
- The time it takes to transition from full wakefulness to sleep onset.
- Slow-wave sleep (N3)
- The deepest NREM stage; crucial for physical restoration and immune function.
Related reading
Frequently Asked Questions
Why use Sleep Calculator?
- Aligns suggested sleep times with 90-minute cycle boundaries to minimise morning grogginess
- Supports both directions: bedtime from a desired wake time, and wake time from a planned bedtime
- Configurable fall-asleep offset personalises results for people with atypical sleep latency
- Shows options for four, five and six complete cycles so you can match duration to your schedule
Common use cases
- Find the optimal bedtime to complete five full cycles before a 6:30 AM alarm
- Calculate the latest wake time after a late-night event while still finishing a complete cycle
- Determine whether sleeping 20 minutes earlier would allow an additional complete cycle
- Adjust the fall-asleep offset to match your sleep tracker's recorded latency for more precise results
- Plan recovery sleep timing after crossing multiple time zones to align with a new local schedule
Get weekly tool tips & updates
New tools, power-user tips, and productivity hacks — delivered free every Friday.
No spam, ever. Unsubscribe with one click.
Related Health & Fitness
Running Pace Calculator
Calculate running pace, distance, or finish time. Find your pace for 5K, 10K, half marathon, and marathon. Convert between km and miles.
Blood Alcohol Calculator
Estimate blood alcohol concentration (BAC) from drinks, weight, sex, and time using the Widmark formula. For education only. Free and private.
Daily Water Intake Calculator
Calculate how much water you should drink per day based on weight, activity, and climate. Get personalized daily hydration recommendations.
Online Stopwatch & Timer
Use a free online stopwatch with lap times and a countdown timer with alarm. Millisecond precision, instant start, and no download required.
Heart Rate Zone Calculator
Calculate your 5 heart rate training zones based on age and resting heart rate. Uses simple max HR and Karvonen methods. Free cardio zone calculator.
BMR Calculator
Calculate your Basal Metabolic Rate (BMR) using Mifflin-St Jeor, Harris-Benedict, or Katch-McArdle formula. Free online BMR calculator.
Explore all Health & Fitness.