Sleep Calculator
Enter a wake-up or bedtime and get ideal sleep or wake times aligned to 90-minute cycles, so you rise between cycles feeling rested.
Based on 90-minute sleep cycles. Individual cycles vary. This is for general guidance only.
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.
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
Get weekly tool tips & updates
New tools, power-user tips, and productivity hacks — delivered free every Friday.
No spam, ever. Unsubscribe with one click.
Why use Sleep Calculator?
- Based on widely-accepted clinical and scientific formulas
- No personal data stored — all calculations run locally
- Supports both metric and imperial units
- Results include actionable recommendations
Common use cases
- Calculate BMI before a doctor's appointment
- Estimate daily calorie needs for a weight loss goal
- Track ideal body weight range for a fitness plan
- Calculate pregnancy due date
- Find out your recommended water intake based on body weight
Related Health & Fitness
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
Free online stopwatch with lap times and countdown timer with alarm. Precise to milliseconds. No download required — works in any browser.
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.
TDEE Calculator
Calculate your Total Daily Energy Expenditure (TDEE) and get personalized calorie and macro targets for weight loss, maintenance, or muscle gain.
Body Fat Percentage Calculator
Calculate your body fat percentage using the US Navy or BMI method. Find your fat mass, lean mass, and fitness category. Free body fat estimator.
Explore all Health & Fitness.